mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-07 05:55:55 +02:00
* Check creation of CCMessage in NATS receiver * add exclude_device for iostatMetric * add md file --------- Co-authored-by: Thomas Roehl <thomas.roehl@fau.de> Co-authored-by: exterr2f <Robert.Externbrink@rub.de> Co-authored-by: Thomas Gruber <Thomas.Roehl@googlemail.com>
40 lines
827 B
Markdown
40 lines
827 B
Markdown
|
|
## `iostat` collector
|
|
|
|
```json
|
|
"iostat": {
|
|
"exclude_metrics": [
|
|
"io_read_ms"
|
|
],
|
|
"exclude_devices": [
|
|
"nvme0n1p1",
|
|
"nvme0n1p2",
|
|
"md127"
|
|
]
|
|
}
|
|
```
|
|
|
|
The `iostat` collector reads data from `/proc/diskstats` and outputs a handful **node** metrics. If a metric or device is not required, it can be excluded from forwarding it to the sink.
|
|
|
|
Metrics:
|
|
* `io_reads`
|
|
* `io_reads_merged`
|
|
* `io_read_sectors`
|
|
* `io_read_ms`
|
|
* `io_writes`
|
|
* `io_writes_merged`
|
|
* `io_writes_sectors`
|
|
* `io_writes_ms`
|
|
* `io_ioops`
|
|
* `io_ioops_ms`
|
|
* `io_ioops_weighted_ms`
|
|
* `io_discards`
|
|
* `io_discards_merged`
|
|
* `io_discards_sectors`
|
|
* `io_discards_ms`
|
|
* `io_flushes`
|
|
* `io_flushes_ms`
|
|
|
|
The device name is added as tag `device`. For more details, see https://www.kernel.org/doc/html/latest/admin-guide/iostats.html
|
|
|