Hello!
I'm currently running RabbitMQ 3.9.8 in Kubernetes (managed by the RabbitMQ Operator)
I'm using Prometheus to instrument my message queues with a ServiceMonitor:
kind: ServiceMonitor
metadata:
name: my-rabbit-servicemonitor
namespace: default
spec:
endpoints:
- interval: 15s
port: prometheus
scheme: http
scrapeTimeout: 14s
- interval: 15s
params:
family:
- queue_coarse_metrics
- queue_consumer_count
vhost:
- /
path: /metrics/detailed
port: prometheus
scheme: http
selector:
matchLabels:
The cluster only has a few hundred queues, so we're pulling queue_coarse_metrics from the detail view.
This lets me alarm based on queue-depth, which is important. But, I'd also like to be able to raise an alarm when messages stop arriving in a queue (or when they stop arriving at an exchange.)
Is there some way to expose either "Message Rate In" of an Exchange or the "Incoming" rate of a queue?
Many thanks!
-Dave