Skip to content

Commit d7f8cd3

Browse files
committed
use 4318 for http
1 parent b1bf657 commit d7f8cd3

File tree

1 file changed

+2
-2
lines changed
  • opentelemetry-otlp/examples/basic-otlp-http

1 file changed

+2
-2
lines changed

opentelemetry-otlp/examples/basic-otlp-http/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ On Unix based systems use:
3636

3737
```shell
3838
# From the current directory, run `opentelemetry-collector`
39-
docker run --rm -it -p 4317:4317 -v $(pwd):/cfg otel/opentelemetry-collector:latest --config=/cfg/otel-collector-config.yaml
39+
docker run --rm -it -p 4318:4318 -v $(pwd):/cfg otel/opentelemetry-collector:latest --config=/cfg/otel-collector-config.yaml
4040
```
4141

4242
On Windows use:
4343

4444
```shell
4545
# From the current directory, run `opentelemetry-collector`
46-
docker run --rm -it -p 4317:4317 -v "%cd%":/cfg otel/opentelemetry-collector:latest --config=/cfg/otel-collector-config.yaml
46+
docker run --rm -it -p 4318:4318 -v "%cd%":/cfg otel/opentelemetry-collector:latest --config=/cfg/otel-collector-config.yaml
4747
```
4848

4949
Run the app which exports logs, metrics and traces via OTLP to the collector

0 commit comments

Comments
 (0)