---
title: "Configure RabbitMQ exporter to generate Prometheus metrics | Grafana Cloud documentation"
description: "Configure RabbitMQ to send metrics"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# 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](https://www.rabbitmq.com/prometheus.html#installation) 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](https://github.com/kbudde/rabbitmq_exporter). This exporter is also as a [Prometheus community helm chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-rabbitmq-exporter).

## Metrics and KPIs

| Metrics                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | KPI                                                                                                                                                                  |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Requests**<br /><br /><br /><br />Total Messages received<br /><br /><br /><br />```<br />rabbitmq_channel_messages_published_total<br />```<br /><br /><br /><br />Total Outgoing Messages<br /><br /><br /><br />```<br />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<br />```<br /><br /><br /><br />Total Messages routed<br /><br /><br /><br />```<br />rabbitmq_queue_messages_published_total<br />``` | **Request Rate** `rate(`rabbitmq\_channel\_messages\_published\_total`[5m])`                                                                                         |
| **Errors**<br /><br /><br /><br />Total messages not routed. Includes dropped and returned.<br /><br /><br /><br />```<br />rabbitmq_channel_messages_unroutable_dropped_total 
+ rabbitmq_channel_messages_unroutable_returned_total<br />```                                                                                                                                                                                                                                                                                                                                 | **Error Ratio**<br /><br /><br /><br />Error Rate / Request Rate of Total Messages received                                                                          |
| **Memory**<br /><br /><br /><br />```<br />rabbitmq_process_resident_memory_bytes
rabbitmq_resident_memory_limit_bytes<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                | **Memory Utilization**<br /><br /><br /><br />```<br />rabbitmq_process_resident_memory_bytes
/ rabbitmq_resident_memory_limit_bytes<br />```                        |
| **File Descriptors**<br /><br /><br /><br />```<br />rabbitmq_process_open_fds
rabbitmq_process_max_fds<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                                               | **File Descriptors Utilization**<br /><br /><br /><br />```<br />rabbitmq_process_open_fds
/ rabbitmq_process_max_fds<br />```                                       |
| **Open TCP Sockets**<br /><br /><br /><br />```<br />rabbitmq_process_open_tcp_sockets
rabbitmq_process_max_tcp_sockets<br />```                                                                                                                                                                                                                                                                                                                                                                                                                                               | **TCP Sockets Utilization**<br /><br /><br /><br />```<br />rabbitmq_process_open_tcp_sockets
/ rabbitmq_process_max_tcp_sockets<br />```                            |
| **Network Bytes Transmitted/Received**<br /><br /><br /><br />```<br />rabbitmq_connection_incoming_bytes_total
rabbitmq_connection_outgoing_bytes_total<br />```                                                                                                                                                                                                                                                                                                                                                                                                              | **Transmission Rate**<br /><br /><br /><br />```<br />rate(rabbitmq_connection_incoming_bytes_total[5m])
rate(rabbitmq_connection_outgoing_bytes_total[5m])<br />``` |
