1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00

add metrics

This commit is contained in:
Gredin 67 2023-01-06 11:26:28 +01:00
parent 2f78213a0e
commit d156b16ff2

View file

@ -48,6 +48,22 @@ services = ["__APP__"]
help = "Set to 'remove' to remove avatar, leave empty to leave avatar as-is"
bind = ":__FINALPATH__/config.yaml"
[appservice.metrics]
name = "Prometheus Metrics"
[appservice.metrics.enable_metrics]
ask = "Enable Prometheus Metrics?"
type = "boolean"
yes = "true"
no = "false"
bind = ":__FINALPATH__/config.yaml"
[appservice.metrics.metrics_listen_port]
ask = "Port for the Metrics listener?"
type = "string"
help = "Default 8000."
bind = ":__FINALPATH__/config.yaml"
[signald]
name = "Signal Daemon Service"
services = ["__APP__"]
@ -78,14 +94,6 @@ services = ["__APP__"]
[bridge.config]
name = "Puppet Settings"
[bridge.config.enable_relaybot]
ask = "Should Relay mode be allowed?"
type = "boolean"
yes = "true"
no = "false"
help = "If allowed, `!sg set-relay` can be used to turn any authenticated user into a RelayBot for that chat."
bind = ":__FINALPATH__/config.yaml"
[bridge.config.username_template]
ask = "Localpart template of MXIDs for Signal users."
type = "string"
@ -99,6 +107,14 @@ services = ["__APP__"]
help = "Multi-user instances are recommended to disallow contact list names, as otherwise there can be conflicts between names from different users' contact lists."
bind = ":__FINALPATH__/config.yaml"
[bridge.config.enable_relaybot]
ask = "Should Relay mode be allowed?"
type = "boolean"
yes = "true"
no = "false"
help = "If allowed, `!sg set-relay` can be used to turn any authenticated user into a RelayBot for that chat."
bind = ":__FINALPATH__/config.yaml"
[bridge.portal_rooms]
name = "Portal Rooms & Encryption Settings"