Add Prometheus metrics

Closes #197

Co-authored-by: haywo <haywo@nct08.de>
This commit is contained in:
Tulir Asokan
2020-06-17 17:50:06 +03:00
parent 8e30262275
commit beed19fdad
7 changed files with 370 additions and 25 deletions

View File

@@ -49,6 +49,12 @@ appservice:
as_token: "This value is generated when generating the registration"
hs_token: "This value is generated when generating the registration"
metrics:
# Whether or not to enable prometheus metrics
enabled: false
# IP and port where the metrics listener should be. The path is always /metrics
listen: 127.0.0.1:8001
# Bridge config
bridge:
# Localpart template of MXIDs for WhatsApp users.