mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-05 21:25:55 +02:00
1.9 KiB
1.9 KiB
lustrestat
collector
"lustrestat": {
"lctl_command": "/path/to/lctl",
"exclude_metrics": [
"lustre_setattr",
"lustre_getattr"
],
"only_metrics": [
"lustre_read_bytes",
"lustre_read_bytes_diff",
"lustre_read_bw",
"lustre_open",
"lustre_open_diff"
],
"send_abs_values": true,
"send_diff_values": true,
"send_derived_values": true,
"use_sudo": false
}
The lustrestat
collector uses the lctl
application with the get_param
option to get all llite
metrics (Lustre client). The llite
metrics are only available for root users. If password-less sudo is configured, you can enable sudo
in the configuration.
At least one of the settings for absolute, diff, and derived values must be set to true.
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 are categorized as follows:
Absolute Metrics:
lustre_read_bytes
(unit:bytes
)lustre_read_requests
(unit:requests
)lustre_write_bytes
(unit:bytes
)lustre_write_requests
(unit:requests
)lustre_open
lustre_close
lustre_getattr
lustre_setattr
lustre_statfs
lustre_inode_permission
Diff Metrics:
lustre_read_bytes_diff
(unit:bytes
)lustre_read_requests_diff
(unit:requests
)lustre_write_bytes_diff
(unit:bytes
)lustre_write_requests_diff
(unit:requests
)lustre_open_diff
lustre_close_diff
lustre_getattr_diff
lustre_setattr_diff
lustre_statfs_diff
lustre_inode_permission_diff
Derived Metrics:
lustre_read_bw
(unit:bytes/sec
)lustre_write_bw
(unit:bytes/sec
)lustre_read_requests_rate
(unit:requests/sec
)lustre_write_requests_rate
(unit:requests/sec
)
This collector adds a device
tag.