Destination Metrics

The messages you receive when you subscribe to the topic mq.metrics.destination.queue.monitored_destination_name have the type
property mq.metrics.destination.queue.monitored_destination_name set in the message header. The messages you receive when you
subscribe to the topic mq.metrics.destination.topic.monitored_destination_name have the type property mq.metrics.destination.topic.monitored_destination_name set in the
message header. Either of these messages has the data listed in Table 4–5 in the message body.

Table 4–5 Data in the
Body of a Destination Metrics Message

Metric Name

Value Type

Description

numActiveConsumers

long

Current number of active consumers

avgNumActiveConsumers

long

Average number of active consumers since the broker was last started

peakNumActiveConsumers

long

Peak number of active consumers since the broker was last started

numBackupConsumers

long

Current number of backup consumers (applies only to queues)

avgNumBackupConsumers

long

Average number of backup consumers since the broker was last started
(applies only to queues)

peakNumBackupConsumers

long

Peak number of backup consumers since the broker was last started (applies
only to queues)

numMsgsIn

long

Number of JMS messages that have flowed into this destination since
the broker was last started

numMsgsOut

long

Number of JMS messages that have flowed out of this destination since
the broker was last started

numMsgs

long

Number of JMS messages currently stored in destination memory and persistent
store

avgNumMsgs

long

Average number of JMS messages stored in destination memory and persistent
store since the broker was last started

peakNumMsgs

long

Peak number of JMS messages stored in destination memory and persistent
store since the broker was last started

msgBytesIn

long

Number of JMS message bytes that have flowed into this destination since
the broker was last started

msgBytesOut

long

Number of JMS message bytes that have flowed out of this destination
since the broker was last started

totalMsgBytes

long

Current number of JMS message bytes stored in destination memory and
persistent store

avgTotalMsgBytes

long

Average number of JMS message bytes stored in destination memory and
persistent store since the broker was last started

peakTotalMsgBytes

long

Peak number of JMS message bytes stored in destination memory and persistent
store since the broker was last started

peakMsgBytes

long

Peak number of JMS message bytes in a single message since the broker
was last started

diskReserved

long

Disk space (in bytes) used by all message records (active and free)
in the destination file-based store