diff --git a/internal/pkg/transformation/kubernetes.go b/internal/pkg/transformation/kubernetes.go index 1fe44e42..62bba7cd 100644 --- a/internal/pkg/transformation/kubernetes.go +++ b/internal/pkg/transformation/kubernetes.go @@ -388,6 +388,7 @@ func (p *PodMapper) Process(metrics collector.MetricsByCounter, deviceInfo devic if pi.VGPU != "" { metric.Attributes[vgpuAttribute] = pi.VGPU } + maps.Copy(metric.Labels, pi.Labels) // Robustness: ensure no overlap between Labels and Attributes for k := range metric.Attributes {