summary refs log tree commit diff
path: root/synapse/config/metrics.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-11-02 17:33:45 +0000
committerGitHub <noreply@github.com>2022-11-02 17:33:45 +0000
commit6546308c1e7d3eff316631a5909151dc6c7a9e1e (patch)
tree80060e3988f803498d594fb073a081c66a40c960 /synapse/config/metrics.py
parentAdjust changelog (diff)
downloadsynapse-6546308c1e7d3eff316631a5909151dc6c7a9e1e.tar.xz
Disable legacy Prometheus metric names by default. They can still be re-enabled for now, but they will be removed altogether in Synapse 1.73.0. (#14353)
Diffstat (limited to 'synapse/config/metrics.py')
-rw-r--r--synapse/config/metrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/metrics.py b/synapse/config/metrics.py
index bb065f9f2f..6034a0346e 100644
--- a/synapse/config/metrics.py
+++ b/synapse/config/metrics.py
@@ -43,7 +43,7 @@ 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", True)
+        self.enable_legacy_metrics = config.get("enable_legacy_metrics", False)
 
         self.report_stats = config.get("report_stats", None)
         self.report_stats_endpoint = config.get(