From 2948905005687fd1f46397d22048567bca933a2f Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 13 Jun 2025 11:35:55 +0200 Subject: [PATCH] feat(k8s): add OpenTelemetry exporter endpoint to deploy.yaml Add the OTEL_EXPORTER_OTLP_ENDPOINT environment variable to the deployment configuration. This change enables the application to send telemetry data to the specified OpenTelemetry collector endpoint for better monitoring and observability. --- k8s/deploy.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k8s/deploy.yaml b/k8s/deploy.yaml index 36037f3..d8369b8 100644 --- a/k8s/deploy.yaml +++ b/k8s/deploy.yaml @@ -56,6 +56,9 @@ spec: ports: - name: api containerPort: 8080 + env: + - name: OTEL_EXPORTER_OTLP_ENDPOINT + value: http://k8s-monitoring-alloy-receiver.monitoring.svc.cluster.local:4318 envFrom: - configMapRef: name: schemas -- 2.52.0