From f8a3d19866f26372fd42cda588f4439e51d9b2c4 Mon Sep 17 00:00:00 2001 From: Johannes Beck Date: Mon, 23 Dec 2024 14:41:57 +0100 Subject: [PATCH] Fix otelcol config --- etc/k8s/opentelemetry-sidecar.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/k8s/opentelemetry-sidecar.yaml b/etc/k8s/opentelemetry-sidecar.yaml index 9332c21..01f8c99 100644 --- a/etc/k8s/opentelemetry-sidecar.yaml +++ b/etc/k8s/opentelemetry-sidecar.yaml @@ -14,9 +14,11 @@ spec: exporters: logging: {} otlp: - endpoint: jaeger-all-in-one-collector.observability:4317 + endpoint: "jaeger-all-in-one-collector.observability:4317" tls: insecure: true + prometheus: + endpoint: "0.0.0.0:8889" processors: batch: {} extensions: @@ -38,3 +40,10 @@ spec: - batch receivers: - otlp + metrics: + receivers: + - otlp + processors: + - batch + exporters: + - prometheus