RabbitMQ > Prometheus > Grafana: Which queue holds these 190 rabbitmq_queue_messages_ready?

307 views
Skip to first unread message

0815 163

unread,
Jul 27, 2020, 8:56:17 AM7/27/20
to rabbitmq-users
Hi there,

I am running the following query below:

sum(rabbitmq_queue_messages_ready * on(instance) group_left(rabbitmq_cluster, rabbitmq_node) rabbitmq_identity_info{rabbitmq_cluster="$rabbitmq_cluster"}) by(rabbitmq_node)

and I see that on the yellow node there are 190 messages that are ready to be delivered if there are no apps running that use the RabbitMQ.



Can you please point me into the right direction so that I can change the query in order to find the queue(s) that hold(s) these 190 nessages?

Thanks,
O

Michal Kuratczyk

unread,
Jul 27, 2020, 10:25:53 AM7/27/20
to rabbitm...@googlegroups.com
Hi,

By default, metrics are aggregated since exposing metrics for each queue and connection could lead to a lot of data being returned on every scrape. You can enable per-object metrics as described here:
https://www.rabbitmq.com/prometheus.html#metric-aggregation

But please be mindful of the potential load increase (processing time, amount of data returned, number of metrics in Prometheus) if you have a lot of objects.

Best,

--
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/19e526e2-ad61-46da-9bff-bcd744e99e49o%40googlegroups.com.


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