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

Exporter is losing data from time to time #131

Closed
kennyche opened this issue Jun 4, 2019 · 5 comments
Closed

Exporter is losing data from time to time #131

kennyche opened this issue Jun 4, 2019 · 5 comments
Labels

Comments

@kennyche
Copy link

kennyche commented Jun 4, 2019

Getting the same as issue #109
3.7.7 Rabbitmq,
Prometheus 2.10.0,
kbudde/exporter any of the v1.0 RCs.

Alerts were constantly firing whenever data started coming in again.

If i roll back the exporter to 0.29.0 all is fine again.

Tried increasing the timeout to 60/120 seconds with the same results. Can gladly post stdout logs, but no real errors that i can see.
58840920-d8e2b380-8667-11e9-820e-6a6102df625e

@mindw
Copy link

mindw commented Jun 25, 2019

@kennyche got hit by this as well. The recently added label self is likely the root cause when accessing the cluster via a proxy (aka K8s service). A possible workaround is to target a specific instance (preferably the first one).

@kennyche
Copy link
Author

kennyche commented Jul 1, 2019

@mindw Thanks Gabi, ive reverted back to v0.29.0 for the time being. I'll try pointing the exporter directly to the first instance rather than the svc.

@kbudde
Copy link
Owner

kbudde commented Oct 30, 2019

Hi,
@mindw you are right. The self label is causing issue if the exporter is accessing rabbitmq through a load balancer.

Current workaround is to drop the self label.

- job_name: 'kubernetes_pods'
  kubernetes_sd_configs:
  [...]
  metric_relabel_configs:
  - regex: 'self'
     action: labeldrop

I will try to find a better solution

@kbudde
Copy link
Owner

kbudde commented Jul 21, 2022

@kbudde
Copy link
Owner

kbudde commented Oct 31, 2022

See FAQ about required configuration:
https://github.com/kbudde/rabbitmq_exporter/#missing-data-in-graphs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants