mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
24 lines
449 B
Markdown
24 lines
449 B
Markdown
|
|
||
|
## `cpustat` collector
|
||
|
```json
|
||
|
"netstat": {
|
||
|
"exclude_metrics": [
|
||
|
"cpu_idle"
|
||
|
]
|
||
|
}
|
||
|
```
|
||
|
|
||
|
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.
|
||
|
|
||
|
Metrics:
|
||
|
* `cpu_user`
|
||
|
* `cpu_nice`
|
||
|
* `cpu_system`
|
||
|
* `cpu_idle`
|
||
|
* `cpu_iowait`
|
||
|
* `cpu_irq`
|
||
|
* `cpu_softirq`
|
||
|
* `cpu_steal`
|
||
|
* `cpu_guest`
|
||
|
* `cpu_guest_nice`
|