From b1c9f59cff6dbd8eef14688316cd96546574104a Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 17:08:32 +0800 Subject: [PATCH 1/2] Simplify Loki exporter configuration to fix OTC startup issues --- .../templates/central-storage/opentelemetry.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index 43ac8e1f..f228f45c 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -107,19 +107,6 @@ spec: endpoint: {{ .Values.logIngest.lokiEndpoint }}/loki/api/v1/push tls: insecure: true - labels: - resource: - k8s.pod.name: "pod_name" - k8s.namespace.name: "namespace" - k8s.node.name: "node_name" - application: "app" - environment: "env" - attributes: - level: "level" - module: "module" - default_labels_enabled: - resource: true - attributes: true service: telemetry: logs: From d2347166975abf420834fc4eed9e1eefc9c43cc9 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 17:13:01 +0800 Subject: [PATCH 2/2] Comment out Loki labels config to fix OTC startup - can be enabled later --- .../templates/central-storage/opentelemetry.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index f228f45c..27c45b35 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -107,6 +107,19 @@ spec: endpoint: {{ .Values.logIngest.lokiEndpoint }}/loki/api/v1/push tls: insecure: true + # labels: + # resource: + # k8s.pod.name: "pod_name" + # k8s.namespace.name: "namespace" + # k8s.node.name: "node_name" + # application: "app" + # environment: "env" + # attributes: + # level: "level" + # module: "module" + # default_labels_enabled: + # resource: true + # attributes: true service: telemetry: logs: