-
Notifications
You must be signed in to change notification settings - Fork 213
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: infiniband plugin #304
Conversation
278f3ae
to
902d328
Compare
902d328
to
2bf81a5
Compare
image-metadata-retina-agent-v0.0.5-24-g77b2e86-linux-amd64.json
Outdated
Show resolved
Hide resolved
pkg/plugin/infiniband/testdata/infiniband/mlx5_an0/ports/1/counters/VL15_dropped
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving. I recommend to generate the test files programatically instead of adding more files to the repo. That also allows for more flexibility (since you can generate different tests scenarios)
7432c7d
to
58a6204
Compare
63d7186
to
d289b57
Compare
d289b57
to
aba99ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
aba99ed
to
d44e5d5
Compare
d44e5d5
to
d7819a7
Compare
d7819a7
to
29ce809
Compare
# Description Adds a plugin to collect metrics from the Nvidia Infiniband driver port counters at /sys/class/infiniband/<device>/ports/<port>/counters and debug status parameters at /sys/class/net/<iface>/debug. The data is available as two new metrics, InfinibandCounterStats (labels: counter name, device, and port) and InfinibandStatusParams (labels: status param name and interface). ## Checklist - [x] I have read the [contributing documentation](https://retina.sh/docs/contributing). - [x] I signed and signed-off the commits (`git commit -S -s ...`). See [this documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) on signing commits. - [x] I have correctly attributed the author(s) of the code. - [x] I have tested the changes locally. - [x] I have followed the project's style guidelines. - [x] I have updated the documentation, if necessary. - [x] I have added tests, if applicable. --- Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more information on how to contribute to this project.
Description
Adds a plugin to collect metrics from the Nvidia Infiniband driver port counters at /sys/class/infiniband//ports//counters and debug status parameters at /sys/class/net//debug. The data is available as two new metrics, InfinibandCounterStats (labels: counter name, device, and port) and InfinibandStatusParams (labels: status param name and interface).
Checklist
git commit -S -s ...
). See this documentation on signing commits.Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.