diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-07-18 23:57:15 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 23:57:15 +1000 |
commit | 7ad1d763566eb34bd32234811aa9901d8f3668aa (patch) | |
tree | 2349489f45b024f7b5430f6405687c1c36bedc33 /synapse/app/homeserver.py | |
parent | Remove the ability to query relations when the original event was redacted. (... (diff) | |
download | synapse-7ad1d763566eb34bd32234811aa9901d8f3668aa.tar.xz |
Support Prometheus_client 0.4.0+ (#5636)
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 639b1429c0..0c075cb3f1 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -55,9 +55,8 @@ from synapse.http.additional_resource import AdditionalResource from synapse.http.server import RootRedirect from synapse.http.site import SynapseSite from synapse.logging.context import LoggingContext -from synapse.metrics import RegistryProxy +from synapse.metrics import METRICS_PREFIX, MetricsResource, RegistryProxy from synapse.metrics.background_process_metrics import run_as_background_process -from synapse.metrics.resource import METRICS_PREFIX, MetricsResource from synapse.module_api import ModuleApi from synapse.python_dependencies import check_requirements from synapse.replication.http import REPLICATION_PREFIX, ReplicationRestResource |