Add docs for topprocs collector

This commit is contained in:
Thomas Roehl 2021-12-27 17:07:59 +01:00
parent a6a681348a
commit bc28031ffb

View File

@ -0,0 +1,15 @@
## `topprocs` collector
```json
"topprocs": {
"num_procs": 5
}
```
The `topprocs` collector reads the TopX processes (sorted by CPU utilization, `ps -Ao comm --sort=-pcpu`).
In contrast to most other collectors, the metric value is a `string`.