Skip to content

Commit a1d9f98

Browse files
committed
docs: update tracing according to comments
1 parent a56c841 commit a1d9f98

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

docs/tracing.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ See [General SDK Configuration](https://github.com/open-telemetry/opentelemetry-
7777
## Using Jaeger UI
7878

7979
One can use the `jaegertracing/all-in-one` Docker image to run a full Jaeger stack
80-
and configure the gateway examples, or Kubo, to publish traces to it. Here, in an
80+
and configure the Kubo daemon, or gateway examples, to publish traces to it. Here, in an
8181
ephemeral container:
8282

8383
```console
@@ -95,11 +95,10 @@ $ docker run --rm -it --name jaeger \
9595
jaegertracing/all-in-one
9696
```
9797

98-
Then, in other terminal, start the CAR Gateway example (or Kubo), with Jaeger
99-
tracing enabled:
98+
Then, in other terminal, start the Kubo daemon, with Jaeger tracing enabled:
10099

101100
```
102-
$ OTEL_TRACES_EXPORTER=jaeger ./car-gateway -c data.car -p 8040
101+
$ OTEL_TRACES_EXPORTER=jaeger ipfs daemon
103102
```
104103

105104
Finally, the [Jaeger UI] is available at http://localhost:16686.
@@ -123,8 +122,8 @@ To generate a valid `Traceparent` header value, the following script can be used
123122
version="00" # fixed in spec at 00
124123
trace_id="$(cat /dev/urandom | tr -dc 'a-f0-9' | fold -w 32 | head -n 1)"
125124
parent_id="00$(cat /dev/urandom | tr -dc 'a-f0-9' | fold -w 14 | head -n 1)"
126-
tace_flag="01" # sampled
127-
traceparent="$version-$trace_id-$parent_id-$tace_flag"
125+
trace_flag="01" # sampled
126+
traceparent="$version-$trace_id-$parent_id-$trace_flag"
128127
echo $traceparent
129128
```
130129

0 commit comments

Comments
 (0)