summaryrefslogtreecommitdiff
path: root/service/metrics/config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-27 13:56:58 +0300
committerWolfy-J <[email protected]>2019-06-27 13:56:58 +0300
commitf9a775a009f1c91666d697c2d69cf602aaffb51c (patch)
treee2b2ed85a4fa51bd327056d05e694551b8780423 /service/metrics/config.go
parentb97df692cc8f460bcb1639621d2eb27c3c29fdab (diff)
more tests
Diffstat (limited to 'service/metrics/config.go')
-rw-r--r--service/metrics/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/metrics/config.go b/service/metrics/config.go
index 343e31d1..b17fc0c9 100644
--- a/service/metrics/config.go
+++ b/service/metrics/config.go
@@ -41,7 +41,7 @@ func (c *Config) Hydrate(cfg service.Config) error {
}
// register application specific metrics.
-func (c *Config) initCollectors() (map[string]prometheus.Collector, error) {
+func (c *Config) getCollectors() (map[string]prometheus.Collector, error) {
if c.Collect == nil {
return nil, nil
}