summary refs log tree commit diff
path: root/synapse/config/metrics.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-11-24 09:09:17 +0000
committerGitHub <noreply@github.com>2022-11-24 09:09:17 +0000
commit9af2be192a759c22d189b72cc0a7580cd9de8a37 (patch)
tree80e9254251a9dc11b31f2d8135d17b574539b3d5 /synapse/config/metrics.py
parentFaster joins: use servers list approximation in `assert_host_in_room` (#14515) (diff)
downloadsynapse-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/config/metrics.py')
-rw-r--r--synapse/config/metrics.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/config/metrics.py b/synapse/config/metrics.py
index 6034a0346e..8c1c9bd12d 100644
--- a/synapse/config/metrics.py
+++ b/synapse/config/metrics.py
@@ -43,8 +43,6 @@ class MetricsConfig(Config):
     def read_config(self, config: JsonDict, **kwargs: Any) -> None:
         self.enable_metrics = config.get("enable_metrics", False)
 
-        self.enable_legacy_metrics = config.get("enable_legacy_metrics", False)
-
         self.report_stats = config.get("report_stats", None)
         self.report_stats_endpoint = config.get(
             "report_stats_endpoint", "https://matrix.org/report-usage-stats/push"