Explorar el Código

Use |to_json in mautrix metrics configuration

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2427
pull/2433/head
Slavi Pantaleev hace 3 años
padre
commit
611a74bde2
Se han modificado 5 ficheros con 5 adiciones y 5 borrados
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-facebook/templates/config.yaml.j2
  2. +1
    -1
      roles/custom/matrix-bridge-mautrix-instagram/templates/config.yaml.j2
  3. +1
    -1
      roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2
  4. +1
    -1
      roles/custom/matrix-bridge-mautrix-twitter/templates/config.yaml.j2
  5. +1
    -1
      roles/custom/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2

+ 1
- 1
roles/custom/matrix-bridge-mautrix-facebook/templates/config.yaml.j2 Ver fichero

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

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

# Bridge config


+ 1
- 1
roles/custom/matrix-bridge-mautrix-instagram/templates/config.yaml.j2 Ver fichero

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

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

instagram:


+ 1
- 1
roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 Ver fichero

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

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

# Manhole config.


+ 1
- 1
roles/custom/matrix-bridge-mautrix-twitter/templates/config.yaml.j2 Ver fichero

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

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

# Bridge config


+ 1
- 1
roles/custom/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2 Ver fichero

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



Cargando…
Cancelar
Guardar