Pārlūkot izejas kodu

Merge pull request #2286 from array-in-a-matrix/stats

Add statistics reporting for dendrite
pull/2287/head
Slavi Pantaleev pirms 3 gadiem
committed by GitHub
vecāks
revīzija
b4eb3b466f
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
3 mainītis faili ar 12 papildinājumiem un 3 dzēšanām
  1. +5
    -3
      docs/configuring-playbook-telemetry.md
  2. +4
    -0
      roles/custom/matrix-dendrite/defaults/main.yml
  3. +3
    -0
      roles/custom/matrix-dendrite/templates/dendrite/dendrite.yaml.j2

+ 5
- 3
docs/configuring-playbook-telemetry.md Parādīt failu

@@ -12,15 +12,17 @@ growth of the Matrix community, and helps to make Matrix a success.
If you'd like to **help by enabling submission of general usage statistics** for your homeserver, add this to your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`):

```yaml
matrix_synapse_report_stats: true
matrix_synapse_report_stats: true # for synapse

matrix_dendrite_report_stats: true # for dendrite
```


## Usage statistics being submitted

When enabled, Synapse will regularly upload a few dozen statistics about your server.
When enabled, your homeserver will regularly upload a few dozen statistics about your server.
This data includes your homeserver's domain, the total number of users, the number of active
users, the total number of rooms, and the number of messages sent per day on your homeserver.

See [Synapse's documentation](https://github.com/matrix-org/synapse/blob/develop/docs/usage/administration/monitoring/reporting_homeserver_usage_statistics.md#available-statistics)
See [Synapse's documentation](https://github.com/matrix-org/synapse/blob/develop/docs/usage/administration/monitoring/reporting_homeserver_usage_statistics.md#available-statistics) or [Dendrite's documentation](https://github.com/matrix-org/dendrite/blob/main/docs/FAQ.md#what-is-being-reported-when-enabling-phone-home-statistics)
for the full list of statistics that are reported.

+ 4
- 0
roles/custom/matrix-dendrite/defaults/main.yml Parādīt failu

@@ -196,3 +196,7 @@ matrix_dendrite_configuration_extension: "{{ matrix_dendrite_configuration_exten
matrix_dendrite_configuration: "{{ matrix_dendrite_configuration_yaml | from_yaml | combine(matrix_dendrite_configuration_extension, recursive=True) }}"

matrix_dendrite_userapi_auto_join_rooms: []

# statistics reporting configuration. These statistics contain the server
# name, number of active users and some information on your deployment config.
matrix_dendrite_report_stats: false

+ 3
- 0
roles/custom/matrix-dendrite/templates/dendrite/dendrite.yaml.j2 Parādīt failu

@@ -416,3 +416,6 @@ tracing:
# stdout by Dendrite.
logging: []

# statistics reporting configuration. These statistics contain the server
# name, number of active users and some information on your deployment config.
report_stats: {{ matrix_dendrite_report_stats|to_json }}

Notiek ielāde…
Atcelt
Saglabāt