Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Collect /sys/net/class PCIE AER counters #3201

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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
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