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: