mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-04 01:54:13 -04:00
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:
parent
ccc1a3d54d
commit
aac13b1f9a
2 changed files with 4 additions and 8 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue