Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: YifanYang6 <[email protected]>
  • Loading branch information
YifanYang6 authored Oct 30, 2024
1 parent 0afde92 commit 5e45522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/markdown/caddyfile/directives/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ When enabled, it will propagate an existing trace context or initialize a new on

It uses [gRPC](https://github.com/grpc/) as an exporter protocol and W3C [tracecontext](https://www.w3.org/TR/trace-context/) and [baggage](https://www.w3.org/TR/baggage/) as propagators.

The trace ID is added to [access logs](/docs/caddyfile/directives/log) as the standard `traceID` field. Additionally, the `{http.vars.trace_id}` placeholder is made available, for example to add the ID to a (`request_header`)[request_header] to pass it to your app.
The trace ID and span ID are added to [access logs](/docs/caddyfile/directives/log) as the standard `traceID` and `spanID` fields. Additionally, the `{http.vars.trace_id}` and `{http.vars.span_id}` placeholders are available; for example, you can use them in a [`request_header`](request_header) to pass the IDs to your app.



Expand Down

0 comments on commit 5e45522

Please sign in to comment.