diff options
author | Erik Johnston <erik@matrix.org> | 2021-01-08 14:33:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 14:33:53 +0000 |
commit | a03d71dc9d60251b8b753cc223b704a4095231da (patch) | |
tree | f69f166a2521d9f9be16a777a179964b7bbffa34 /synapse/util/metrics.py | |
parent | Merge pull request #9036 from matrix-org/rav/multi_idp/tests (diff) | |
download | synapse-a03d71dc9d60251b8b753cc223b704a4095231da.tar.xz |
Fix "Starting metrics collection from sentinel context" errors (#9053)
Diffstat (limited to '')
-rw-r--r-- | synapse/util/metrics.py | 3 |
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: |