summaryrefslogtreecommitdiff
path: root/service/metrics/config.go
diff options
context:
space:
mode:
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
}