浏览代码

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年前
父节点
当前提交
2f2e551798
找不到此签名对应的密钥 GPG 密钥 ID: 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)

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


+ 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:


+ 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


+ 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


+ 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


+ 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
WERKZEUG_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 %}
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

正在加载...
取消
保存