Add Prometheus metrics

Closes #197

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

No files matched your search

+5
View File
@@ -61,6 +61,11 @@ type Config struct {
HSToken string `yaml:"hs_token"`
} `yaml:"appservice"`
Metrics struct {
Enabled bool `yaml:"enabled"`
Listen string `yaml:"listen"`
} `yaml:"metrics"`
Bridge BridgeConfig `yaml:"bridge"`
Logging appservice.LogConfig `yaml:"logging"`