diff --git a/internal/controller/telemetry/otel_conf_gen.go b/internal/controller/telemetry/otel_conf_gen.go index 26f376d9..3bab8843 100644 --- a/internal/controller/telemetry/otel_conf_gen.go +++ b/internal/controller/telemetry/otel_conf_gen.go @@ -465,6 +465,9 @@ func generateCountConnectors() map[string]any { { Key: "k8s.pod.labels.app.kubernetes.io/name", }, + { + Key: "k8s.pod.labels.app", + }, }, }, }, @@ -498,6 +501,9 @@ func generateCountConnectors() map[string]any { { Key: "k8s.pod.labels.app.kubernetes.io/name", }, + { + Key: "k8s.pod.labels.app", + }, }, }, }, @@ -555,11 +561,6 @@ func generateMetricsProcessors() map[string]any { metricsProcessors["attributes/metricattributes"] = AttributesProcessor{ Actions: []AttributesProcessorAction{ - { - Action: "insert", - Key: "app", - FromAttribute: "k8s.pod.labels.app.kubernetes.io/name", - }, { Action: "insert", Key: "host",