Просмотр исходного кода

Add license information to files for matrix-synapse-usage-exporter

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4135/head
Suguru Hirahara 1 год назад
Родитель
Сommit
2f2e551798
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
10 измененных файлов: 51 добавлений и 0 удалений
  1. +8
    -0
      docs/configuring-playbook-synapse-usage-exporter.md
  2. +6
    -0
      roles/custom/matrix-synapse-usage-exporter/defaults/main.yml
  3. +5
    -0
      roles/custom/matrix-synapse-usage-exporter/tasks/main.yml
  4. +5
    -0
      roles/custom/matrix-synapse-usage-exporter/tasks/setup_install.yml
  5. +4
    -0
      roles/custom/matrix-synapse-usage-exporter/tasks/setup_uninstall.yml
  6. +4
    -0
      roles/custom/matrix-synapse-usage-exporter/tasks/validate_config.yml
  7. +6
    -0
      roles/custom/matrix-synapse-usage-exporter/templates/env.j2
  8. +3
    -0
      roles/custom/matrix-synapse-usage-exporter/templates/grafana/synapse-usage-exporter.json.license
  9. +6
    -0
      roles/custom/matrix-synapse-usage-exporter/templates/labels.j2
  10. +4
    -0
      roles/custom/matrix-synapse-usage-exporter/templates/systemd/matrix-synapse-usage-exporter.service.j2.license

+ 8
- 0
docs/configuring-playbook-synapse-usage-exporter.md Просмотреть файл

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
SPDX-FileCopyrightText: 2024 Michael Hollister
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Enabling synapse-usage-exporter for Synapse usage statistics (optional) # Enabling synapse-usage-exporter for Synapse usage statistics (optional)


The playbook can install and configure [synapse-usage-exporter](https://github.com/loelkes/synapse-usage-exporter) for you. The playbook can install and configure [synapse-usage-exporter](https://github.com/loelkes/synapse-usage-exporter) for you.


+ 6
- 0
roles/custom/matrix-synapse-usage-exporter/defaults/main.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Michael Hollister
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


# Synapse Usage Exporter # Synapse Usage Exporter


+ 5
- 0
roles/custom/matrix-synapse-usage-exporter/tasks/main.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Michael Hollister
# SPDX-FileCopyrightText: 2025 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- tags: - tags:


+ 5
- 0
roles/custom/matrix-synapse-usage-exporter/tasks/setup_install.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 David Mehren
# SPDX-FileCopyrightText: 2024 Michael Hollister
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- name: Ensure synapse-usage-exporter paths exist - name: Ensure synapse-usage-exporter paths exist


+ 4
- 0
roles/custom/matrix-synapse-usage-exporter/tasks/setup_uninstall.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Michael Hollister
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- name: Check existence of synapse-usage-exporter service - name: Check existence of synapse-usage-exporter service


+ 4
- 0
roles/custom/matrix-synapse-usage-exporter/tasks/validate_config.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- name: (Deprecation) Catch and report renamed matrix-synapse-usage-exporter settings - name: (Deprecation) Catch and report renamed matrix-synapse-usage-exporter settings


+ 6
- 0
roles/custom/matrix-synapse-usage-exporter/templates/env.j2 Просмотреть файл

@@ -1,3 +1,9 @@
{#
SPDX-FileCopyrightText: 2024 Michael Hollister

SPDX-License-Identifier: AGPL-3.0-or-later
#}

PROMETHEUS_MULTIPROC_DIR=/tmp/prometheus PROMETHEUS_MULTIPROC_DIR=/tmp/prometheus
WERKZEUG_LOG_LEVEL=INFO WERKZEUG_LOG_LEVEL=INFO
APP_LOG_LEVEL=INFO APP_LOG_LEVEL=INFO

+ 3
- 0
roles/custom/matrix-synapse-usage-exporter/templates/grafana/synapse-usage-exporter.json.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Michael Hollister

SPDX-License-Identifier: AGPL-3.0-or-later

+ 6
- 0
roles/custom/matrix-synapse-usage-exporter/templates/labels.j2 Просмотреть файл

@@ -1,3 +1,9 @@
{#
SPDX-FileCopyrightText: 2024 Michael Hollister

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if matrix_synapse_usage_exporter_container_labels_traefik_enabled %} {% if matrix_synapse_usage_exporter_container_labels_traefik_enabled %}
traefik.enable=true traefik.enable=true




+ 4
- 0
roles/custom/matrix-synapse-usage-exporter/templates/systemd/matrix-synapse-usage-exporter.service.j2.license Просмотреть файл

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2024 Michael Hollister
SPDX-FileCopyrightText: 2025 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

Загрузка…
Отмена
Сохранить