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

[mongo] add tcmalloc metrics #1832

Closed
wants to merge 1 commit into from
Closed

Conversation

benmccann
Copy link
Contributor

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.

@benmccann benmccann force-pushed the tcmalloc branch 2 times, most recently from 9af741a to 9b2bc39 Compare August 20, 2015 18:22
@remh
Copy link

remh commented Aug 28, 2015

Thanks a lot @benmccann we'll review this for our 5.6.0 release!

@benmccann
Copy link
Contributor Author

Thanks. Would we be able to get this in now that 5.5.0 has been released?

yannmh added a commit that referenced this pull request Oct 16, 2015
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 !
@yannmh
Copy link
Member

yannmh commented Oct 16, 2015

Hi @benmccann,

Sincere apologies for the delay on this.
I rebased your work to sync with the current state of the check and added TCMalloc metrics collection behind an option. The idea is to keep the metric list as succinct as possible but allows 'advanced user' to enhance it by turning on some options.
Changes are available in this PR #1979 and contains your commit. In the meantime, I am closing this one.

Please let me know what you think about it 😄

@yannmh yannmh closed this Oct 16, 2015
yannmh added a commit that referenced this pull request Oct 16, 2015
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 !
yannmh added a commit that referenced this pull request Oct 29, 2015
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 !
urosgruber pushed a commit to urosgruber/dd-agent that referenced this pull request Dec 23, 2015
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 !
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

Successfully merging this pull request may close these issues.

3 participants