summary refs log tree commit diff
path: root/synapse/app/_base.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-07-18 23:57:15 +1000
committerGitHub <noreply@github.com>2019-07-18 23:57:15 +1000
commit7ad1d763566eb34bd32234811aa9901d8f3668aa (patch)
tree2349489f45b024f7b5430f6405687c1c36bedc33 /synapse/app/_base.py
parentRemove the ability to query relations when the original event was redacted. (... (diff)
downloadsynapse-7ad1d763566eb34bd32234811aa9901d8f3668aa.tar.xz
Support Prometheus_client 0.4.0+ (#5636)
Diffstat (limited to 'synapse/app/_base.py')
-rw-r--r--synapse/app/_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/app/_base.py b/synapse/app/_base.py

index 807f320b46..540dbd9236 100644 --- a/synapse/app/_base.py +++ b/synapse/app/_base.py
@@ -149,8 +149,7 @@ def listen_metrics(bind_addresses, port): """ Start Prometheus metrics server. """ - from synapse.metrics import RegistryProxy - from prometheus_client import start_http_server + from synapse.metrics import RegistryProxy, start_http_server for host in bind_addresses: logger.info("Starting metrics listener on %s:%d", host, port)