mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-05 21:25:55 +02:00
795 B
795 B
diskstat
collector
"diskstat": {
"exclude_metrics": [
"part_max_used"
],
"only_metrics": [
"disk_free",
],
"exclude_mounts": [
"slurm-tmpfs"
]
}
The diskstat
collector reads data from /proc/self/mounts
and outputs a handful node metrics.
Any mount point containing one of the strings specified in exclude_mounts
will be skipped during metric collection.
Both filtering mechanisms are supported:
exclude_metrics
: Excludes the specified metrics.only_metrics
: If provided, only the listed metrics are collected. This takes precedence overexclude_metrics
.
Metrics per device (with device
tag):
disk_total
(unitGBytes
)disk_free
(unitGBytes
)
Global metrics:
part_max_used
(unitpercent
)