Quellcode durchsuchen

Add the ability to control statistics-reporting for Synapse

Closes Github issue #3
pull/2/head
Slavi Pantaleev vor 8 Jahren
Ursprung
Commit
6d6a6412fa
3 geänderte Dateien mit 14 neuen und 1 gelöschten Zeilen
  1. +9
    -0
      CHANGELOG.md
  2. +4
    -0
      roles/matrix-server/defaults/main.yml
  3. +1
    -1
      roles/matrix-server/templates/synapse/homeserver.yaml.j2

+ 9
- 0
CHANGELOG.md Datei anzeigen

@@ -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

## Changing the way SSL certificates are retrieved


+ 4
- 0
roles/matrix-server/defaults/main.yml Datei anzeigen

@@ -64,6 +64,10 @@ matrix_synapse_max_log_files_count: 10
matrix_synapse_rc_messages_per_second: 0.2
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.
# 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|.."}


+ 1
- 1
roles/matrix-server/templates/synapse/homeserver.yaml.j2 Datei anzeigen

@@ -447,7 +447,7 @@ trusted_third_party_id_servers:

# Enable collection and rendering of performance metrics
enable_metrics: False
report_stats: False
report_stats: {{ matrix_synapse_report_stats }}


## API Configuration ##


Laden…
Abbrechen
Speichern