diff options
Diffstat (limited to 'plugins/metrics/config.go')
-rw-r--r-- | plugins/metrics/config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/metrics/config.go b/plugins/metrics/config.go index 9459bc9b..dd36005e 100644 --- a/plugins/metrics/config.go +++ b/plugins/metrics/config.go @@ -134,5 +134,7 @@ func (c *Config) getCollectors() (map[string]prometheus.Collector, error) { } func (c *Config) InitDefaults() { - + if c.Address == "" { + c.Address = "localhost:2112" + } } |