template metric toggle for mautrix bridges supporting it
This commit is contained in:
@ -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.
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user