RabbitMQ integration for Grafana Cloud
RabbitMQ is the most widely deployed open source message broker. It supports multiple messaging protocols, and can be deployed in distributed and federated configurations to meet high-scale, high-availability requirements.
This integration includes five useful alerts and two pre-built dashboards to help monitor and visualize RabbitMQ metrics.
Pre-install configuration for the RabbitMQ integration
This integration monitors a RabbitMQ Cluster using the built-in Prometheus metrics collector, shipped natively with RabbitMQ as of version 3.8.0. It provides two dashboards, one that provides a general overview of the cluster health, and other that focus on memory allocators.
In order to enable the Prometheus metrics collector in your Cluster, please run the following command:
rabbitmq-plugins enable rabbitmq_prometheus
Install RabbitMQ integration for Grafana Cloud
- In your Grafana Cloud instance, click Integrations and Connections (lightning bolt icon).
- Navigate to the RabbitMQ tile and review the prerequisites. Then click Install integration.
- Once the integration is installed, follow the steps on the Configuration Details page to setup Grafana Agent and start sending RabbitMQ metrics to your Grafana Cloud instance.
Post-install configuration for the RabbitMQ integration
In the agent configuration file, the agent must be pointed to each node that composes the RabbitMQ Cluster, such as
rabbitmqnode1host:15692 in the example below, that exposes a
In case you are deploying multiple grafana agents on different nodes for this integration, make sure to keep the
target for each node different otherwise the dashboards may show some information incorrectly for different nodes.
metrics: wal_directory: /tmp/wal configs: - name: integrations scrape_configs: - job_name: integrations/rabbitmq static_configs: - targets: ['rabbitmqnode1host:15692', 'rabbitmqnode2host:15692', 'rabbitmqnode3host:15692'] remote_write: - url: http://cortex:9009/api/prom/push
The RabbitMQ integration installs the following dashboards in your Grafana Cloud instance to help monitor your metrics.
Erlang Memory Allocators
The RabbitMQ integration includes the following useful alerts:
|RabbitMQMemoryHigh||Warning: RabbitMQ memory usage is high.|
|RabbitMQFileDescriptorsUsage||Warning: RabbitMQ file descriptors usage is high.|
|RabbitMQUnroutableMessages||Warning: A RabbitMQ queue has unroutable messages.|
|RabbitMQNodeNotDistributed||Critical: RabbitMQ node not distributed, link state is down.|
|RabbitMQNodeDown||Critical: RabbitMQ node is down.|
The following metrics are automatically written to your Grafana Cloud instance by connecting your RabbitMQ instance through this integration:
# 0.0.4 - December 2022 - Update mixin to the latest version - Added Job variable to all dashboards - Enabled multi and all selection on all variables - Renaming alerts for better standadization # 0.0.3 - September 2022 - Update dashboard panels descriptions. # 0.0.2 - October 2021 - Update mixin to latest version: - Update queries to use $\_\_rate_interval # 0.0.1 - May 2021 - Initial release
By connecting your RabbitMQ instance to Grafana Cloud you might incur charges. To view information on the number of active series that your Grafana Cloud account uses for metrics included in each Cloud tier, see Active series and dpm usage and Cloud tier pricing.