Skip to content

Conversation

@dasturiasArista
Copy link
Contributor

Linux provides AER counters in the path /sys/class/net//device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

I would like to merge up this functionality since I would like to extend the node exporter to be able to report AER statistics and I wanted to follow the same pattern as the other class/net counters

Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

Signed-off-by: Diego Asturias <dasturias@arista.com>
Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

Signed-off-by: Diego Asturias <dasturias@arista.com>
Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

Signed-off-by: Diego Asturias <dasturias@arista.com>
@dasturiasArista
Copy link
Contributor Author

https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats has more information about these counters

Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

Signed-off-by: Diego Asturias <dasturias@arista.com>
Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@SuperQ SuperQ merged commit 24ab3d8 into prometheus:master Dec 21, 2024
9 checks passed
localhots pushed a commit to localhots/procfs that referenced this pull request Jan 6, 2025
* feat: Read PCIE AER counters class/net

Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

---------

Signed-off-by: Diego Asturias <dasturias@arista.com>
Signed-off-by: Gregory Eremin <g@erem.in>
dasturiasArista added a commit to dasturiasArista/procfs that referenced this pull request Jan 28, 2025
* feat: Read PCIE AER counters class/net

Linux provides AER counters in the path /sys/class/net/<iface>/device/

This is split amoung 3 different files:
aer_dev_correctable
aer_dev_fatal
aer_dev_nonfatal

---------

Signed-off-by: Diego Asturias <dasturias@arista.com>
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.

2 participants