how to get list of queues in grafana

276 views
Skip to first unread message

Nikola Tesla

unread,
Jan 25, 2023, 7:55:50 AM1/25/23
to rabbitmq-users
hello! I have rabbit version 3.9.10 installed. I have enabled the prometheus plugin. It works on the standard port 15692. I read metrics from it. But I would like to add one window to the official graphana template where all queue names will be displayed. Help me how to do it?

Michal Kuratczyk

unread,
Jan 25, 2023, 8:03:22 AM1/25/23
to rabbitm...@googlegroups.com
If you scrape /metrics/per-object endpoint (on the same port), you will get per-queue metrics. You can then extract queue names from these metrics' labels.

On Wed, Jan 25, 2023 at 1:55 PM Nikola Tesla <952...@gmail.com> wrote:
hello! I have rabbit version 3.9.10 installed. I have enabled the prometheus plugin. It works on the standard port 15692. I read metrics from it. But I would like to add one window to the official graphana template where all queue names will be displayed. Help me how to do it?

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/35f4cecf-285a-4868-a589-67db3d2ddd27n%40googlegroups.com.


--
Michał
RabbitMQ team

Nikola Tesla

unread,
Jan 25, 2023, 10:40:09 AM1/25/23
to rabbitmq-users
I'm sorry, maybe this is an extremely stupid question, but can you write in more detail how to do this. Many thanks

среда, 25 января 2023 г. в 15:03:22 UTC+2, mkura...@gmail.com:

Michal Kuratczyk

unread,
Jan 25, 2023, 11:42:22 AM1/25/23
to rabbitm...@googlegroups.com
This is more of a Grafana/Prometheus question than a RabbitMQ question.

Details of how to do that depend on how you deploy Prometheus and how you discover RabbitMQ targets

2. Grafana has a label_values funciton to get a list of labels https://grafana.com/docs/grafana/latest/datasources/prometheus/template-variables/ 



--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages