Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
I'm trying to report mongo stats, and I added this mongodb collector configuration.
(I'm using HostedGraphite and I'm trying to reduce metrics count by using whitelist)
I am guessing your reggex is wrong. Please double check it. Reopen if it is correct and you still have no metrics reported. Also include a current config and log output.
Hi,
I'm trying to report mongo stats, and I added this mongodb collector configuration. (I'm using HostedGraphite and I'm trying to reduce metrics count by using whitelist)
Here's my configuration:
[[MongoDBCollector]] enabled = True hosts = localhost:27017 metrics_whitelist = .mongo.(?:connections|locks).|.mongo\.metrics\.(?:document|cursor).|.mongo\.databases.\.(?:size|totalIndexSize|count)
And now I don't get any metrics...
Any idea why?