diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index 93a370e7..470e084a 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -80,7 +80,7 @@ spec: statements: - set(resource.attributes["service_name"], "authentication") - set(resource.attributes["environment"], - replace_all(resource.attributes["k8s.namespace.name"], "freeleaps-", "")) + ReplaceAll(resource.attributes["k8s.namespace.name"], "freeleaps-", "")) - set(resource.attributes["pod_ip"], resource.attributes["k8s.pod.ip"]) - set(resource.attributes["pod_name"], resource.attributes["k8s.pod.name"]) - set(resource.attributes["kubernetes_node_name"], resource.attributes["k8s.node.name"])