diff options
author | Wolfy-J <[email protected]> | 2019-06-27 13:35:16 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-06-27 13:35:16 +0300 |
commit | 1ba7781dd4bb9767759fa596d3d7209497aaf37f (patch) | |
tree | fc047874eb51d6014120eb695e932ef47436e485 /service/metrics/config.go | |
parent | 11870a2df3ccd8f79f131354ba106e557c248b48 (diff) |
more tests, isolated prometheus instance
Diffstat (limited to 'service/metrics/config.go')
-rw-r--r-- | service/metrics/config.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/service/metrics/config.go b/service/metrics/config.go index b9b21ea9..343e31d1 100644 --- a/service/metrics/config.go +++ b/service/metrics/config.go @@ -108,10 +108,6 @@ func (c *Config) initCollectors() (map[string]prometheus.Collector, error) { return nil, fmt.Errorf("invalid metric type `%s` for `%s`", m.Type, name) } - if err := prometheus.Register(collector); err != nil { - return nil, err - } - collectors[name] = collector } |