Add Prometheus metrics
Closes #197 Co-authored-by: haywo <haywo@nct08.de>
This commit is contained in:
@ -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"`
|
||||
|
Reference in New Issue
Block a user