mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-14 06:55:29 -04:00
Remove legacy Prometheus metrics names. They were deprecated in Synapse v1.69.0 and disabled by default in Synapse v1.71.0. (#14538)
This commit is contained in:
parent
3b4e150868
commit
9af2be192a
11 changed files with 70 additions and 338 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue