Menu
Grafana Cloud

Configure RabbitMQ exporter to generate Prometheus metrics

This topic explains how to install RabbitMQ exporter and the metrics and KPIs you receive.

For versions 3.8.0 and later

If you use version 3.8.0 and later, refer to the RabbitMQ installation instructions to enable the rabbitmq_prometheus plugin. After you enable the plugin, the metrics are available on port 15692 at the /metrics endpoint.

For versions earlier than 3.8.0

If you use versions earlier than 3.8.0, install rabbitmq exporter. This exporter is also as a Prometheus community helm chart.

Metrics and KPIs

MetricsKPI

Requests

Total Messages received

rabbitmq_channel_messages_published_total

Total Outgoing Messages

rabbitmq_channel_messages_delivered_total 
+ rabbitmq_channel_messages_delivered_ack_total 
+ rabbitmq_channel_messages_redelivered_total 
+ rabbitmq_channel_get_total 
+ rabbitmq_channel_get_ack_total

Total Messages routed

rabbitmq_queue_messages_published_total
Request Rate rate(rabbitmq_channel_messages_published_total[5m])

Errors

Total messages not routed. Includes dropped and returned.

rabbitmq_channel_messages_unroutable_dropped_total 
+ rabbitmq_channel_messages_unroutable_returned_total

Error Ratio

Error Rate / Request Rate of Total Messages received

Memory

rabbitmq_process_resident_memory_bytes
rabbitmq_resident_memory_limit_bytes

Memory Utilization

rabbitmq_process_resident_memory_bytes
/ rabbitmq_resident_memory_limit_bytes

File Descriptors

rabbitmq_process_open_fds
rabbitmq_process_max_fds

File Descriptors Utilization

rabbitmq_process_open_fds
/ rabbitmq_process_max_fds

Open TCP Sockets

rabbitmq_process_open_tcp_sockets
rabbitmq_process_max_tcp_sockets

TCP Sockets Utilization

rabbitmq_process_open_tcp_sockets
/ rabbitmq_process_max_tcp_sockets

Network Bytes Transmitted/Received

rabbitmq_connection_incoming_bytes_total
rabbitmq_connection_outgoing_bytes_total

Transmission Rate

rate(rabbitmq_connection_incoming_bytes_total[5m])

rate(rabbitmq_connection_outgoing_bytes_total[5m])