Skip to content

collectors ProcessMemoryCollector

Rob Smith edited this page Jan 2, 2013 · 2 revisions

ProcessMemoryCollector

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.

Example config file ProcessMemoryCollector.conf

enabled=True
unit=kB
[process]
[[postgres]]
exe=^\/usr\/lib\/postgresql\/+d.+d\/bin\/postgres$
name=^postgres,^pg

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

Example Output

__EXAMPLESHERE__

Clone this wiki locally