From 648fb250cf530bd31d0ff749590af39a118efb7e Mon Sep 17 00:00:00 2001 From: Shenoy Pratik Date: Tue, 19 Nov 2024 15:46:52 -0800 Subject: [PATCH] update prometheus endpoint in the OTel collector (#198) Signed-off-by: Shenoy Pratik --- src/otelcollector/otelcol-config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/otelcollector/otelcol-config.yml b/src/otelcollector/otelcol-config.yml index 2421c8fe00..90d16b5d12 100644 --- a/src/otelcollector/otelcol-config.yml +++ b/src/otelcollector/otelcol-config.yml @@ -69,7 +69,7 @@ exporters: insecure: true insecure_skip_verify: true otlphttp/prometheus: - endpoint: "http://prometheus:9090/metrics" + endpoint: "http://prometheus:9090/api/v1/otlp" tls: insecure: true @@ -108,4 +108,4 @@ service: logs: receivers: [otlp] processors: [batch] - exporters: [otlp/logs, opensearch/logs, debug] + exporters: [otlp/logs, opensearch/logs, debug]