Skip to content
New issue

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

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

Already on GitHub? # to your account

Add a mode to prevent polling the master state. #74

Merged
merged 1 commit into from
Aug 21, 2018
Merged

Add a mode to prevent polling the master state. #74

merged 1 commit into from
Aug 21, 2018

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Jul 26, 2018

If we poll the master's /state endpoint on large clusters, we can
degrade master performance. Since the /state endpoint is used to
generate per-agent resource metrics, and we can already get those
by running the exporter on each agent, add a new flag that can
disable the collection of these metrics.

This is equivalent to the fix in #69

@jpeach
Copy link
Contributor Author

jpeach commented Aug 17, 2018

@gkleiman @philipnrmn This PR adds a flag with the same functionality as in #69. I'd prefer to make this change independently of the other changes in the #69 branch.

If we poll the master's `/state` endpoint on large clusters, we can
degrade master performance. Since the `/state` endpoint is used to
generate per-agent resource metrics, and we can already get those
by running the exporter on each agent, add a new flag that can
disable the collection of these metrics.
@jpeach jpeach merged commit 35b4966 into mesos:master Aug 21, 2018
ryodocx pushed a commit to ryodocx/mesos_exporter that referenced this pull request Mar 18, 2019
Add a mode to prevent polling the master state.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant