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

Adding more option to enable required mongo stats to monitor #284

Open
Nitesh-vaidyanath opened this issue Dec 25, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@Nitesh-vaidyanath
Copy link

Request

Currently there's is not way to enable or disable mongo metrics which we are interested in, by default CollectAll is set to true. This feature request to expose variables to agent integration to enable or disable stats which we are interested in.

I have made some changes to add this feature, by default exporter will monitor for all mongo stats until we set required stats to true.

Use case

We have a use case to monitor only health of replica set every 15 seconds but we are not interested in db or Coll or index stats for every 15 seconds.

@Nitesh-vaidyanath
Copy link
Author

grafana/agent#6021 PR

Copy link
Contributor

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!

@rfratto rfratto transferred this issue from grafana/agent Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant