mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-14 05:57:25 +01:00
435528fa97
* Split diskstats (free, total space) and iostats (reads, writes, ... * Add iostat Collector to CollectorManager
22 lines
447 B
Markdown
22 lines
447 B
Markdown
|
|
## `diskstat` collector
|
|
|
|
```json
|
|
"diskstat": {
|
|
"exclude_metrics": [
|
|
"disk_total"
|
|
],
|
|
}
|
|
```
|
|
|
|
The `diskstat` collector reads data from `/proc/self/mounts` and outputs a handful **node** metrics. If a metric is not required, it can be excluded from forwarding it to the sink.
|
|
|
|
Metrics per device (with `device` tag):
|
|
* `disk_total` (unit `GBytes`)
|
|
* `disk_free` (unit `GBytes`)
|
|
|
|
Global metrics:
|
|
* `part_max_used` (unit `percent`)
|
|
|
|
|