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

race condition in HA environment #11

Open
bennydubois opened this issue May 22, 2019 · 2 comments
Open

race condition in HA environment #11

bennydubois opened this issue May 22, 2019 · 2 comments

Comments

@bennydubois
Copy link

Having two Prometheus servers scrape script exporter in a HA setup causes a race condition where only one server gets the metrics.

Prometheus version: 2.8
Script exporter version: current build, not running in docker

@ncabatoff
Copy link
Owner

Have you tried increasing -script-workers from the default of 1?

@bennydubois
Copy link
Author

yes, I increased this setting up to 4 but there is still only one of the Prometheus servers that gets metrics at a time.

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