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

mongodb 3.x supports #302

Merged
merged 2 commits into from
Mar 16, 2016
Merged

mongodb 3.x supports #302

merged 2 commits into from
Mar 16, 2016

Conversation

newpcraft
Copy link
Contributor

  • allow to collect metrics from config, mongos, replica separately
  • authentication support
  • should define db list in mongodb3_conf.py if need
  • require pymongo library due to json parser

- allow to collect metrics from config, mongos, replica separately
- authentication support
- should define db list in mongodb3_conf.py if need
- require pymongo library due to json parser
@@ -0,0 +1,320 @@
#!/usr/bin/python
Copy link
Member

Choose a reason for hiding this comment

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

/usr/bin/env python

@johann8384
Copy link
Member

Looks pretty good! I made a few small notes, also check your build. It looks like you committed the collector with the wrong permissions for it to be executable.

- fixed the mongo3.py file permission
- fixed to be used the INTERVAL value that comes from the config
- fixed to handle global variables
@newpcraft
Copy link
Contributor Author

It's my mistake, I just updated the code.
Thanks.

@johann8384 johann8384 added this to the 1.3.1 milestone Mar 16, 2016
@johann8384 johann8384 self-assigned this Mar 16, 2016
johann8384 added a commit that referenced this pull request Mar 16, 2016
@johann8384 johann8384 merged commit ff4a43b into OpenTSDB:master Mar 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants