mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-24 14:55:06 +02:00
1.1 KiB
1.1 KiB
nfsiostat collector
"nfsiostat": {
"exclude_metrics": [
"nfsio_oread"
],
"exclude_filesystems" : [
"/mnt",
],
"use_server_as_stype": false
}
The nfsiostat collector reads data from /proc/self/mountstats and outputs a handful node metrics for each NFS filesystem. If a metric or filesystem is not required, it can be excluded from forwarding it to the sink.
Metrics:
nfsio_nread: Bytes transferred by normalread()callsnfsio_nwrite: Bytes transferred by normalwrite()callsnfsio_oread: Bytes transferred byread()calls withO_DIRECTnfsio_owrite: Bytes transferred bywrite()calls withO_DIRECTnfsio_pageread: Pages transferred byread()callsnfsio_pagewrite: Pages transferred bywrite()callsnfsio_nfsread: Bytes transferred for reading from the servernfsio_nfswrite: Pages transferred by writing to the server
The nfsiostat collector adds the mountpoint to the tags as stype=filesystem,stype-id=<mountpoint>. If the server address should be used instead of the mountpoint, use the use_server_as_stype config setting.