From 33c91ecb8dc8f6d085befcf026d50a7efada86ce Mon Sep 17 00:00:00 2001 From: zhenyus Date: Wed, 16 Apr 2025 10:34:22 +0800 Subject: [PATCH] fix: remove debug exporter and adjust k8sattributes processor configuration in OpenTelemetry setup Signed-off-by: zhenyus --- .../templates/authentication/opentelemetry.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml index 5b208998..11952810 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/opentelemetry.yaml @@ -32,6 +32,8 @@ spec: processors: k8sattributes: auth_type: "serviceAccount" + wait_for_metadata: true + wait_for_metadata_timeout: 10s passthrough: false extract: metadata: @@ -70,8 +72,6 @@ spec: endpoint: {{ .Values.logIngest.lokiEndpoint }} tls: insecure: true - debug: - verbosity: detailed service: telemetry: logs: @@ -80,5 +80,5 @@ spec: logs: receivers: [filelog] processors: [k8sattributes, resource, batch] - exporters: [debug, loki] + exporters: [loki] {{- end }} \ No newline at end of file