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

Feature: RABBITMQ_CONNECTION mode: loadbalancer #230

Closed
kbudde opened this issue Oct 1, 2021 · 3 comments
Closed

Feature: RABBITMQ_CONNECTION mode: loadbalancer #230

kbudde opened this issue Oct 1, 2021 · 3 comments

Comments

@kbudde
Copy link
Owner

kbudde commented Oct 1, 2021

At the moment it is recommended to install one exporter per rabbitmq without any loadbalancer in between.

Another option would be to run a loadbalancer between the exporter and the rabbitmq cluster.
one exporter -> loadbalancer -> rabbitmq cluster

The second option is currently not supported but normally used for installations in k8s. As a result the graphs in prometheus will have gaps (see #131 ). These gaps are caused by the self label which is added to nodes, exchanges, etc..
So it would be quite useful to add configuration option to prevent adding this label from all metrics:

RABBITMQ_CONNECTION with to options: direct (default) or loadbalancer

  • direct: self label is added to the metrics ( as now)
  • loadbalancer: self label is removed from all metrics
@kbudde kbudde added the k8s label Oct 1, 2021
@kbudde kbudde changed the title new Feature: RABBITMQ_CONNECTION mode: loadbalancer Feature: RABBITMQ_CONNECTION mode: loadbalancer Oct 1, 2021
@kotyara85
Copy link

The native plug-in doesn’t have federation.
thanks for the explanation, I will give it a shot!

@marek-obuchowicz
Copy link

👍 - we're using this exporter to monitor rabbitmq clusters not running in k8s - they run on AWS autoscaling groups with loadbalancer in front.

@kbudde
Copy link
Owner Author

kbudde commented Jul 21, 2022

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

No branches or pull requests

3 participants