Publishes statistics from MongoDB's serverstatus to Librato. This code is compatible with MongoDB 3.x, not 2.x.
This code is strongly influenced by 6wunderkinder's postgres-librato code.
Compatible with MongoDB 3.2.
Exposes the following stats:
mongodb.connections- gaugemongodb.network- countermongodb.mem- gaugemongodb.asserts- countermongodb.globalLock.totalTime- countermongodb.globalLock.activeClients- gaugemongodb.globalLock.currentQueue- gauge
$ sudo apt-get -q -y install python-pip
$ sudo pip install -r requirements.txt