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

procfs still unable to collect IB counters #589

Closed
mtds opened this issue Nov 16, 2023 · 0 comments · Fixed by #605
Closed

procfs still unable to collect IB counters #589

mtds opened this issue Nov 16, 2023 · 0 comments · Fixed by #605

Comments

@mtds
Copy link

mtds commented Nov 16, 2023

dswarbrick added a commit to dswarbrick/procfs that referenced this issue Feb 15, 2024
This skips parsing /sys/class/infiniband/<device>/ports/<port-num>/counters
for irdma devices, which do not expose it, and would previously cause
parseInfiniBandPort() to return an error. Instead, irdma devices expose
/sys/class/infiniband/<device>/ports/<port-num>/hw_counters.

Fixes: prometheus#589

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
SuperQ pushed a commit that referenced this issue Feb 15, 2024
This skips parsing /sys/class/infiniband/<device>/ports/<port-num>/counters
for irdma devices, which do not expose it, and would previously cause
parseInfiniBandPort() to return an error. Instead, irdma devices expose
/sys/class/infiniband/<device>/ports/<port-num>/hw_counters.

Fixes: #589

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
jritter pushed a commit to jritter/procfs that referenced this issue Jul 15, 2024
This skips parsing /sys/class/infiniband/<device>/ports/<port-num>/counters
for irdma devices, which do not expose it, and would previously cause
parseInfiniBandPort() to return an error. Instead, irdma devices expose
/sys/class/infiniband/<device>/ports/<port-num>/hw_counters.

Fixes: prometheus#589

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.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 a pull request may close this issue.

1 participant