node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

Add collector for PCIe devices with link information

Open naoki9911 opened this issue 8 months ago • 0 comments

The link status of PCIe devices sometimes changes, like link or speed downgrades, and devices disappear. This patch collects PCIe devices' link infromation to detect such failures.

As a first step, this collector exports PCIe devices'

  • Device information (vendor_id, device_id, etc.)
  • Parent PCIe device (e.g. PCIe bridge, PCIe switch)
  • Link status (max_link_{speed|width}, current_link_{speed|width})

This depends on https://github.com/prometheus/procfs/pull/728 https://groups.google.com/g/prometheus-developers/c/0GJTs2OjvCs

naoki9911 avatar May 29 '25 06:05 naoki9911