add note about traceID on a graphql request (#26049)

* add note about traceID on a graphql request

* Update doc/admin/observability/tracing.md

Co-authored-by: Erik Seliger <erikseliger@me.com>

Co-authored-by: Erik Seliger <erikseliger@me.com>
This commit is contained in:
coury-clark 2021-10-13 12:40:51 -07:00 committed by GitHub
parent 9ed0fb21e5
commit 207a433718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,10 @@ itself](https://www.jaegertracing.io/docs/1.17/sampling/), and even then, the vo
traffic caused by Jaeger spans being sent to the collector may disrupt the performance of the
overall Sourcegraph instance.
### GraphQL Requests
To receive a traceID on a GraphQL request, include the header `X-Sourcegraph-Should-Trace: true` with the request.
### Jaeger debugging algorithm
Jaeger is a powerful debugging tool that can break down where time is spent over the lifecycle of a