From 0dcab412ef4a56c752c8fe22124ebe9acd90d93c Mon Sep 17 00:00:00 2001 From: Alex Telpis Date: Sat, 8 Nov 2025 18:35:42 -0600 Subject: [PATCH] Add k8s workload labels to nvidia aggregation conf --- cmd/do-agent/aggregation.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/do-agent/aggregation.go b/cmd/do-agent/aggregation.go index 5c3c6e8..52b9072 100644 --- a/cmd/do-agent/aggregation.go +++ b/cmd/do-agent/aggregation.go @@ -108,7 +108,10 @@ var amdAggregatedLabels = []string{ // nvidiaAggregatedLabels contains all the labels we want to aggregate on for NVIDIA GPU metrics. // keep only gpu and Hostname -var nvidiaAggregatedLabels = []string{"pci_bus_id", "UUID", "device", "modelName", "DCGM_FI_DRIVER_VERSION"} +var nvidiaAggregatedLabels = []string{ + "pci_bus_id", "UUID", "device", "modelName", "DCGM_FI_DRIVER_VERSION", + "container", "namespace", "pod", +} var gpuAggregationSpec = map[string][]string{ // NVIDIA GPU metrics