Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,19 @@ exporters:
- node_status_condition_unknown
- node_status_capacity_pods
- node_status_allocatable_pods
- node_gpu_request

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we want this? I think this was left out in the past since request & limit are always the same for GPUs.

- node_gpu_limit
- node_gpu_usage_total
- node_gpu_reserved_capacity
- node_gpu_unreserved_capacity
- node_gpu_available_capacity
- node_neuroncore_request
- node_neuroncore_limit
- node_neuroncore_usage_total
- node_neuroncore_reserved_capacity
- node_neuroncore_unreserved_capacity
- node_neuroncore_available_capacity
- node_efa_request
- node_efa_limit
- node_efa_usage_total
- node_efa_reserved_capacity
Expand Down
6 changes: 3 additions & 3 deletions translator/translate/otel/exporter/awsemf/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ func getNodeMetricDeclarations(conf *confmap.Conf) []*awsemfexporter.MetricDecla
"node_status_capacity_pods", "node_status_allocatable_pods",
}
if awscontainerinsight.AcceleratedComputeMetricsEnabled(conf) {
nodeMetrics = append(nodeMetrics, "node_gpu_limit", "node_gpu_usage_total", "node_gpu_reserved_capacity", "node_gpu_unreserved_capacity", "node_gpu_available_capacity")
nodeMetrics = append(nodeMetrics, "node_neuroncore_limit", "node_neuroncore_usage_total", "node_neuroncore_reserved_capacity", "node_neuroncore_unreserved_capacity", "node_neuroncore_available_capacity")
nodeMetrics = append(nodeMetrics, "node_efa_limit", "node_efa_usage_total", "node_efa_reserved_capacity", "node_efa_unreserved_capacity", "node_efa_available_capacity")
nodeMetrics = append(nodeMetrics, "node_gpu_request", "node_gpu_limit", "node_gpu_usage_total", "node_gpu_reserved_capacity", "node_gpu_unreserved_capacity", "node_gpu_available_capacity")
nodeMetrics = append(nodeMetrics, "node_neuroncore_request", "node_neuroncore_limit", "node_neuroncore_usage_total", "node_neuroncore_reserved_capacity", "node_neuroncore_unreserved_capacity", "node_neuroncore_available_capacity")
nodeMetrics = append(nodeMetrics, "node_efa_request", "node_efa_limit", "node_efa_usage_total", "node_efa_reserved_capacity", "node_efa_unreserved_capacity", "node_efa_available_capacity")
}
if enhancedContainerInsightsEnabled {
return []*awsemfexporter.MetricDeclaration{
Expand Down
Loading