-
Notifications
You must be signed in to change notification settings - Fork 235
Add EFA Metrics to Container Insights #1941
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
base: main
Are you sure you want to change the base?
Conversation
|
This PR was marked stale due to lack of activity. |
| "container_efa_rdma_read_bytes", | ||
| "container_efa_rdma_write_bytes", | ||
| "container_efa_rdma_write_recv_bytes", | ||
| "container_efa_retrans_bytes", |
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.
also need to update translation test aws/amazon-cloudwatch-agent/translator/tocwconfig/sampleConfig/emf_and_kubernetes_with_gpu_config.yaml
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.
Does emf_and_kubernetes_with_gpu_high_frequency_config.yaml need to be updated too?
|
This PR was marked stale due to lack of activity. |
Blocked on amazon-contributing/opentelemetry-collector-contrib#385 before merging. will update go.mod after that PR has been merged in
Description of the issue
Elastic Fabric Adapter (EFA) is a network interface for Amazon EC2 instances that enables customers to run applications requiring high levels of inter-node communications at scale on AWS. EFA provides lower and more consistent latency and higher throughput than traditional TCP transport, making it ideal for high-performance computing (HPC), machine learning (ML) training, and other distributed workloads.
Currently, the CloudWatch Agent lacks visibility into some new EFA metrics, which are critical for:
Description of changes
This PR adds collection of five key EFA metrics at the node, container, and pod levels:
These metrics are collected from the Linux sysfs interface exposed by the EFA driver and are aggregated at:
The implementation reads hardware counters from the sysfs filesystem and exposes them through the CloudWatch Agent's container insights metrics pipeline.
Tests
Manual Testing:
vpc.amazonaws.com/efa: 1)Testing Configuration:
The metrics were successfully published to CloudWatch and are queryable with appropriate dimensions (node, pod, container).