From e244ee513bb42ce1a342d966f07852d648fea7ec Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Mon, 12 Sep 2022 18:00:58 -0500 Subject: [PATCH] Add tag --- synapse/logging/opentracing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py index ca2735dd6d..0319ea72fc 100644 --- a/synapse/logging/opentracing.py +++ b/synapse/logging/opentracing.py @@ -303,6 +303,10 @@ class SynapseTags: # incoming HTTP request ID (as written in the logs) REQUEST_ID = "request_id" + # Tag a header from the incoming request. The name of the header should be + # appended to this prefix. + REQUEST_HEADER_PREFIX = "request_header." + # HTTP request tag (used to distinguish full vs incremental syncs, etc) REQUEST_TAG = "request_tag"