Correct type: /proc/stats -> /proc/stat

This commit is contained in:
Holger Obermaier 2022-10-13 15:01:39 +02:00
parent 7a67d5e25f
commit deb1bcfa2f

View File

@ -1,5 +1,6 @@
## `cpustat` collector ## `cpustat` collector
```json ```json
"cpustat": { "cpustat": {
"exclude_metrics": [ "exclude_metrics": [
@ -8,9 +9,10 @@
} }
``` ```
The `cpustat` collector reads data from `/proc/stats` and outputs a handful **node** and **hwthread** metrics. If a metric is not required, it can be excluded from forwarding it to the sink. The `cpustat` collector reads data from `/proc/stat` and outputs a handful **node** and **hwthread** metrics. If a metric is not required, it can be excluded from forwarding it to the sink.
Metrics: Metrics:
* `cpu_user` * `cpu_user`
* `cpu_nice` * `cpu_nice`
* `cpu_system` * `cpu_system`