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.
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.
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.
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. |