-
Notifications
You must be signed in to change notification settings - Fork 384
collectors CPUCollector
Rob Smith edited this page Sep 16, 2014
·
17 revisions
The CPUCollector collects CPU utilization metric using /proc/stat.
- /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 |
metrics_blacklist | None | Regex to match metrics to block. Mutually exclusive with metrics_whitelist | NoneType |
metrics_whitelist | None | Regex to match metrics to transmit. Mutually exclusive with metrics_blacklist | NoneType |
normalize | False | for cpu totals, divide by the number of CPUs | str |
percore | True | Collect metrics per cpu core or just total | str |
simple | False | only return aggregate CPU% metric | str |
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