diff options
author | Valery Piashchynski <[email protected]> | 2021-08-11 11:45:24 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-11 11:45:24 +0300 |
commit | 3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f (patch) | |
tree | 38f25c3c0679e8510b896d001d1b7dccf21c4bd8 /plugins/metrics/config.go | |
parent | d449d9d5aec1eec6d494064299feb1551f88ffe2 (diff) |
Replace all 'localhost' with '127.0.0.1'. Fix default configuration and
other small bugs.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/metrics/config.go')
-rw-r--r-- | plugins/metrics/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/metrics/config.go b/plugins/metrics/config.go index dd36005e..a2835130 100644 --- a/plugins/metrics/config.go +++ b/plugins/metrics/config.go @@ -135,6 +135,6 @@ func (c *Config) getCollectors() (map[string]prometheus.Collector, error) { func (c *Config) InitDefaults() { if c.Address == "" { - c.Address = "localhost:2112" + c.Address = "127.0.0.1:2112" } } |