prometheus / prometheus/procfs

Expose AER data in pci_device.go

Open
#769 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.