diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-10 11:51:50 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-10 11:51:50 +0100 |
commit | 9970f955ce1ab36d21f7824d9f1382ab1df778e5 (patch) | |
tree | 94f824e633ac9b9fab18171a67a6b94aec2839a9 /synapse/config/metrics.py | |
parent | Newsfile (diff) | |
parent | Fix races in room stats (and other) updates. (#6187) (diff) | |
download | synapse-9970f955ce1ab36d21f7824d9f1382ab1df778e5.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/patch_inner
Diffstat (limited to 'synapse/config/metrics.py')
-rw-r--r-- | synapse/config/metrics.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/metrics.py b/synapse/config/metrics.py index ec35a6b868..282a43bddb 100644 --- a/synapse/config/metrics.py +++ b/synapse/config/metrics.py @@ -34,6 +34,8 @@ class MetricsFlags(object): class MetricsConfig(Config): + section = "metrics" + def read_config(self, config, **kwargs): self.enable_metrics = config.get("enable_metrics", False) self.report_stats = config.get("report_stats", None) |