Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Appendix A: In Memory Performance Statistics Specifications

You can use different MBeans to gather statistics for different aggregators: destinations, events, engine, and thread pool.

## All Destinations Statistics

Use the`[com.tibco.be.Agent.`<AgentID>`.Stats.Destinations.All]` MBean for statistics of all destinations.

Operation Name | Return Type | Notes
--- | --- | ---
getStats(nameOrExpression) | String name long eventsReceivedPerSecond String lastEventReceived long totalEventsReceived long totalEventsSent | Search for statistics using a full name or a regular expression. Use <blank> as argument to get all known destinations.
getStatsByEventsReceived(nameOrExpression, boolean ascending) | String name long eventsReceivedPerSecond String lastEventReceived long totalEventsReceived long totalEventsSent | Search for statistics using a full name or a regular expression sorted by events received (ascending or descending). Use <blank> as argument to get all known destinations.
getStatsByEventsSent(nameOrExpression, boolean ascending) | String name long eventsReceivedPerSecond String lastEventReceived long totalEventsReceived long totalEventsSent | Search for statistics using a full name or a regular expression sorted by events sent (ascending or descending). Use <blank> as argument to get all known destinations.

## Destination Statistics

Use the `[com.tibco.be.Agent.<AgentID>.Stats.Destinations.<Destination Name>]` MBean for statistics of the specified destination.

Operation Name | Return Type | Notes
--- | --- | ---
getEventsReceivedPerSecond | long | The running events received per second (will be revised every time an event is received). If no event is received, then it shows the last computed value.
getLastEventReceived | long | Shows the time when the last "events received per second" was calculated. Effectively, it shows when the last event was received on a destination.
getTotalEventsReceived | long | The total number of events received after the destination became active.
getTotalEventsSent | long | The total number of events sent after the destination became active.

## Engine Statistics

Use the `[com.tibco.be.Agent.<AgentID>.Stats.Engine]` MBean for statistics of the engine.

Operation Name | Return Type | Notes
--- | --- | ---
getTotalRTCs | long | Total number of RTCs.
getAverageRTCTime | double | The average RTC time (in msecs).
getRulePerformance Stats(nameOrExpression) | String uriOrSignature long invocationCount double averageProcessingTime double averageConditionProcessingTime | Search for rule statistics using a full name or a regular expression. Use <blank> as argument to get all known rules/rule functions.
getRulePerformance StatsBy-ProcessingTime(nameOrExpression, ascending) | String uriOrSignature long invocationCount double averageProcessingTime double averageConditionProcessingTime | Search for statistics using a full name or a regular expression sorted by processing time (ascending or descending). Use <blank> as argument to get all known rules/rule functions.
getRulePerformance StatsByCondition ProcessingTime(nameOrExpression, ascending) | String uriOrSignature long invocationCount double averageProcessingTime double averageConditionProcessingTime | Search for statistics using a full name or a regular expression sorted by condition processing time (ascending or descending). Use <blank> as argument to get all known rules/rule functions.

## Event Statistics

Use the `[com.tibco.be.Agent.<AgentID>.Stats.Event]` MBean for statistics of the event.

Operation Name | Return Type | Notes
--- | --- | ---
getAverageEventProcessingTime | double | The average processing time per event.
getEventsPerSecond | long | The running events received per second (will be revised every time an event is processed). If no event is processed, then shows the last computed value.
getLastEventProcessedTime | long | Shows the time when the last "events per second" was calculated. Effectively, it shows when the last event was processed
getTimerEventsFired | double | The number of timer events fired.
getTotalEventsReceived | long | The total number of events processed (includes timer events).

## Scorecard Based Statistics

Use the `[com.tibco.be.Agent.<AgentID>.Stats.UserDefinedStats]` deployer MBean for scorecard based statistics.

Operation Name | Return Type | Notes
--- | --- | ---
register (namepattern) | Integer (count of registered ScoreCards) | The MBean finds all the scorecards matching the name pattern and wraps them with a dynamic MBean. Each score card MBean is registered as `[com.tibco.be.Agent.<AgentID>.Stats.scorecard.<ScoreCardName>]`].
unregister (namepattern) | Integer (count of unregistered ScoreCards) |

## All Thread Pool or Job Queue Statistics

Use the `[com.tibco.be.Agent.<AgentID>.Stats.tpool.All]` MBean for statistics of all thread pool.

Operation Name | Return Type | Notes
--- | --- | ---
getStats(nameOrExpression) | String name long activeThreads long maximumThrea long queueCapacity long queueSize | Search for statistics using a full name or a regular expression. Use <blank> as argument to get all known thread pools.
getStatsByActiveThread(nameOrExpression, boolean ascending) | String name long activeThreads long maximumThreads long queueCapacity long queueSize | Search for statistics using a full name or a regular expression sorted by active thread count(ascending or descending). Use <blank> as argument to get all known thread pools.
getStatsByQueueSize(nameOrExpression, boolean ascending) | String name long activeThreads long maximumThread long queueCapacity long queueSize | Search for statistics using a full name or a regular expression sorted by queue size(ascending or descending). Use <blank> as argument to get all known thread pools.

## Thread Pool Statistics

Use the `[com.tibco.be.Agent.<AgentID>.Stats.tpool_jqueue.<Thread Pool Name>]` MBean for statistics of the specified thread pool.

Operation Name | Return Type | Notes
--- | --- | ---
getActiveThreads | long | The total number of active threads.
getMaximumThreads | long | The maximum number of threads in the thread pool.
getQueueCapacity | long | The capacity of the job queue associated with the thread pool.
getQueueSize | long | The number of jobs in the queue associated with the thread pool.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.