deadtrickster / prometheus_rabbitmq_exporter

Prometheus.io exporter as a RabbitMQ Managment Plugin plugin
MIT License
291 stars 72 forks source link

How do you monitor message rate? #64

Open officer-rosmarino opened 6 years ago

officer-rosmarino commented 6 years ago

How do you monitor message rates? It does not seem to be a metric that is exported.

deadtrickster commented 6 years ago

hmm, we have whole bunch of metrics like rabbitmq_messages_published_total. Just look for 'message' word in the README. Then you could use (i)rate PromQL functions.

DXist commented 5 years ago

Calculating rate in Prometheus is possible for interval longer than scraping period. Is it possible to scrape _details objects? For example avg total message count for last 30 seconds?

deadtrickster commented 5 years ago

we can have precalculated averages exported as gauges, PR is welcome :-)