diff options
author | kaiyou <pierre@jaury.eu> | 2018-02-08 20:46:11 +0100 |
---|---|---|
committer | kaiyou <pierre@jaury.eu> | 2018-02-08 20:46:11 +0100 |
commit | a0af0054ec91e92a6843c121cd27e92ea63c1034 (patch) | |
tree | 2995a6174230d1b65d39975cfc9d4e3ddb6ac143 /contrib/docker/conf | |
parent | Disable the Web client in the Docker image (diff) | |
download | synapse-a0af0054ec91e92a6843c121cd27e92ea63c1034.tar.xz |
Honor the SYNAPSE_REPORT_STATS parameter in the Docker image
Diffstat (limited to 'contrib/docker/conf')
-rw-r--r-- | contrib/docker/conf/homeserver.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/docker/conf/homeserver.yaml b/contrib/docker/conf/homeserver.yaml index 19a2cbad29..3b57f7174d 100644 --- a/contrib/docker/conf/homeserver.yaml +++ b/contrib/docker/conf/homeserver.yaml @@ -156,8 +156,13 @@ trusted_third_party_id_servers: ## Metrics ### +{% if SYNAPSE_REPORT_STATS.lower() == "yes" %} +enable_metrics: True +report_stats: True +{% else %} enable_metrics: False report_stats: False +{% endif %} ## API Configuration ## |