prometheus / prometheus/procfs
Expose AER data in pci_device.go
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 883
- Forks
- 388
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 3
Description
The current pci_device.go can be extended to expose AER data for supproted devices. The implementation will be similar to that in https://github.com/prometheus/procfs/blob/master/sysfs/net_class_aer.go
I will work on this.
I also think the net_class_aer implementation should have ideally be done in pci_device. Should I move that? Thoughts on this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pci_device.go and compare its device handling with sysfs/net_class_aer.go in the linked procfs repository. Determine how AER data should be exposed for supported PCI devices, then verify the resulting API and any existing tests; the issue leaves moving net_class_aer into pci_device unresolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100