2022-01-25 15:37:43 +01:00
## `lustrestat` collector
```json
"lustrestat": {
2022-03-15 16:41:11 +01:00
"lctl_command": "/path/to/lctl",
2022-01-25 15:37:43 +01:00
"exclude_metrics": [
"setattr",
"getattr"
2022-03-15 16:41:11 +01:00
],
"send_abs_values" : true,
"send_derived_values" : true,
"send_diff_values": true,
"use_sudo": false
2022-01-25 15:37:43 +01:00
}
```
2022-03-15 16:41:11 +01:00
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.
2022-01-25 15:37:43 +01:00
Metrics:
2022-03-15 16:41:11 +01:00
* `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`
* `lustre_read_bw` (if `send_derived_values == true` , unit `bytes/sec` )
* `lustre_write_bw` (if `send_derived_values == true` , unit `bytes/sec` )
* `lustre_read_requests_rate` (if `send_derived_values == true` , unit `requests/sec` )
* `lustre_write_requests_rate` (if `send_derived_values == true` , unit `requests/sec` )
* `lustre_read_bytes_diff` (if `send_diff_values == true` , unit `bytes` )
* `lustre_read_requests_diff` (if `send_diff_values == true` , unit `requests` )
* `lustre_write_bytes_diff` (if `send_diff_values == true` , unit `bytes` )
* `lustre_write_requests_diff` (if `send_diff_values == true` , unit `requests` )
* `lustre_open_diff` (if `send_diff_values == true` )
* `lustre_close_diff` (if `send_diff_values == true` )
* `lustre_getattr_diff` (if `send_diff_values == true` )
* `lustre_setattr_diff` (if `send_diff_values == true` )
* `lustre_statfs_diff` (if `send_diff_values == true` )
* `lustre_inode_permission_diff` (if `send_diff_values == true` )
2022-01-25 15:37:43 +01:00
2022-03-15 16:41:11 +01:00
This collector adds an `device` tag.