Przeglądaj źródła

template metric toggle for mautrix bridges supporting it

pull/2427/head
Adrien le Maire 3 lat temu
rodzic
commit
691ef13cab
10 zmienionych plików z 22 dodań i 6 usunięć
  1. +3
    -0
      roles/custom/matrix-bridge-mautrix-facebook/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-bridge-mautrix-facebook/templates/config.yaml.j2
  3. +3
    -0
      roles/custom/matrix-bridge-mautrix-instagram/defaults/main.yml
  4. +1
    -1
      roles/custom/matrix-bridge-mautrix-instagram/templates/config.yaml.j2
  5. +3
    -0
      roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml
  6. +1
    -1
      roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2
  7. +3
    -0
      roles/custom/matrix-bridge-mautrix-twitter/defaults/main.yml
  8. +1
    -1
      roles/custom/matrix-bridge-mautrix-twitter/templates/config.yaml.j2
  9. +4
    -0
      roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml
  10. +2
    -2
      roles/custom/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2

+ 3
- 0
roles/custom/matrix-bridge-mautrix-facebook/defaults/main.yml Wyświetl plik

@@ -46,6 +46,9 @@ matrix_mautrix_facebook_homeserver_token: ''
# If false, created portal rooms will never be federated.
matrix_mautrix_facebook_federate_rooms: true

# Whether or not metrics endpoint should be enabled.
matrix_mautrix_facebook_metrics_enabled: false

matrix_mautrix_facebook_bridge_permissions: |
{{
{matrix_mautrix_facebook_homeserver_domain: 'user'}


+ 1
- 1
roles/custom/matrix-bridge-mautrix-facebook/templates/config.yaml.j2 Wyświetl plik

@@ -62,7 +62,7 @@ appservice:

# Prometheus telemetry config. Requires prometheus-client to be installed.
metrics:
enabled: false
enabled: {{ matrix_mautrix_facebook_metrics_enabled }}
listen_port: 8000

# Bridge config


+ 3
- 0
roles/custom/matrix-bridge-mautrix-instagram/defaults/main.yml Wyświetl plik

@@ -47,6 +47,9 @@ matrix_mautrix_instagram_homeserver_token: ''
# If false, created portal rooms will never be federated.
matrix_mautrix_instagram_federate_rooms: true

# Whether or not metrics endpoint should be enabled.
matrix_mautrix_instagram_metrics_enabled: false

# Database-related configuration fields.
#
# To use Postgres:


+ 1
- 1
roles/custom/matrix-bridge-mautrix-instagram/templates/config.yaml.j2 Wyświetl plik

@@ -57,7 +57,7 @@ appservice:

# Prometheus telemetry config. Requires prometheus-client to be installed.
metrics:
enabled: false
enabled: {{ matrix_mautrix_instagram_metrics_enabled }}
listen_port: 8000

instagram:


+ 3
- 0
roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml Wyświetl plik

@@ -70,6 +70,9 @@ matrix_mautrix_signal_logging_level: WARNING
# If false, created portal rooms will never be federated.
matrix_mautrix_signal_federate_rooms: true

# Whether or not metrics endpoint should be enabled.
matrix_mautrix_signal_metrics_enabled: false

# Database-related configuration fields
#
# This bridge only supports postgres.


+ 1
- 1
roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 Wyświetl plik

@@ -67,7 +67,7 @@ appservice:

# Prometheus telemetry config. Requires prometheus-client to be installed.
metrics:
enabled: false
enabled: {{ matrix_mautrix_signal_metrics_enabled }}
listen_port: 8000

# Manhole config.


+ 3
- 0
roles/custom/matrix-bridge-mautrix-twitter/defaults/main.yml Wyświetl plik

@@ -78,6 +78,9 @@ matrix_mautrix_twitter_appservice_bot_username: twitterbot
# Specifies the default log level for all bridge loggers.
matrix_mautrix_twitter_logging_level: WARNING

# Whether or not metrics endpoint should be enabled.
matrix_mautrix_twitter_metrics_enabled: false

# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#


+ 1
- 1
roles/custom/matrix-bridge-mautrix-twitter/templates/config.yaml.j2 Wyświetl plik

@@ -65,7 +65,7 @@ appservice:

# Prometheus telemetry config. Requires prometheus-client to be installed.
metrics:
enabled: false
enabled: {{ matrix_mautrix_twitter_metrics_enabled }}
listen_port: 8000

# Bridge config


+ 4
- 0
roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml Wyświetl plik

@@ -47,6 +47,10 @@ matrix_mautrix_whatsapp_logging_level: 'warn'
# If false, created portal rooms will never be federated.
matrix_mautrix_whatsapp_federate_rooms: true

# Whether or not metrics endpoint should be enabled.
matrix_mautrix_whatsapp_metrics_enabled: false


# Database-related configuration fields.
#
# To use SQLite, stick to these defaults.


+ 2
- 2
roles/custom/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2 Wyświetl plik

@@ -67,9 +67,9 @@ segment_key: null
# Prometheus config.
metrics:
# Enable prometheus metrics?
enabled: false
enabled: {{ matrix_mautrix_whatsapp_metrics_enabled }}
# IP and port where the metrics listener should be. The path is always /metrics
listen: 127.0.0.1:8001
listen: 0.0.0.0:8001

# Config for things that are directly sent to WhatsApp.
whatsapp:


Ładowanie…
Anuluj
Zapisz