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

Open
wants to merge 3 commits into
from

Conversation

Projects
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
45aeb49
@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.

http://docs.mongodb.org/manual/reference/server-status/
4d3618f
@adulau adulau Ratio is calculated on the global lock time versus total time
100 * (getServerStatus()["globalLock"]["lockTime"]/getServerStatus()["globalLock"]["totalTime"])
6900c9c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment