summary refs log tree commit diff
path: root/synapse/replication/tcp/protocol.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-04-21 10:03:31 +0100
committerGitHub <noreply@github.com>2021-04-21 10:03:31 +0100
commit5d281c10dd3d4d1f96635e92d803a74e3880d6b7 (patch)
tree383d2aa43a5c156ca71e8232cc6a8def5221d109 /synapse/replication/tcp/protocol.py
parentFurther tweaking on gpg signing key notice (diff)
downloadsynapse-5d281c10dd3d4d1f96635e92d803a74e3880d6b7.tar.xz
Stop BackgroundProcessLoggingContext making new prometheus timeseries (#9854)
This undoes part of b076bc276e881b262048307b6a226061d96c4a8d.
Diffstat (limited to 'synapse/replication/tcp/protocol.py')
-rw-r--r--synapse/replication/tcp/protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/tcp/protocol.py b/synapse/replication/tcp/protocol.py
index ba753318bd..d10d574246 100644
--- a/synapse/replication/tcp/protocol.py
+++ b/synapse/replication/tcp/protocol.py
@@ -185,7 +185,7 @@ class BaseReplicationStreamProtocol(LineOnlyReceiver):
         # a logcontext which we use for processing incoming commands. We declare it as a
         # background process so that the CPU stats get reported to prometheus.
         self._logging_context = BackgroundProcessLoggingContext(
-            "replication-conn-%s" % (self.conn_id,)
+            "replication-conn", self.conn_id
         )
 
     def connectionMade(self):