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.
MBean for statistics of all destinations.
<AgentID>
.Stats.Destinations.All]
Operation Name | Return Type | Notes |
---|---|---|
getStats(nameOrExpression) |
|
Search for statistics using a full name or a regular expression.
Use <blank> as argument to get all known destinations. |
getStatsByEventsReceived(nameOrExpression, boolean ascending) |
|
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) |
|
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) |
|
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) |
|
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) |
|
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) |
|
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) |
|
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) |
|
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. |