Skip to content

Commit

Permalink
docs(sumo): fix URLs in recipe (#3500)
Browse files Browse the repository at this point in the history
docs(sumo): fix recipe
  • Loading branch information
Adnan Rahić authored Jan 8, 2024
1 parent 73854c2 commit 1ea4f9c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ sdk.start()
Choosing the `tracing.otel.grpc.js` file will send traces to Tracetest Agent's `GRPC`.

Configure it an environment variable:
- Running in Docker: `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:4317`
- Running in Docker: `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4317`

Enabling the tracer is done by preloading the trace file.

Expand Down Expand Up @@ -163,7 +163,7 @@ services:
ports:
- "8080:8080"
environment:
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:4317
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4317

otel-collector:
image: public.ecr.aws/sumologic/sumologic-otel-collector:0.75.0-sumo-0
Expand Down Expand Up @@ -288,7 +288,7 @@ sdk.start()
Choosing the `tracing.otel.grpc.js` file will send traces to Tracetest Agent's `GRPC`.

Configure it an environment variable:
- Running in Docker: `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:4317`
- Running in Docker: `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4317`

```bash
node -r ./tracing.otel.grpc.js app.js
Expand Down Expand Up @@ -336,7 +336,7 @@ services:
ports:
- "8080:8080"
environment:
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://host.docker.internal:4317
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4317
otel-collector:
image: public.ecr.aws/sumologic/sumologic-otel-collector:0.75.0-sumo-0
Expand Down

0 comments on commit 1ea4f9c

Please sign in to comment.