Message Service for RocketMQ
Updated at:2025-11-03
Message Service for RocketMQ includes 5 types of monitor objects: Broker Node Monitor (Broker), Consumer Group Monitor (ConsumerGroup), Topic Monitor (Topic), Virtual Machine Monitor (Node), and Cluster Monitor (Cluster). The list of monitoring metrics for each type is as follows:
Broker Node Monitor (Broker)
| Metric name (English) | Metric name (Chinese) | Unit | Dimension | Remarks |
|---|---|---|---|---|
| BrokerAlive | Is Broker alive | 0/1 | ClusterId, BrokerName, BrokerServerId | |
| BrokerIsMaster | Does Broker serve as Master | 0/1 | ClusterId, BrokerName, BrokerServerId | |
| BrokerStartupTimestamp | Broker startup time | s | ClusterId, BrokerName, BrokerServerId | |
| BrokerProducerConnectionCount | Producer client connections | Item | ClusterId, BrokerName, BrokerServerId | |
| BrokerConsumerConnectionCount | Consumer client connections | Item | ClusterId, BrokerName, BrokerServerId | |
| BrokerMessagesInPerSec | Message production count rate | Entry/s | ClusterId, BrokerName, BrokerServerId | |
| BrokerProduceRequestTimeMsP99 | Production request processing latency P99 | ms | ClusterId, BrokerName, BrokerServerId | |
| BrokerProduceRequestTimeMsP999 | Production request processing latency P999 | ms | ClusterId, BrokerName, BrokerServerId | |
| BrokerMessagesOutPerSec | Message consumption count rate | Entry/s | ClusterId, BrokerName, BrokerServerId | |
| BrokerCommitlogMessageCount | CommitLog message count | Entry | ClusterId, BrokerName, BrokerServerId | |
| BrokerCommitlogDiskUsedPercent | CommitLog storage usage | % | ClusterId, BrokerName, BrokerServerId |
ConsumerGroup Monitor (ConsumerGroup)
| Metric name (English) | Metric name (Chinese) | Unit | Dimension | Remarks |
|---|---|---|---|---|
| ConsumerCount | Quantity of consumers | Item | ClusterId, ConsumerGroup | |
| ConsumerLagLatencyMs | Message processing lag time | ms | ClusterId, ConsumerGroup | |
| ConsumerLag | Message backlog | Entry | ClusterId, ConsumerGroup | |
| ConsumerMessagesOutPerSec | Consumption message count rate | Entry/s | ClusterId, ConsumerGroup | |
| ConsumerBytesOutPerSec | Consumption message traffic rate | Bytes/s | ClusterId, ConsumerGroup | |
| ConsumerQueueingLatencyMs | Message queuing time | ms | ClusterId, ConsumerGroup | |
| Lag | Message backlog | Entry | ClusterId, ConsumerGroup, Topic | |
| QueueingLatencyMs | Message queuing time | ms | ClusterId, ConsumerGroup, Topic | |
| MessagesOutPerSec | Consumption count rate | Entry/s | ClusterId, ConsumerGroup, Topic | |
| BytesOutPerSec | Consumption traffic rate | Bytes/s | ClusterId, ConsumerGroup, Topic | |
| LagLatencyMs | Message processing lag time | ms | ClusterId, ConsumerGroup, Topic |
Topic Monitor (Topic)
| Metric name (English) | Metric name (Chinese) | Unit | Dimension | Remarks |
|---|---|---|---|---|
| TopicMessageQueueCount | Total queue count of topics on cluster | Item | ClusterId, Topic | |
| TopicProducerCount | Quantity of producers | Item | ClusterId, Topic | |
| TopicConsumerGroupCount | Quantity of consumer groups | Item | ClusterId, Topic | |
| TopicMessagesInPerSec | Production count rate | Entry/s | ClusterId, Topic | |
| TopicBytesInPerSec | Production traffic rate | Bytes/s | ClusterId, Topic | |
| TopicMessagesOutPerSec | Consumption count rate | Entry/s | ClusterId, Topic | |
| TopicBytesOutPerSec | Consumption traffic rate | Bytes/s | ClusterId, Topic |
Virtual Machine Monitor (Node)
| Metric name (English) | Metric name (Chinese) | Unit | Dimension | Remarks |
|---|---|---|---|---|
| CpuUsedPercent | CPU utilization | % | ClusterId, NodeId | |
| CpuUserPercent | User CPU time ratio | % | ClusterId, NodeId | |
| CpuSystemPercent | System CPU time ratio | % | ClusterId, NodeId | |
| CpuIOWaitPercent | IO-wait CPU time ratio | % | ClusterId, NodeId | |
| CpuLoadAvg1 | Average CPU load in 1 min | Item | ClusterId, NodeId | |
| CpuLoadAvg5 | Average CPU load in 5 min | Item | ClusterId, NodeId | |
| CpuLoadAvg15 | Average CPU load in 15 min | Item | ClusterId, NodeId | |
| MemTotalBytes | Total memory | Bytes | ClusterId, NodeId | |
| MemFreeBytes | Free memory | Bytes | ClusterId, NodeId | |
| MemCacheBytes | File system memory cache value | Bytes | ClusterId, NodeId | |
| MemBufferBytes | Block device I/O memory buffer usage | Bytes | ClusterId, NodeId | |
| MemUsedPercent | Memory usage | % | ClusterId, NodeId | |
| SwapTotalBytes | Swap space capacity | Bytes | ClusterId, NodeId | |
| SwapFreeBytes | Swap free capacity | Bytes | ClusterId, NodeId | |
| DiskIOUsedPercent | Disk IO utilization | % | ClusterId, NodeId, DiskId | |
| DiskReadBytesPerSec | Disk read rate per second | Bytes/s | ClusterId, NodeId, DiskId | |
| DiskWriteBytesPerSec | Disk write rate per second | Bytes/s | ClusterId, NodeId, DiskId | |
| DiskReadIOPerSec | Disk IO read times per second | Time/s | ClusterId, NodeId, DiskId | |
| DiskWriteIOPerSec | Disk IO write times per second | Time/s | ClusterId, NodeId, DiskId | |
| DiskReadAwaitMs | Average waiting time for disk reading IO | ms | ClusterId, NodeId, DiskId | |
| DiskWriteAwaitMs | Average waiting time for disk writing IO | ms | ClusterId, NodeId, DiskId | |
| DiskUsedPercent | Disk space usage rate | % | ClusterId, NodeId, DiskId | |
| DiskTotalBytes | Total disk capacity | Bytes | ClusterId, NodeId, DiskId | |
| DiskFreeBytes | Disk free capacity | Bytes | ClusterId, NodeId, DiskId | |
| FdLimitation | Maximum number of FDs | Item | ClusterId, NodeId | |
| FdUsed | Number of FDs applied | Item | ClusterId, NodeId | |
| NetReceiveBytesPerSec | Data received by network per second | Bytes/s | ClusterId, NodeId, InterfaceId | |
| NetTransmitBytesPerSec | Data sent by network per second | Bytes/s | ClusterId, NodeId, InterfaceId | |
| NetReceivePacketsPerSec | Data packets received by network per second | Item/s | ClusterId, NodeId, InterfaceId | |
| NetTransmitPacketsPerSec | Data packets sent by network per second | Item/s | ClusterId, NodeId, InterfaceId | |
| NetReceiveErrorsPerSec | Error data packets received by network per second | Item/s | ClusterId, NodeId, InterfaceId | |
| NetTransmitErrorsPerSec | Error data packets sent by network per second | Item/s | ClusterId, NodeId, InterfaceId | |
| NetReceiveDroppedPerSec | Dropped data packets received by network per second | Item/s | ClusterId, NodeId, InterfaceId | |
| NetTransmitDroppedPerSec | Dropped data packets sent by network per second | Item/s | ClusterId, NodeId, InterfaceId | |
| NetReceiveBandwidthUsedPercent | Network ingress traffic bandwidth utilization | % | ClusterId, NodeId, InterfaceId | |
| NetTransmitBandwidthUsedPercent | Network egress traffic bandwidth utilization | % | ClusterId, NodeId, InterfaceId | |
| NetTcpCurrentEstab | Current TCP connections | Item | ClusterId, NodeId | |
| NetTcpInSegs | TCP packets received | Item | ClusterId, NodeId | |
| NetTcpOutSegs | TCP packets sent | Item | ClusterId, NodeId | |
| NetTcpInErrs | TCP packets dropped | Item | ClusterId, NodeId | |
| NetTcpRetransSegs | TCP packets resent | Item | ClusterId, NodeId | |
| NetTcpCurrentClosed | TCP connections disabled | Item | ClusterId, NodeId | |
| SystemStartTime | System boot time | s | ClusterId, NodeId |
Cluster Monitor (Cluster)
| Metric name (English) | Metric name (Chinese) | Unit | Dimension | Remarks |
|---|---|---|---|---|
| ClusterTopicCount | Number of topics | Item | ClusterId | |
| ClusterProducerCount | Quantity of producers | Item | ClusterId | |
| ClusterConsumerGroupCount | Quantity of consumer groups | Item | ClusterId | |
| ClusterMessagesInPerSec | Production count rate | Entry/s | ClusterId | |
| ClusterBytesInPerSec | Production traffic rate | Bytes/s | ClusterId | |
| ClusterMessagesOutPerSec | Consumption count rate | Entry/s | ClusterId | |
| ClusterBytesOutPerSec | Consumption traffic rate | Bytes/s | ClusterId | |
| ClusterDiskTotalBytes | Total disk capacity | Bytes | ClusterId | |
| ClusterDiskFreeBytes | Disk free capacity | Bytes | ClusterId | |
| ClusterDiskUsedPercent | Disk space usage rate | % | ClusterId | |
| ClusterMaxDiskUsedPercent | Maximum disk space utilization | % | ClusterId |
