Skip to content

collectors MongoDBCollector

Rob Smith edited this page Oct 29, 2012 · 21 revisions

MongoDBCollector

Collects all number values from the db.serverStatus() command, other values are ignored.

Dependencies

  • pymongo

Options - Generic Options

Setting Default Description Type
host localhost Hostname str
enabled False Enable collecting these metrics bool
byte_unit byte Default numeric output(s) str

Example Output

servers.hostname.mongo.db_keys.db_nested_key 1
servers.hostname.mongo.dbkey 2
Clone this wiki locally