-
Notifications
You must be signed in to change notification settings - Fork 384
collectors MongoDBCollector
Rob Smith edited this page Apr 13, 2013
·
21 revisions
Collects all number values from the db.serverStatus() command, other values are ignored.
- pymongo
Options - Generic Options
Setting | Default | Description | Type |
---|---|---|---|
byte_unit | byte | Default numeric output(s) | str |
databases | .* | A regex of which databases to gather metrics for. Defaults to all databases. | str |
enabled | False | Enable collecting these metrics | bool |
host | A single hostname(:port) to get metrics from (can be used instead of hosts and overrides it) | ||
hosts | localhost, | Array of hostname(:port) elements to get metrics from | list |
ignore_collections | ^tmp\.mr\. | A regex of which collections to ignore. MapReduce temporary collections (tmp.mr.*) are ignored by default. | str |
measure_collector_time | False | Collect the collector run time in ms | bool |
servers.hostname.mongo.db_keys.db_nested_key 1
servers.hostname.mongo.dbkey 2