Add units to documentation of cpustat collector

This commit is contained in:
Thomas Roehl 2024-12-19 21:17:27 +01:00
parent 0aa6c062e1
commit 7458cedaf0

View File

@ -13,14 +13,15 @@ The `cpustat` collector reads data from `/proc/stat` and outputs a handful **nod
Metrics: Metrics:
* `cpu_user` * `cpu_user` with `unit=Percent`
* `cpu_nice` * `cpu_nice` with `unit=Percent`
* `cpu_system` * `cpu_system` with `unit=Percent`
* `cpu_idle` * `cpu_idle` with `unit=Percent`
* `cpu_iowait` * `cpu_iowait` with `unit=Percent`
* `cpu_irq` * `cpu_irq` with `unit=Percent`
* `cpu_softirq` * `cpu_softirq` with `unit=Percent`
* `cpu_steal` * `cpu_steal` with `unit=Percent`
* `cpu_guest` * `cpu_guest` with `unit=Percent`
* `cpu_guest_nice` * `cpu_guest_nice` with `unit=Percent`
* `cpu_used` = `cpu_* - cpu_idle` * `cpu_used` = `cpu_* - cpu_idle` with `unit=Percent`
* `num_cpus`