From 7458cedaf061f18bc662ee760b3ccf229e302c8f Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Thu, 19 Dec 2024 21:17:27 +0100 Subject: [PATCH] Add units to documentation of cpustat collector --- collectors/cpustatMetric.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/collectors/cpustatMetric.md b/collectors/cpustatMetric.md index d160410..f4e0616 100644 --- a/collectors/cpustatMetric.md +++ b/collectors/cpustatMetric.md @@ -13,14 +13,15 @@ The `cpustat` collector reads data from `/proc/stat` and outputs a handful **nod Metrics: -* `cpu_user` -* `cpu_nice` -* `cpu_system` -* `cpu_idle` -* `cpu_iowait` -* `cpu_irq` -* `cpu_softirq` -* `cpu_steal` -* `cpu_guest` -* `cpu_guest_nice` -* `cpu_used` = `cpu_* - cpu_idle` \ No newline at end of file +* `cpu_user` with `unit=Percent` +* `cpu_nice` with `unit=Percent` +* `cpu_system` with `unit=Percent` +* `cpu_idle` with `unit=Percent` +* `cpu_iowait` with `unit=Percent` +* `cpu_irq` with `unit=Percent` +* `cpu_softirq` with `unit=Percent` +* `cpu_steal` with `unit=Percent` +* `cpu_guest` with `unit=Percent` +* `cpu_guest_nice` with `unit=Percent` +* `cpu_used` = `cpu_* - cpu_idle` with `unit=Percent` +* `num_cpus` \ No newline at end of file