Pass the Metrics group into the process collector instead of having it find its own one; this avoids it needing to import from synapse.metrics

This commit is contained in:
Paul "LeoNerd" Evans 2016-10-27 18:08:15 +01:00
parent ccc1a3d54d
commit aac13b1f9a
2 changed files with 4 additions and 8 deletions

View file

@ -338,7 +338,7 @@ def setup(config_options):
hs.get_replication_layer().start_get_pdu_cache()
register_memory_metrics(hs)
register_process_collector()
register_process_collector(get_metrics_for("process"))
reactor.callWhenRunning(start)