Skip to content

collectors CPUCollector

Rob Smith edited this page Apr 19, 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

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

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally