Skip to content

Commit

Permalink
Make sure that the otel colleector is correctly exposing a list of al…
Browse files Browse the repository at this point in the history
…l metrics on port 8888
  • Loading branch information
alexkroman committed Jan 21, 2025
1 parent aa93594 commit 8d401c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/otel-collector/otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ receivers:
- job_name: 'otel-collector'
scrape_interval: 10s
static_configs:
- targets: ['0.0.0.0:8888']
- targets: ['otel-collector:8888']

exporters:
debug:
prometheus:
endpoint: "otel-collector:8888"
otlp:
endpoint: "jaeger:4317"
tls:
Expand Down Expand Up @@ -128,7 +130,7 @@ service:
metrics:
receivers: [hostmetrics, docker_stats, httpcheck/frontend-proxy, otlp, prometheus, redis, spanmetrics]
processors: [batch]
exporters: [otlphttp/prometheus, debug]
exporters: [otlphttp/prometheus, debug, prometheus]
logs:
receivers: [otlp]
processors: [batch]
Expand Down

0 comments on commit 8d401c6

Please sign in to comment.