Add the ability to control statistics-reporting for Synapse

Closes Github issue #3
This commit is contained in:
Slavi Pantaleev 2018-09-07 14:49:40 +03:00
parent 88b4434da9
commit 6d6a6412fa
3 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,12 @@
# 2018-09-07
## Statistics-reporting support
There's now a new `matrix_synapse_report_stats` playbook variable, which controls the `report_stats` configuration option for Matrix Synapse. It defaults to `false`, so no change is required to retain your privacy.
If you'd like to start reporting statistics about your homeserver (things like number of users, number of messages sent, uptime, load, etc.) to matrix.org, you can turn on stats reporting.
# 2018-08-29 # 2018-08-29
## Changing the way SSL certificates are retrieved ## Changing the way SSL certificates are retrieved

View file

@ -64,6 +64,10 @@ matrix_synapse_max_log_files_count: 10
matrix_synapse_rc_messages_per_second: 0.2 matrix_synapse_rc_messages_per_second: 0.2
matrix_synapse_rc_message_burst_count: 10.0 matrix_synapse_rc_message_burst_count: 10.0
# Enable this to allow Synapse to report utilization statistics about your server to matrix.org
# (things like number of users, number of messages sent, uptime, load, etc.)
matrix_synapse_report_stats: false
# A list of additional "volumes" to mount in the container. # A list of additional "volumes" to mount in the container.
# This list gets populated dynamically based on Synapse extensions that have been enabled. # This list gets populated dynamically based on Synapse extensions that have been enabled.
# Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."} # Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."}

View file

@ -447,7 +447,7 @@ trusted_third_party_id_servers:
# Enable collection and rendering of performance metrics # Enable collection and rendering of performance metrics
enable_metrics: False enable_metrics: False
report_stats: False report_stats: {{ matrix_synapse_report_stats }}
## API Configuration ## ## API Configuration ##