Overview of RabbitMQ Monitoring
mainMonitoring RabbitMQ involves capturing system behavior via health checks and metrics over time to detect anomalies, perform root cause analysis, and plan capacity.
Recommended monitoring approaches include:
- Prometheus and Grafana: The highly recommended option for production clusters. It uses the
rabbitmq_prometheusplugin for low-overhead metric scraping. - Kubernetes Operator monitoring: For clusters deployed via the RabbitMQ Kubernetes Operator, the Prometheus plugin is automatically enabled.
- Management Plugin: Useful for development environments via its HTTP API, but has higher overhead and limited data retention compared to Prometheus.
- CLI Observer: An interactive tool for focused troubleshooting.
Monitoring is categorized into:
- RabbitMQ Metrics: Node, queue, connection, and cluster-wide metrics reported by RabbitMQ.
- Infrastructure/Kernel Metrics: CPU, memory, disk I/O, and network metrics reported by the OS.