Skip to content

Commit

Permalink
docs: Add HTTP port to collector docker command (open-telemetry#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 and ymotongpoo committed Jan 2, 2025
1 parent 5457444 commit 25782c7
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 25782c7

Please sign in to comment.