summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-03-29 18:31:49 +0100
committerErik Johnston <erik@matrix.org>2021-03-29 18:31:49 +0100
commitffa6e96b5f061765fa32f23b347e831064df8890 (patch)
tree9fc24581cfecd61fdab0b2141168977b7659df31
parentLog errors (diff)
downloadsynapse-ffa6e96b5f061765fa32f23b347e831064df8890.tar.xz
Fix
-rw-r--r--synapse/metrics/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py
index b6ccacbc1c..b30688327f 100644
--- a/synapse/metrics/__init__.py
+++ b/synapse/metrics/__init__.py
@@ -656,7 +656,7 @@ try:
                 "jemalloc_stats_retained", "", value=get_val(b"stats.retained")
             )
 
-    REGISTRY.register(JemallocCollector)
+    REGISTRY.register(JemallocCollector())
 
 
 except Exception: