Skip to content

Commit

Permalink
docs: Add HTTP port to collector docker command (#5441)
Browse files Browse the repository at this point in the history
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Tiffany Hrabusa <[email protected]>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent d65dd0e commit 5f5b9cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/en/docs/collector/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ preferred shell.

## Generate and collect telemetry

3. Launch the Collector:
3. Launch the Collector, listening on ports 4317 (for OTLP gRPC), 4318 (for OTLP
HTTP) and 55679 (for ZPages):

```sh
docker run \
-p 127.0.0.1:4317:4317 \
-p 127.0.0.1:4318:4318 \
-p 127.0.0.1:55679:55679 \
otel/opentelemetry-collector-contrib:{{% param vers %}} \
2>&1 | tee collector-output.txt # Optionally tee output for easier search later
Expand Down

0 comments on commit 5f5b9cd

Please sign in to comment.