mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-28 23:55:06 +01:00
1.4 KiB
1.4 KiB
nfs3stat collector
"nfs3stat": {
"nfsstat": "/path/to/nfsstat",
"exclude_metrics": [
"total"
],
"only_metrics": [
"read_diff"
],
"send_abs_values": true,
"send_diff_values": true,
"send_derived_values": true
}
The nfs3stat collector reads data from nfsstat command and outputs a handful node metrics.
Both filtering mechanisms are supported:
exclude_metrics: Excludes the specified metrics. Uses base metric names without the nfs3_ prefix.only_metrics: If provided, only the listed metrics are collected. This takes precedence overexclude_metrics.
Absolute Metrics:
nfs3_totalnfs3_nullnfs3_getattrnfs3_setattrnfs3_lookupnfs3_accessnfs3_readlinknfs3_readnfs3_writenfs3_createnfs3_mkdirnfs3_symlinknfs3_removenfs3_rmdirnfs3_renamenfs3_linknfs3_readdirnfs3_readdirplusnfs3_fsstatnfs3_fsinfonfs3_pathconfnfs3_commit
Diff Metrics:
For each metric, if send_diff_values is enabled, the collector computes the difference (current value minus previous value) and sends it with the suffix _diff.
Derived Metrics:
For each metric, if send_derived_values is enabled, the collector computes the rate (difference divided by the time interval) and sends it with the suffix _rate.