Apache ActiveMQ Monitoring

Overview

Apache ActiveMQ is the most popular and powerful open-source messaging server. ActiveMQ apart from being powerful and open source, it is the most light weight messaging server compared to other messaging servers like JBossMQ and Tibco EMS.
In this document, we have described about Cavisson monitoring support to Active ApacheMQ service provider.

Monitoring Capabilities

Broker Stats

MetricTypeDescription
Active MQ Total ConnectionsSampleTotal number of connections serviced since this Broker was started.
Active MQ Current ConnectionsSampleCurrent number of active connections on this Broker.
Active MQ Enqueue/SecRate (cumToPS)Number of messages that have been sent to the broker per second.
Active MQ Dequeue/SecRate (cumToPS)Number of messages that have been acknowledged on the broker per second.
Active MQ ConsumersSampleNumber of consumers subscribed to destinations on the broker.
Active MQ ProducersSampleNumber of producers active on destinations on the broker.
Active MQ MessagesSampleNumber of unacknowledged messages on the broker.
Active MQ Store Limit (MB)SampleDisk space (in megabytes) used for persistent messages before producers are blocked.
Active MQ Store Usage (PCT)SamplePercentage of the disk space in use.
Active MQ Temp Limit (MB)SampleDisk space (in megabytes) used for non-persistent messages and temporary data before producers are blocked.
Active MQ Temp Usage (PCT)SamplePercentage of available disk space in use.
Active MQ Memory Limit (MB)SampleThe memory (in megabytes) used for holding undelivered messages before paging to temporary storage.
Active MQ Memory Usage (PCT)SamplePercentage of available memory in use.
Active MQ JobScheduler Store Limit (KB)SampleDisk limit (in Kilobytes) used for scheduled messages before producers are blocked.
Active MQ JobScheduler Store Usage (PCT)SamplePercent of job store limit used.
Active MQ Average Message Size (KB)SampleAverage Message Size on destination in Kilobytes.
Active MQ Max Message Size (KB)SampleMaximum Message Size on destination in Kilobytes.
Active MQ Min Message Size (KB)SampleMinimum Message Size on destination in Kilobytes.

Destination (Topic or Queue) Stats

MetricTypeDescription
Active MQ Queue SizeSampleThe number of messages in the destination that are waiting to be consumed, potentially dispatched but unacknowledged.
Active MQ Enqueue/SecRate (cumToPS)Number of messages that have been sent to the destination per second.
Active MQ Dequeue/SecRate (cumToPS)Number of messages that have been acknowledged from the destination per second.
Active MQ ConsumersSampleNumber of consumers subscribed to the destination.
Active MQ ProducersSampleThe number of producers connected to the destination.
Active MQ Forward messagesSampleNumber of messages that have been forwarded (to a networked broker) from the destination.
Active MQ Average Message Size (KB)SampleAverage Message Size on destination in Kilobytes.
Active MQ Max Message Size (KB)SampleMaximum Message Size on destination in Kilobytes.
Active MQ Min Message Size (KB)SampleMinimum Message Size on destination in Kilobytes.
Active MQ Blocked/SecRate (cumToPS)Number of messages blocked per second for flow control.
Active MQ Expired/SecRate (cumToPS)The number of messages that have expired in the destination per second.
Active MQ Dispatched/SecRate (cumToPS)The number of messages that have been delivered to consumers per second, but not necessarily acknowledged by the consumer.
Active MQ InFlight MessagesSampleThe number of dispatched to but not acknowledged by the consumers.
Active MQ Average Enqueue Time (ms)SampleThe average amount of time (in milliseconds), that messages sat in the destination before being consumed.
Active MQ Max Enqueue Time (ms)SampleThe longest amount of time (in milliseconds), that a message sat in the destination before being consumed.
Active MQ Min Enqueue Time (ms)SampleThe shortest amount of time (in milliseconds), that a message sat in the destination before being consumed.
Active MQ Average Blocked Time (ms)SampleAverage amount of time (in milliseconds), that a message is blocked for flow control.
Active MQ Total Blocked Time (Sec)SampleTotal amount of time (in seconds), that a message is blocked for flow control.
Active MQ Memory Usage Portion (MB)SampleThe portion of the broker’s memory limit (in megabytes) used by the destination.
Active MQ Memory Limit (MB)SampleThe memory (in megabytes) used for holding undelivered messages before paging to temporary storage.
Active MQ Memory Usage (PCT)SampleThe percentage of the memory used.