Skip to content

Commit

Permalink
update prometheus endpoint in the OTel collector (#198)
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
  • Loading branch information
ps48 authored Nov 19, 2024
1 parent e4fd8d4 commit 648fb25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/otelcollector/otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -108,4 +108,4 @@ service:
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlp/logs, opensearch/logs, debug]
exporters: [otlp/logs, opensearch/logs, debug]

0 comments on commit 648fb25

Please sign in to comment.