Skip to content

Commit 88cefdd

Browse files
authored
development: Fix exposing otel collector OTLP endpoints (#9197)
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]>
1 parent 66be8d5 commit 88cefdd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

development/mimir-monolithic-mode/config/otel-collector-otlp-push-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ receivers:
44
otlp: # Allow sending data via OTLP protocol
55
protocols:
66
grpc:
7+
endpoint: 0.0.0.0:4317
78
http:
9+
endpoint: 0.0.0.0:4318
810

911
# Data sources: metrics
1012
prometheus: # Scrape self

development/mimir-monolithic-mode/config/otel-collector-remote-write-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ receivers:
44
otlp: # Allow sending data via OTLP protocol
55
protocols:
66
grpc:
7+
endpoint: 0.0.0.0:4317
78
http:
9+
endpoint: 0.0.0.0:4318
810

911
# Data sources: metrics
1012
prometheus: # Scrape self

0 commit comments

Comments
 (0)