Use InfiniBandClass from procfs library#1396
Merged
discordianfish merged 1 commit intoprometheus:masterfrom Sep 23, 2019
Merged
Use InfiniBandClass from procfs library#1396discordianfish merged 1 commit intoprometheus:masterfrom
discordianfish merged 1 commit intoprometheus:masterfrom
Conversation
a691e8a to
11b44ea
Compare
11de3e8 to
984ee99
Compare
Contributor
Author
|
The check on buildkite failed, but it requires one to have an account to see the failure. Then I created an account, but https://buildkite.com/prometheus/node-exporter/builds/1923 just shows "Page not found". |
Member
|
Yes, sorry, we still don't have public access to buildkite yet. The |
984ee99 to
6e4155e
Compare
Contributor
Author
|
Thanks. I have adjusted |
Parsing the sysfs files for InfiniBand was added to the procfs library (see prometheus/procfs#164). Therefore use `InfiniBandClass` from the procfs library instead of parsing sysfs itself. If the port counter return `N/A (no PMA)` no metric will be returned (instead of returning 0 for this metric. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
6e4155e to
7a2d79a
Compare
Contributor
Author
|
Any updates on this pull request? |
Member
|
Sorry that this kept lingering around! Thanks! |
oblitorum
pushed a commit
to shatteredsilicon/node_exporter
that referenced
this pull request
Apr 9, 2024
Parsing the sysfs files for InfiniBand was added to the procfs library (see prometheus/procfs#164). Therefore use `InfiniBandClass` from the procfs library instead of parsing sysfs itself. If the port counter return `N/A (no PMA)` no metric will be returned (instead of returning 0 for this metric. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
oblitorum
pushed a commit
to shatteredsilicon/node_exporter
that referenced
this pull request
Apr 9, 2024
Parsing the sysfs files for InfiniBand was added to the procfs library (see prometheus/procfs#164). Therefore use `InfiniBandClass` from the procfs library instead of parsing sysfs itself. If the port counter return `N/A (no PMA)` no metric will be returned (instead of returning 0 for this metric. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parsing the sysfs files for InfiniBand was added to the procfs library (see prometheus/procfs#164).
Therefore use
InfiniBandClassfrom the procfs library instead of parsing sysfs itself.