Skip to content

Commit 1f9b577

Browse files
committed
Fix logging filter so that jaeger can get the traces
Signed-off-by: Doru Blânzeanu <[email protected]>
1 parent 3f422ba commit 1f9b577

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/hyperlight-metrics-logs-and-traces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,21 @@ In the [examples/otlp_tracing](../src/hyperlight_host/examples/otlp_tracing) dir
8282
#### Linux
8383

8484
```bash
85-
RUST_LOG='none,hyperlight-host=info,tracing=info' cargo run --example otlp_tracing
85+
RUST_LOG='none,hyperlight_host=info,tracing=info' cargo run --example otlp_tracing
8686
```
8787

8888
#### Windows
8989

9090
```powershell
91-
$env:RUST_LOG='none,hyperlight-host=info,tracing=info';cargo run --example otlp_tracing
91+
$env:RUST_LOG='none,hyperlight_host=info,tracing=info';cargo run --example otlp_tracing
9292
```
9393

9494
The sample will run and generate trace data until any key is pressed.
9595

9696
To view the trace data, leave the example running and use the jaegertracing/all-in-one container image with the following command:
9797

9898
```console
99-
docker run -d --name jaeger -e COLLECTOR_OTLP_ENABLED=true -p 4317:4317 -p 16686:16686 jaegertracing/all-in-one:1.51
99+
docker run -d --name jaeger -e COLLECTOR_OTLP_ENABLED=true -p 4317:4317 -p 16686:16686 jaegertracing/all-in-one:1.60
100100
```
101101

102102
NOTE: when running this on windows that this is a linux container, so you will need to ensure that docker is configured to run linux containers using WSL2. Alternatively, you can download the Jaeger binaries from [here](https://www.jaegertracing.io/download/). Extract the archive and run the `jaeger-all-in-one` executable as follows:

0 commit comments

Comments
 (0)