Skip to content

collectors CPUCollector

huoxy edited this page Apr 17, 2013 · 17 revisions

CPUCollector

The CPUCollector collects CPU utilization metric using /proc/stat.

Dependencies

  • /proc/stat

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled True Enable collecting these metrics str
measure_collector_time False Collect the collector run time in ms bool
percore True Enable collecting each cpu's metrics bool

Example Output

servers.hostname.cpu.total.idle 2440.8
servers.hostname.cpu.total.iowait 0.2
servers.hostname.cpu.total.nice 0.0
servers.hostname.cpu.total.system 0.2
servers.hostname.cpu.total.user 0.4
Clone this wiki locally