Add new sysfs class for Amazon Elastic Fabric Adapter#515
Open
perifaws wants to merge 1 commit intoprometheus:masterfrom
Open
Add new sysfs class for Amazon Elastic Fabric Adapter#515perifaws wants to merge 1 commit intoprometheus:masterfrom
perifaws wants to merge 1 commit intoprometheus:masterfrom
Conversation
f09883d to
c4ad75e
Compare
Signed-off-by: Pierre-Yves Aquilanti <pierreya@amazon.com>
c4ad75e to
4b4cb05
Compare
|
Can you please add some unit tests with examples of what the |
Contributor
|
What's EFA specific about the collector? I can't see anywhere that it checks the PCI device ID or something like that for an Amazon VID/PID. Looks like it just looks in the normal infiniband directories? eg if I have a random Mellanox IB device, will this collector ignore it? |
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.
This change adds a new sysfs class to read metrics from Amazon Elastic Fabric Adapter (EFA). This change is based on the Infiniband class.
EFA is supported on a variety of Amazon EC2 instances (list here) and is relevant for HPC & distributed training (ML) applications in the same fashion as Infiniband.
There's an associated collector for the
node_exportergenerated for validation. Happy to provide a sample output as requested. Thanks!Related to the Prometheus Google Groups thread: https://groups.google.com/g/prometheus-developers/c/MEal59mDebs/m/ZQBU1f0hCAAJ