Add Prometheus metrics
Closes #197 Co-authored-by: haywo <haywo@nct08.de>
This commit is contained in:
1 parent
8e30262275
commit
beed19fdad
7 files changed
+370
-25
No files matched your search
@@ -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