diff options
author | reivilibre <oliverw@matrix.org> | 2022-11-24 09:09:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 09:09:17 +0000 |
commit | 9af2be192a759c22d189b72cc0a7580cd9de8a37 (patch) | |
tree | 80e9254251a9dc11b31f2d8135d17b574539b3d5 /synapse/metrics/__init__.py | |
parent | Faster joins: use servers list approximation in `assert_host_in_room` (#14515) (diff) | |
download | synapse-9af2be192a759c22d189b72cc0a7580cd9de8a37.tar.xz |
Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. (#14538)
Diffstat (limited to 'synapse/metrics/__init__.py')
-rw-r--r-- | synapse/metrics/__init__.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py index c3d3daf877..b01372565d 100644 --- a/synapse/metrics/__init__.py +++ b/synapse/metrics/__init__.py @@ -47,11 +47,7 @@ from twisted.python.threadpool import ThreadPool # This module is imported for its side effects; flake8 needn't warn that it's unused. import synapse.metrics._reactor_metrics # noqa: F401 from synapse.metrics._gc import MIN_TIME_BETWEEN_GCS, install_gc_manager -from synapse.metrics._legacy_exposition import ( - MetricsResource, - generate_latest, - start_http_server, -) +from synapse.metrics._twisted_exposition import MetricsResource, generate_latest from synapse.metrics._types import Collector from synapse.util import SYNAPSE_VERSION @@ -474,7 +470,6 @@ __all__ = [ "Collector", "MetricsResource", "generate_latest", - "start_http_server", "LaterGauge", "InFlightGauge", "GaugeBucketCollector", |