Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to monitor AWS RabbitMQ (Amazon MQ service) #252

Closed
AndresPineros opened this issue Feb 21, 2022 · 1 comment
Closed

How to monitor AWS RabbitMQ (Amazon MQ service) #252

AndresPineros opened this issue Feb 21, 2022 · 1 comment

Comments

@AndresPineros
Copy link

I have a cluster-mode RabbitMQ deployment but I'm still getting a single endpoint for https and amqps in AWS. What I understand is that most exporters actually need to get to the instance level and get metrics per each process of a cluster. In this case, if I have a RabbitMQ cluster with 3 nodes, I'd need 3 exporters. Another alternative is that the exporter offers the multi-target scraping pattern.

Anyways, with this information in mind, would this exporter work for an AWS cluster if all the instances are "hiding" behind a single endpoint? Both the amqps:// and https:// endpoints seem to point to a loadbalancer that distributes requests across the 3 instances, based on a nslookup call.

What's the best approach here?

Thanks.

@kbudde
Copy link
Owner

kbudde commented Feb 22, 2022

It is correct this exporter expects to be connected only to one node; otherwise you will have gaps (#131)

Current workarounds:

*At the moment, there is a lack of time and priority for this change. Current versions of RabbitMQ offer a Prometheus plugin itself.

@kbudde kbudde closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants