diff --git a/docs/operate/monitoring/tracing.mdx b/docs/operate/monitoring/tracing.mdx index f3598d22..9ae967c2 100644 --- a/docs/operate/monitoring/tracing.mdx +++ b/docs/operate/monitoring/tracing.mdx @@ -52,6 +52,18 @@ For example, locally with Docker: +
+ Specifying additional tracing headers + + 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" + ``` +
+ 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: