Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Version for Python 3 and updates for MongoDB 2.2 version #9

wants to merge 3 commits into


None yet
1 participant

adulau commented Nov 28, 2012

Version for Python 3 and updates for MongoDB 2.2 version. Feel free to branch it if you want to have a clean separation between for Python 2 and 3. Tested on Python 3.3 with MongoDB 2.2.1.

I hope this helps.

adulau added some commits Nov 28, 2012

@adulau adulau Converted code to Python 3.3
Tested on Python 3.3
@adulau adulau globalLock.ratio was removed in version 2.2 of MongoDB
It's now replace with the global lock time. This graph
calculation and label need to be fixed.

@adulau adulau Ratio is calculated on the global lock time versus total time
100 * (getServerStatus()["globalLock"]["lockTime"]/getServerStatus()["globalLock"]["totalTime"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment