summary refs log tree commit diff
path: root/synapse/logging/opentracing.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-04-07 13:18:29 +0100
committerGitHub <noreply@github.com>2022-04-07 13:18:29 +0100
commitd1cd96ce2966bc5bd268eac56a485e785779e9e0 (patch)
treefc2663cc7ce2d4ef3f9905be68dd487639657960 /synapse/logging/opentracing.py
parentPoetry: use locked environment in Docker images (#12385) (diff)
downloadsynapse-d1cd96ce2966bc5bd268eac56a485e785779e9e0.tar.xz
Add opentracing spans to calls to external cache (#12380)
Diffstat (limited to 'synapse/logging/opentracing.py')
-rw-r--r--synapse/logging/opentracing.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py
index 3ebed5c161..f86ee9aac7 100644
--- a/synapse/logging/opentracing.py
+++ b/synapse/logging/opentracing.py
@@ -289,6 +289,9 @@ class SynapseTags:
     # Uniqueish ID of a database transaction
     DB_TXN_ID = "db.txn_id"
 
+    # The name of the external cache
+    CACHE_NAME = "cache.name"
+
 
 class SynapseBaggage:
     FORCE_TRACING = "synapse-force-tracing"