-
Notifications
You must be signed in to change notification settings - Fork 814
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
[mongo] add tcmalloc metrics #1832
Conversation
9af741a
to
9b2bc39
Compare
Thanks a lot @benmccann we'll review this for our 5.6.0 release! |
Thanks. Would we be able to get this in now that 5.5.0 has been released? |
Split the metric list in multiple parts: * `COMMON_METRICS`: default metrics to collect * `V2_ONLY_METRICS`: metrics available in MongoDB 2.x only * `TCMALLOC_METRICS`: TCMalloc memory allocator metrics It's easier to assess the check coverage in our CI, and gives more control on the level of metric collection. Create a `collect_tcmalloc_metrics` option (default to False). Extends #1832, thanks a lot @benmccann !
Hi @benmccann, Sincere apologies for the delay on this. Please let me know what you think about it 😄 |
Split the metric list in multiple parts: * `COMMON_METRICS`: default metrics to collect * `V2_ONLY_METRICS`: metrics available in MongoDB 2.x only * `TCMALLOC_METRICS`: TCMalloc memory allocator metrics It's easier to assess the check coverage in our CI, and gives more control on the level of metric collection. Create a `collect_tcmalloc_metrics` option (default to False). Extends #1832, thanks a lot @benmccann !
Split the metric list in multiple parts: * `COMMON_METRICS`: default metrics to collect * `V2_ONLY_METRICS`: metrics available in MongoDB 2.x only * `TCMALLOC_METRICS`: TCMalloc memory allocator metrics It's easier to assess the check coverage in our CI, and gives more control on the level of metric collection. Create a `collect_tcmalloc_metrics` option (default to False). Extends #1832, thanks a lot @benmccann !
Split the metric list in multiple parts: * `COMMON_METRICS`: default metrics to collect * `V2_ONLY_METRICS`: metrics available in MongoDB 2.x only * `TCMALLOC_METRICS`: TCMalloc memory allocator metrics It's easier to assess the check coverage in our CI, and gives more control on the level of metric collection. Create a `collect_tcmalloc_metrics` option (default to False). Extends DataDog#1832, thanks a lot @benmccann !
You will need MongoDB 3.2 or newer to benefit from this PR since that's when the tcmalloc metrics start being returned. This PR works just fine on older versions of MongoDB, but you won't get these new metrics.