Updated on 2024-11-27 GMT+08:00

RabbitMQ Metrics

Introduction

This section describes metrics reported by DMS for RabbitMQ to Cloud Eye as well as their namespaces and dimensions. You can use the Cloud Eye console to query the metrics and alarms of RabbitMQ instances. You can also view the metrics on the Monitoring page of the RabbitMQ console.

Namespace

SYS.DMS

Instance Metrics

Table 1 Instance metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

connections

Connections

Number of connections in the RabbitMQ instance

Unit: Count

≥ 0

RabbitMQ instance

1 minute

channels

Channels

Number of channels in the RabbitMQ instance

Unit: Count

0–2047

RabbitMQ instance

1 minute

queues

Queues

Number of queues in the RabbitMQ instance

Unit: Count

0–7,000

RabbitMQ instance

1 minute

consumers

Consumers

Number of consumers in the RabbitMQ instance

Unit: Count

0–280,000

RabbitMQ instance

1 minute

messages_ready

Available Messages

Number of messages that can be consumed in the RabbitMQ instance

Unit: Count

0–10,000,000

RabbitMQ instance

1 minute

messages_unacknowledged

Unacknowledged Messages

Total number of messages that have been consumed but not acknowledged in a RabbitMQ instance

Unit: Count

0–10,000,000

RabbitMQ instance

1 minute

publish

Message Creation Rate

Rate at which messages are produced in the RabbitMQ instance

Unit: Count/second

0–25,000

RabbitMQ instance

1 minute

deliver

Retrieval Rate (Manual Ack)

Rate at which messages are consumed (in the manual acknowledgment scenario) in a RabbitMQ instance

Unit: Count/second

0–25,000

RabbitMQ instance

1 minute

deliver_no_ack

Retrieval Rate (Auto Ack)

Rate at which messages are consumed (in the automatic acknowledgment scenario) in a RabbitMQ instance

Unit: Count/second

0–50,000

RabbitMQ instance

1 minute

Broker Metrics

Table 2 Broker metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

fd_used

File Handles

Number of file handles used by RabbitMQ in the node

Unit: Count

0–65,535

RabbitMQ instance node

1 minute

socket_used

Socket Connections

Number of socket connections used by RabbitMQ in the node

Unit: Count

0–50,000

RabbitMQ instance node

1 minute

proc_used

Erlang Processes

Number of Erlang processes used by RabbitMQ in the node

Unit: Count

0–1,048,576

RabbitMQ instance node

1 minute

mem_used

Memory Usage

Memory usage of RabbitMQ in the node

Unit: byte, KB, MB, GB, TB or PB

0–32,000,000,000

RabbitMQ instance node

1 minute

disk_free

Available Memory

Available memory of RabbitMQ in the node

Unit: byte, KB, MB, GB, TB or PB

0–500,000,000,000

RabbitMQ instance node

1 minute

rabbitmq_alive

Node Alive

Whether the RabbitMQ node is alive

1: alive

0: not alive

RabbitMQ instance node

1 minute

rabbitmq_disk_usage

Disk Capacity Usage

Disk usage of the RabbitMQ VM

Unit: %

0–100%

RabbitMQ instance node

1 minute

rabbitmq_cpu_usage

CPU Usage

CPU usage of the RabbitMQ VM

Unit: %

0–100%

RabbitMQ instance node

1 minute

rabbitmq_cpu_core_load

Average Load per CPU Core

Average load of each CPU core of the RabbitMQ VM

> 0

RabbitMQ instance node

1 minute

rabbitmq_memory_usage

Memory Usage

Memory usage of the RabbitMQ VM

Unit: %

0–100%

RabbitMQ instance node

1 minute

rabbitmq_disk_read_await

Average Disk Read Time

Average time for each disk I/O read in the monitoring period

Unit: ms

> 0

RabbitMQ instance node

1 minute

rabbitmq_disk_write_await

Average Disk Write Time

Average time for each disk I/O write in the monitoring period

Unit: ms

> 0

RabbitMQ instance node

1 minute

rabbitmq_node_bytes_in_rate

Inbound Traffic

Inbound traffic per second

Unit: byte/s, KB/s, MB/s, or GB/s

> 0

RabbitMQ instance node

1 minute

rabbitmq_node_bytes_out_rate

Outbound Traffic

Outbound traffic per second

Unit: byte/s, KB/s, MB/s, or GB/s

> 0

RabbitMQ instance node

1 minute

rabbitmq_node_queues

Queues

Number of queues in the node

Unit: Count

> 0

RabbitMQ instance node

1 minute

rabbitmq_memory_high_watermark

Memory High Watermark

Whether the node has reached the memory high watermark, blocking all producers in the cluster

1: yes

0: no

RabbitMQ instance node

1 minute

rabbitmq_disk_insufficient

Disk High Watermark

Whether the node has reached the disk high watermark, blocking all producers in the cluster

1: yes

0: no

RabbitMQ instance node

1 minute

Queue Metrics

Table 3 Queue metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

queue_messages_unacknowledged

Unacknowledged Messages

Number of messages that have been consumed but not acknowledged in the RabbitMQ queue

Unit: Count

0–10,000,000

RabbitMQ instance queue

1 minute

queue_messages_ready

Available Messages

Number of messages that can be retrieved in a RabbitMQ queue

Unit: Count

0–10,000,000

RabbitMQ instance queue

1 minute

Dimensions

Key

Value

rabbitmq_instance_id

RabbitMQ instance

rabbitmq_node

RabbitMQ instance node

rabbitmq_queue

RabbitMQ instance queue