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
This commit is contained in:
@@ -72,7 +72,8 @@ Gerrit issue] so that the Gerrit developers can fix this and treat this
|
|||||||
exception as recoverable.
|
exception as recoverable.
|
||||||
|
|
||||||
The trace IDs for auto-retries are generated and start with
|
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
|
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
|
`AutoRetry`. For each auto-retry that happened this should match 1 or 2
|
||||||
|
Reference in New Issue
Block a user