RabbitMQ Monitoring setup in Grafana

Hi,

I am new to Grafana. I need to monitor RabbitMQ metrics in Grafana. Could somebody please point me in the right direction?

Thank you

I’ve not used RabbitMQ with Grafana, but there are several dashboards shared in the community: https://grafana.com/dashboards?search=rabbitmq

Also, lots of RabbitMQ Exporters available at GitHub: https://github.com/search?q=prometheus+rabbitmq&type=Repositories

So, suggesting the following steps:

  1. Figure out what you want to show for RabbitMQ and see if an existing Grafana dashboard would be a suitable starting-point (or use as-is).

  2. Select an Exporter suitable for your RabbitMQ instance (or create your own, perhaps using an existing code base as a starting-point).

  3. If the Exporter uses a time-series database, such as Prometheus, ensure that the startup script prometheus.yml has the appropriate YAML configuration to access data from the Exporter.

  4. Deploy your Exporter and verify it. If it is an Exporter meant to be used with Prometheus, verify the outputs in the Prometheus web console.

  5. Add your datasource (example:Prometheus datasource) if it has not already been added in Grafana web console.

  6. Configure your RabbitMQ dashboard as needed.

@mikequentel

Thanks for your suggestions.

I am trying to use https://github.com/kbudde/rabbitmq_exporter to get the metrics from RabbitMQ server. I am getting below errors when i run this exporter.

When I am trying to run rabbitmq_exporter using command ‘PUBLISH_PORT=9419 RABBIT_CAPABILITIES=bert,no_sort RABBIT_URL=http://rmqdev:15672 RABBIT_USER=user1 RABBIT_PASSWORD=‘user1’ ./rabbitmq_exporter’ getting below error.

ERRO[0014] Error while retrieving data from rabbitHost error="" host=“http://rmqdev:15672” statusCode=406

After changing http to https in same command, Getting below error:

ERRO[0004] Error while retrieving data from rabbitHost error=“Get https://rmqdev:15672/api/exchanges?sort=: http: server gave HTTP response to HTTPS client” host=“https://rmqdev:15672” statusCode=0

Is it mandatory to to update environment variables ? Because I am passing parameter values in command itself.

Please let me know if I am missing something in setup.

Thanks.