-
Notifications
You must be signed in to change notification settings - Fork 428
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
Collector for working with data from the system profile #710
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I think I like to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me. Should we add to documentation how to enable profile?
Where is the best place to describe this? |
@mikle7771 I think somewhere here will be ok |
Done |
👍 |
This implementation allows you to get metrics on slow queries.
--collector.profile-time-ts=30 Set time for scrape slow queries. This interval must be synchronized with the Prometheus scrape interval
For the collector to work, you must enable the profiler
https://www.mongodb.com/docs/manual/tutorial/manage-the-database-profiler/
This PR implements the functionality from this issue #707