Updated on 2024-10-25 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 or APIs 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 (RabbitMQ 3.x.x)

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

connections_states_running

Normal Connections

Number of starting, tuning, opening, and running connections in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

connections_states_flow

Flow Connections

Number of flow connections in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

connections_states_block

Blocked/Blocking Connections

Number of blocking and blocked connections in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

connections_states_close

Closed/Closing Connections

Number of closing and closed connections in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

channels_states_running

Normal Channels

Number of starting, tuning, opening, and running channels in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

channels_states_flow

Flow Channels

Number of flow channels in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

channels_states_block

Blocked/Blocking Channels

Number of blocking and blocked channels in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

channels_states_close

Closed/Closing Channels

Number of closing and closed channels in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

queues_states_running

Normal Queues

Number of running queues in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

queues_states_flow

Flow Queues

Number of flow queues in the instance

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance

1 minute

Table 2 Instance metrics (RabbitMQ AMQP-0-9-1)

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–2,000

RabbitMQ instance

1 minute

queues

Queues

Number of queues in the RabbitMQ instance

Unit: Count

0–1,000

RabbitMQ instance

1 minute

consumers

Consumers

Number of consumers in the RabbitMQ instance

Unit: Count

≥ 0

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

publish

Message Creation Rate

Rate at which messages are produced in the RabbitMQ instance

Unit: Count/second

≥ 0

RabbitMQ instance

1 minute

instance_bytes_in_rate

Message Creation

Number of bytes produced in the RabbitMQ instance per second

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

≥ 0

RabbitMQ instance

1 minute

instance_bytes_out_rate

Message Retrieval

Number of bytes consumed from the RabbitMQ instance per second

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

≥ 0

RabbitMQ instance

1 minute

deliver_get

Consumption Rate

Number of messages consumed in real time by the RabbitMQ instance per second

Unit: Count/second

≥ 0

RabbitMQ instance

1 minute

instance_disk_usage

Instance Disk Usage

Instance disk usage

Unit: %

≥ 0

RabbitMQ instance

1 minute

instance_tps

Requests per second of an instance

Number of requests processed by a RabbitMQ instance per second

Unit: Count

0–10,000,000

RabbitMQ instance

1 minute

Broker Metrics

Available only for RabbitMQ 3.x.x.

Table 3 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

NOTE:

This metric is supported for instances purchased in April 2020 or later.

1: alive

0: not alive

RabbitMQ instance node

1 minute

rabbitmq_disk_usage

Disk Capacity Usage

Disk usage of the RabbitMQ VM

Unit: %

NOTE:

This metric is supported for instances purchased in April 2020 or later.

0–100%

RabbitMQ instance node

1 minute

rabbitmq_cpu_usage

CPU Usage

CPU usage of the RabbitMQ VM

Unit: %

NOTE:

This metric is supported for instances purchased in April 2020 or later.

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

NOTE:

This metric is supported for instances purchased in April 2020 or later.

> 0

RabbitMQ instance node

1 minute

rabbitmq_memory_usage

Memory Usage

Memory usage of the RabbitMQ VM

Unit: %

NOTE:

This metric is supported for instances purchased in April 2020 or later.

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

NOTE:

This metric is supported for instances purchased in June 2020 or later.

> 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

NOTE:

This metric is supported for instances purchased in June 2020 or later.

> 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

NOTE:

This metric is supported for instances purchased in June 2020 or later.

> 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

NOTE:

This metric is supported for instances purchased in June 2020 or later.

> 0

RabbitMQ instance node

1 minute

rabbitmq_node_queues

Queues

Number of queues in the node

Unit: Count

NOTE:

This metric is supported for instances purchased in June 2020 or later.

> 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

NOTE:

This metric is supported for instances purchased in June 2020 or later.

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

NOTE:

This metric is supported for instances purchased in June 2020 or later.

1: yes

0: no

RabbitMQ instance node

1 minute

rabbitmq_disk_read_rate

Disk Read Speed

Number of bytes read from the disk of the node each second

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

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance node

1 minute

rabbitmq_disk_write_rate

Disk Write Speed

Number of bytes written to the disk of the node each second

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

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance node

1 minute

connections_usage

Connection Usage

Percentage of current connections to the maximum number of connections

Unit: %

NOTE:

This metric is supported for instances purchased since February 18, 2024.

≥ 0

RabbitMQ instance node

1 minute

Queue Metrics

Table 4 Queue metrics (RabbitMQ 3.x.x)

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

queue_consumers

Consumers

Number of consumers that are subscribed to the queue

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_publish_rate

Production Rate

Number of messages sent to the queue each second

Unit: Count/second

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_ack_rate

Consumption Rate (Manual)

Number of acknowledged messages sent from the queue to clients each second

Unit: Count/second

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_deliver_get_rate

Consumption Rate

Number of messages sent from the queue each second

Unit: Count/second

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_redeliver_rate

Redelivery Rate

Number of messages in the queue redelivered each second

Unit: Count/second

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_persistent

Total Persisted Messages

Total number of persisted messages in the queue. This is always 0 for transient queues.

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_ram

Total Messages in RAM

Total number of messages in the queue that are kept in RAM

Unit: Count

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_memory

Bytes Consumed by Erlang

Bytes of memory consumed by the Erlang process associated with the queue, including stack, heap, and internal structures

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

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

queue_message_bytes

Total Message Size

Total number of bytes of all messages in the queue

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

NOTE:

This metric is supported for instances purchased on or after May 16, 2022.

≥ 0

RabbitMQ instance queue

1 minute

Table 5 Queue metrics (RabbitMQ AMQP-0-9-1)

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

queue_messages_ready

Topic Available Messages

Number of messages that can be consumed in a RabbitMQ queue

Unit: Count

≥ 0

RabbitMQ instance queue

1 minute

queue_consumers

Consumers

Number of consumers that are subscribed to the queue

Unit: Count

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_publish_rate

Message Creation Rate

Number of messages sent to the queue each second

Unit: Count/second

≥ 0

RabbitMQ instance queue

1 minute

queue_messages_deliver_get_rate

Consumption Rate

Number of messages sent from the queue each second

Unit: Count/second

≥ 0

RabbitMQ instance queue

1 minute

queue_bytes_in_rate

Message Creation

Number of messages produced in real time in the queue per second

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

≥ 0

RabbitMQ instance queue

1 minute

queue_bytes_out_rate

Message Retrieval

Number of messages consumed in real time in the queue per second

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

≥ 0

RabbitMQ instance queue

1 minute

Virtual Host Metrics

Available only for RabbitMQ AMQP-0-9-1.

Table 6 Virtual host metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

vhost_connections

Connections

Total number of connections in the virtual host

Unit: Count

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_channels

Channels

Total number of channels in the virtual host

Unit: Count

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_queues

Queues

Total number of queues in the virtual host

Unit: Count

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_consumers

Consumers

Total number of consumers in the virtual host

Unit: Count

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_messages_ready

Available Messages

Total number of messages that can be consumed from the virtual host

Unit: Count

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_messages_publish_rate

Message Creation Rate

Number of messages produced in real time in the virtual host per second

Unit: Count/second

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_messages_deliver_get_rate

Consumption Rate

Number of messages consumed in real time in the virtual host per second

Unit: Count/second

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_bytes_in_rate

Message Creation

Number of bytes produced in the virtual host per second

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

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_bytes_out_rate

Message Retrieval

Number of bytes consumed from the virtual host per second

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

≥ 0

RabbitMQ instance virtual host

1 minute

vhost_tps

Virtual host request rate

Number of requests processed by the current virtual host per second

Unit: Count

≥ 0

RabbitMQ instance virtual host

1 minute

Exchange Metrics

Available only for RabbitMQ AMQP-0-9-1.

Table 7 Exchange metrics

Metric ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

exchange_messages_publish_rate

Message Creation Rate

Number of messages produced in real time in the exchange per second

Unit: Count/second

≥ 0

RabbitMQ instance exchange

1 minute

exchange_bytes_in_rate

Message Creation

Number of bytes produced in the exchange per second

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

≥ 0

RabbitMQ instance exchange

1 minute

Dimensions

Key

Value

rabbitmq_instance_id

RabbitMQ instance

rabbitmq_node

RabbitMQ instance node

rabbitmq_queue

RabbitMQ instance queue

rabbitmq_vhost

RabbitMQ instance virtual host

rabbitmq_vhost_exchange

RabbitMQ instance exchange

rabbitmq_vhost_queue

RabbitMQ instance queue