Skip to content

Detailed metrics for a queue are only reported from the node hosting the leader replica of that queue #12022

Closed Answered by ansd
kvasserman asked this question in Other
Discussion options

You must be logged in to vote

Since the scraping applications will be pointing at the service, that is load-balancing the requests between the 3 nodes, this means that 66% of the time metrics do not include information for a particular queue.
I don't know if this is a configuration issue of some kind, but it seems like a bug to me. The application consuming the metrics from a cluster should not be aware of which node of the cluster to query for which queue.

This is a configuration issue on your side. There is no bug. Prometheus metrics must be scraped from each pod.
See https://www.rabbitmq.com/blog/2021/05/03/alerting:

ServiceMonitor configuration for Prometheus which helps discover RabbitMQ metrics from all Rabbi…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ansd
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #12022 on August 16, 2024 00:49.