Skip to content

Instantly share code, notes, and snippets.

@gerhard
Last active October 16, 2019 12:11
Show Gist options
  • Save gerhard/10c6461dae03eb256f5fe87704ee902c to your computer and use it in GitHub Desktop.
Save gerhard/10c6461dae03eb256f5fe87704ee902c to your computer and use it in GitHub Desktop.
Gabriele-Prometheus-Monitoring-Alerts

Prometheus Monitoring & Alerts

As of RabbitMQ 3.8.0, it is possible to enable Prometheus metrics natively, no need to run an external exporter. To enable native Prometheus metrics, set rabbitmqPrometheusPlugin.enabled to true. This will expose all RabbitMQ node metrics via the <<rabbitmqhost>>:15692/metrics URL. Since all metrics are node local, they add the least pressure on RabbitMQ and will be available for as long as RabbitMQ is running, regardless of inter-node pressure or other nodes in the cluster going away.

To learn more about RabbitMQ's native support for Prometheus, please refer to the official Monitoring with Prometheus & Grafana guide.

Team RabbitMQ manages Grafana dashboards that are meant to be used with the native Prometheus support. They are publicly available at grafana.com/orgs/rabbitmq.

To enable metrics via the traditional rabbitmq_exporter, set prometheus.enabled to true. See values.yaml file for more details and configuration options.

While there are two ways of monitoring RabbitMQ with Prometheus, both prometheus.enabled and rabbitmqPrometheusPlugin.enabled can be enabled at the same time, they are not mutually exclusive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment