Skip to content

Commit 5c144f5

Browse files
committed
[opentelemetry-otlp] fix example when running with OTEL Collector 0.104+
- as mentioned in https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.104.0 the collector now binds to localhost by default, so the config needs to be explicit to allow access from outside of the Docker container fixes open-telemetry#1958
1 parent d3c10f8 commit 5c144f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opentelemetry-otlp/examples/basic-otlp-http/otel-collector-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ receivers:
88
otlp:
99
protocols:
1010
grpc:
11+
endpoint: 0.0.0.0:4317
1112
http:
13+
endpoint: 0.0.0.0:4318
1214

1315
exporters:
1416
debug:

0 commit comments

Comments
 (0)