Skip to content

Commit

Permalink
Update tracing documentation to include tracing-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Aug 26, 2024
1 parent fd38404 commit 7c31a8a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/operate/monitoring/tracing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ For example, locally with Docker:

</CH.Code>

<details className={"grey-details"}>
<summary>Specifying additional tracing headers</summary>

You can specify additional headers to be sent with the trace data by setting the `tracing-headers` configuration entry.
For example, to specify an `authorization` header add the following snippet to the [configuration file](/operate/configuration/server/#configuration-file):

```toml
[tracing-headers]
authorization = "Bearer some-auth-token"
```
</details>

If you now spin up your services and send requests to them, you will see the traces appear in the Jaeger UI at http://localhost:16686:

<img src="/img/tracing_tour.png" width={"60%"}/>
Expand Down

0 comments on commit 7c31a8a

Please sign in to comment.