Skip to content

Commit

Permalink
Fix Jaeger host for new docker run commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen committed Jan 31, 2024
1 parent 756f340 commit a96cb7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/restate/tracing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jaegertracing/all-in-one:1.46
Then launch Restate with the tracing endpoint defined as an environment variable:

```shell
docker run --name restate_dev --rm -e RESTATE_OBSERVABILITY__TRACING__ENDPOINT=http://localhost:4317 -p 8080:8080 -p 9070:9070 -p 9071:9071 --add-host=host.docker.internal:host-gateway docker.io/restatedev/restate:VAR::RESTATE_VERSION
docker run --name restate_dev --rm -e RESTATE_OBSERVABILITY__TRACING__ENDPOINT=http://host.docker.internal:4317 -p 8080:8080 -p 9070:9070 -p 9071:9071 --add-host=host.docker.internal:host-gateway docker.io/restatedev/restate:VAR::RESTATE_VERSION
```

Go to the Jaeger UI at http://localhost:16686.
Expand Down
2 changes: 1 addition & 1 deletion docs/tour.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@ Then restart the runtime with the tracing endpoint defined as an environment var
```shell
docker stop restate_dev && \
docker run --name restate_dev --rm -e RESTATE_OBSERVABILITY__TRACING__ENDPOINT=http://localhost:4317 -p 8080:8080 -p 9070:9070 -p 9071:9071 --add-host=host.docker.internal:host-gateway docker.io/restatedev/restate:VAR::RESTATE_VERSION
docker run --name restate_dev --rm -e RESTATE_OBSERVABILITY__TRACING__ENDPOINT=http://host.docker.internal:4317 -p 8080:8080 -p 9070:9070 -p 9071:9071 --add-host=host.docker.internal:host-gateway docker.io/restatedev/restate:VAR::RESTATE_VERSION
```
Register the services again (required because the state got wiped when the runtime was restarted with the `--rm` flag):
Expand Down

0 comments on commit a96cb7e

Please sign in to comment.