mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 12:37:25 +01:00
aa1afd745e
* Add time-based derivatived (e.g. bandwidth) to some collectors * Add documentation * Add comments * Fix: Only compute rates with a valid previous state * Only compute rates with a valid previous state * Define const values for net/dev fields * Set default config values * Add comments * Refactor: Consolidate data structures * Refactor: Consolidate data structures * Refactor: Avoid struct deep copy * Refactor: Avoid redundant tag maps * Refactor: Use int64 type for absolut values * Update LustreCollector Co-authored-by: Holger Obermaier <40787752+ho-ob@users.noreply.github.com>
1.8 KiB
1.8 KiB
lustrestat
collector
"lustrestat": {
"lctl_command": "/path/to/lctl",
"exclude_metrics": [
"setattr",
"getattr"
],
"send_abs_values" : true,
"send_derived_values" : true,
"send_diff_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.
Metrics:
lustre_read_bytes
(unitbytes
)lustre_read_requests
(unitrequests
)lustre_write_bytes
(unitbytes
)lustre_write_requests
(unitrequests
)lustre_open
lustre_close
lustre_getattr
lustre_setattr
lustre_statfs
lustre_inode_permission
lustre_read_bw
(ifsend_derived_values == true
, unitbytes/sec
)lustre_write_bw
(ifsend_derived_values == true
, unitbytes/sec
)lustre_read_requests_rate
(ifsend_derived_values == true
, unitrequests/sec
)lustre_write_requests_rate
(ifsend_derived_values == true
, unitrequests/sec
)lustre_read_bytes_diff
(ifsend_diff_values == true
, unitbytes
)lustre_read_requests_diff
(ifsend_diff_values == true
, unitrequests
)lustre_write_bytes_diff
(ifsend_diff_values == true
, unitbytes
)lustre_write_requests_diff
(ifsend_diff_values == true
, unitrequests
)lustre_open_diff
(ifsend_diff_values == true
)lustre_close_diff
(ifsend_diff_values == true
)lustre_getattr_diff
(ifsend_diff_values == true
)lustre_setattr_diff
(ifsend_diff_values == true
)lustre_statfs_diff
(ifsend_diff_values == true
)lustre_inode_permission_diff
(ifsend_diff_values == true
)
This collector adds an device
tag.