Skip to content

Conversation

@dasturiasArista
Copy link

@dasturiasArista dasturiasArista commented Dec 10, 2024

WIP: I would like to get some feedback if this is something that would be accepted. This fully works, but it also has a pending PR in the procfs repo.

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

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

I have generated a PR in the proc fs repo as well to keep more in the style of other sysfs collectors.

@dasturiasArista dasturiasArista marked this pull request as ready for review December 19, 2024 00:10
@dasturiasArista dasturiasArista marked this pull request as draft December 19, 2024 00:26
@dasturiasArista dasturiasArista marked this pull request as ready for review December 26, 2024 20:04
@dasturiasArista
Copy link
Author

prometheus/procfs#686 Has been merged. So would like to merge this simple exporter for that data.

@dasturiasArista dasturiasArista marked this pull request as draft December 26, 2024 21:37
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