From 18eb4df3fb585e4b8d2d3e066b75703da79b1b39 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 17:16:46 +0800 Subject: [PATCH] Revert to OTLP config to fix OTC startup - will investigate Loki config later --- .../central-storage/opentelemetry.yaml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index 27c45b35..2d07ae89 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -103,23 +103,10 @@ spec: send_batch_size: 5 timeout: 10s exporters: - loki: - endpoint: {{ .Values.logIngest.lokiEndpoint }}/loki/api/v1/push + otlphttp/logs: + endpoint: {{ .Values.logIngest.lokiEndpoint }}/otlp 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: @@ -128,5 +115,5 @@ spec: logs: receivers: [filelog] processors: [resource, transform, batch] - exporters: [loki] + exporters: [otlphttp/logs] {{- end }} \ No newline at end of file