-
Notifications
You must be signed in to change notification settings - Fork 384
collectors ProcessMemoryCollector
Rob Smith edited this page Jan 31, 2013
·
2 revisions
A Diamond collector that collects memory usage of each process defined in it's config file by matching them with their executable filepath or the process name. This collector can also be used to collect memory usage for the Diamond process.
Example config file ProcessMemoryCollector.conf
enabled=True
unit=kB
[process]
[[postgres]]
exe=^\/usr\/lib\/postgresql\/+d.+d\/bin\/postgres$
name=^postgres,^pg
[[diamond]]
selfmon=True
exe and name are both lists of comma-separated regexps.
Options - Generic Options
Setting | Default | Description | Type |
---|---|---|---|
byte_unit | byte | Default numeric output(s) | str |
enabled | False | Enable collecting these metrics | bool |
measure_collector_time | False | Collect the collector run time in ms | bool |
process | A subcategory of settings inside of which each collected process has it's configuration | str | |
unit | B | The unit in which memory data is collected. | str |
__EXAMPLESHERE__