Skip to content

Commit

Permalink
development: Fix exposing otel collector OTLP endpoints (#9197)
Browse files Browse the repository at this point in the history
To allow connecting to the collector from outside docker network.
Not sure when this was changed, but latest docs include this:
https://opentelemetry.io/docs/collector/configuration/#basics

Discover while testing #9172

Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama authored Sep 4, 2024
1 parent 66be8d5 commit 88cefdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ receivers:
otlp: # Allow sending data via OTLP protocol
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318

# Data sources: metrics
prometheus: # Scrape self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ receivers:
otlp: # Allow sending data via OTLP protocol
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318

# Data sources: metrics
prometheus: # Scrape self
Expand Down

0 comments on commit 88cefdd

Please sign in to comment.