summary refs log tree commit diff
path: root/synapse/util/metrics.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-21 16:16:41 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-21 16:16:41 +0100
commit64150ac9ba4077cab2b6e97ab1dcc19229005c84 (patch)
tree793a3a3d3cb425f5f30deb68569be7dfa7594307 /synapse/util/metrics.py
parentMerge commit '63593134a' into anoa/dinsic_release_1_31_0 (diff)
parentFix "Starting metrics collection from sentinel context" errors (#9053) (diff)
downloadsynapse-64150ac9ba4077cab2b6e97ab1dcc19229005c84.tar.xz
Merge commit 'a03d71dc9' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/util/metrics.py')
-rw-r--r--synapse/util/metrics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/util/metrics.py b/synapse/util/metrics.py

index 24123d5cc4..f4de6b9f54 100644 --- a/synapse/util/metrics.py +++ b/synapse/util/metrics.py
@@ -111,7 +111,8 @@ class Measure: curr_context = current_context() if not curr_context: logger.warning( - "Starting metrics collection from sentinel context: metrics will be lost" + "Starting metrics collection %r from sentinel context: metrics will be lost", + name, ) parent_context = None else: