Auto-Tracing: Document that generated trace ID is returned to the client
The IDs for traces of automatic retries are returned as response header
to the client. This was implemented in change Ie58b4ace6.
Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ic2f6092c41ad00e836b7049172697f4b582b9553
diff --git a/Documentation/user-request-tracing.txt b/Documentation/user-request-tracing.txt
index 1b9a6e5..d422dd9 100644
--- a/Documentation/user-request-tracing.txt
+++ b/Documentation/user-request-tracing.txt
@@ -72,7 +72,8 @@
exception as recoverable.
The trace IDs for auto-retries are generated and start with
-`retry-on-failure-`.
+`retry-on-failure-`. For REST requests they are returned to the client
+as `X-Gerrit-Trace` header.
The best way to search for auto-retries in logs is to do a grep by
`AutoRetry`. For each auto-retry that happened this should match 1 or 2