Remove metrics config. Fixes #13
This commit is contained in:
parent
c5c415cd08
commit
7c60a757f0
3 changed files with 0 additions and 16 deletions
|
@ -30,11 +30,6 @@ type Config struct {
|
|||
UserID string `yaml:"user_id"`
|
||||
}
|
||||
|
||||
Metrics struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
Listen string `yaml:"listen"`
|
||||
} `yaml:"metrics"`
|
||||
|
||||
GoogleMessages struct {
|
||||
OS string `yaml:"os"`
|
||||
Browser string `yaml:"browser"`
|
||||
|
|
|
@ -29,9 +29,6 @@ func DoUpgrade(helper *up.Helper) {
|
|||
helper.Copy(up.Str|up.Null, "analytics", "token")
|
||||
helper.Copy(up.Str|up.Null, "analytics", "user_id")
|
||||
|
||||
helper.Copy(up.Bool, "metrics", "enabled")
|
||||
helper.Copy(up.Str, "metrics", "listen")
|
||||
|
||||
helper.Copy(up.Str, "google_messages", "os")
|
||||
helper.Copy(up.Str, "google_messages", "browser")
|
||||
helper.Copy(up.Bool, "google_messages", "aggressive_reconnect")
|
||||
|
@ -106,7 +103,6 @@ var SpacedBlocks = [][]string{
|
|||
{"appservice", "id"},
|
||||
{"appservice", "as_token"},
|
||||
{"analytics"},
|
||||
{"metrics"},
|
||||
{"google_messages"},
|
||||
{"bridge"},
|
||||
{"bridge", "command_prefix"},
|
||||
|
|
|
@ -85,13 +85,6 @@ analytics:
|
|||
# Optional user ID for tracking events. If null, defaults to using Matrix user ID.
|
||||
user_id: null
|
||||
|
||||
# Prometheus config.
|
||||
metrics:
|
||||
# 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
|
||||
|
||||
google_messages:
|
||||
# OS name to tell the phone. This is the name that shows up in the paired devices list.
|
||||
os: mautrix-gmessages
|
||||
|
|
Loading…
Reference in a new issue