Comments (1)
Not sure if this project is still active.
For anyone interested, if you're using a monitoring setup such as Prometheus + Grafana, note that rabbitmq_queue_message_published_total
is sufficient (or at least partially sufficient) to obtain some insight into queue performance per vhost.
Once you have the prometheus_rabbitmq_exporter
setup and configured with RabbitMQ and your Prometheus config scraping (in our case) the Kubernetes pods running RabbitMQ, and Prometheus added as a data source in Grafana; you can try something along these lines in Grafana:
(1) Create a dashboard variable (what Grafana calls template variables)
Name: top_queues
Type: Query
Data source: prometheus
Refresh: On Time Range Change
Query:
query_result(topk(25, sum(rate(rabbitmq_queue_messages_published_total[${__range_s}s])) by(queue, vhost)))
Regex: .*queue="(.*?)".*
Multi-value: enabled
Include All Option: enabled
(2) Create a dashboard (or add a panel to an existing dashboard)
Use this query to power a graph or a table depending on your preference.
sum(rate(rabbitmq_queue_messages_published_total{queue=~"$top_queues"}[2m])) by (vhost, queue) * 7 / 8
Note that the * 7 / 8
helps refine the accuracy of your results (time series values) depending on your Prometheus scrape interval and other factors related to the number of samples you wish to include in your 2 minute ( [2m]
) query interval (i.e. this may need to be refined in your environment).
The visualization area in your Grafana graph/table will need some tuning as always. You might name this Grafana panel "Top 25 Queue Rates" or the like.
from prometheus_rabbitmq_exporter.
Related Issues (20)
- Crash on "flow" queue state
- "flow" (or any other) state is not showing up in metrics & "connections_total_enabled" was set to "true". rabbitmq v3.8.8
- prometheus-rabbitme-exporter vs rabbitmq3.7.14 HOT 4
- label name "node" is not unique: invalid sample
- no case clause matching: {:plugin_module_unloadable} HOT 1
- Unable to filter results bases on queue param for rabbitmq_queue_messages
- Grafana dashboard for this exporter
- Detect "stuck" queues
- Crashing on scraping HOT 4
- Error running as exporter for helm chart
- Server Cowboy is not blacklisted
- Which plugin version should be used for Rabbit 3.7.17? HOT 1
- No stats for exchange to exchange bindings HOT 1
- prometheus_rabbitmq_exporter only running in one node HOT 1
- Update plugin for RabbitMQ Managment 3.8.0 HOT 5
- Detection partitions are not supported
- /api/metrics shows "Internal Server Error" HOT 1
- manual ack and auto ack
- Unable to fetch metrics from Rabbit exporter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus_rabbitmq_exporter.