2022-01-25 15:37:43 +01:00
## `ibstat` collector
```json
"ibstat": {
"exclude_devices": [
"mlx4"
2022-03-11 13:48:18 +01:00
],
"send_abs_values": true,
"send_derived_values": true
2022-01-25 15:37:43 +01:00
}
```
2022-02-07 09:46:19 +01:00
The `ibstat` collector includes all Infiniband devices that can be
found below `/sys/class/infiniband/` and where any of the ports provides a
LID file (`/sys/class/infiniband/< dev > /ports/< port > /lid`)
2022-02-07 09:22:59 +01:00
The devices can be filtered with the `exclude_devices` option in the configuration.
2022-02-07 09:46:19 +01:00
2023-08-29 14:12:49 +02:00
For each found LID the collector reads data through the sysfs files below `/sys/class/infiniband/<device>` . (See: < https: // www . kernel . org / doc / Documentation / ABI / stable / sysfs-class-infiniband > )
2022-01-25 15:37:43 +01:00
Metrics:
2023-08-29 14:12:49 +02:00
2022-01-25 15:37:43 +01:00
* `ib_recv`
* `ib_xmit`
2022-02-07 09:22:59 +01:00
* `ib_recv_pkts`
* `ib_xmit_pkts`
2023-08-29 14:12:49 +02:00
* `ib_total = ib_recv + ib_xmit` (if `send_total_values == true` )
* `ib_total_pkts = ib_recv_pkts + ib_xmit_pkts` (if `send_total_values == true` )
2022-03-11 13:48:18 +01:00
* `ib_recv_bw` (if `send_derived_values == true` )
* `ib_xmit_bw` (if `send_derived_values == true` )
* `ib_recv_pkts_bw` (if `send_derived_values == true` )
* `ib_xmit_pkts_bw` (if `send_derived_values == true` )
2022-01-25 15:37:43 +01:00
The collector adds a `device` tag to all metrics