From 207a433718d6e5ea88994d0b185ec685f286b58d Mon Sep 17 00:00:00 2001 From: coury-clark Date: Wed, 13 Oct 2021 12:40:51 -0700 Subject: [PATCH] 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 Co-authored-by: Erik Seliger --- doc/admin/observability/tracing.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/admin/observability/tracing.md b/doc/admin/observability/tracing.md index 5f45b3a129a..115c969f0a0 100644 --- a/doc/admin/observability/tracing.md +++ b/doc/admin/observability/tracing.md @@ -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