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

Support mongodb collection metrics per collection #335

Merged
merged 2 commits into from
Jul 20, 2017
Merged

Support mongodb collection metrics per collection #335

merged 2 commits into from
Jul 20, 2017

Conversation

jensendw
Copy link
Contributor

@jensendw jensendw commented Jul 17, 2017

It occurred to me that there wasn't support for specifying individual collections using the puppet module, this adds that functionality.

@truthbk truthbk self-requested a review July 19, 2017 15:59
@truthbk
Copy link
Member

truthbk commented Jul 19, 2017

@jensendw thank you for this improvement! This looks pretty solid. Would you have the time to add a spec test to ensure this doesn't break in the future? Let me know if that's a problem :)

Thanks!

@truthbk truthbk added this to the 1.11.0 milestone Jul 19, 2017
Copy link
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! 👍

If you could add a spec test covering the use-case where we do specify a collection, and add an example in the manifest comments here that would be awesome 😊

@jensendw
Copy link
Contributor Author

@truthbk Done. I also added tests and comments for the additional_metrics since that was missing.

Copy link
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work! And definitely some 🍰 for the tests, we really appreciate that! Merging!

@truthbk truthbk merged commit 1103564 into DataDog:master Jul 20, 2017
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Jan 31, 2018
* Support mongodb collection metrics per collection

* spec tests and example for mongo collections/additional_metrics
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.

2 participants