summaryrefslogtreecommitdiff
path: root/plugins/metrics/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-13 17:43:20 +0300
committerValery Piashchynski <[email protected]>2020-11-13 17:43:20 +0300
commit9fd0b28d3a6a60b5e08af03bd86bcef042152e1c (patch)
tree2e925c736eb8cf3b27995db0882d06557432925f /plugins/metrics/config.go
parent99b6012400ab407cfcb04aab833640af565d550d (diff)
golangci linters warnings fix
Diffstat (limited to 'plugins/metrics/config.go')
-rw-r--r--plugins/metrics/config.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/metrics/config.go b/plugins/metrics/config.go
index 73fb64ba..933b7eb8 100644
--- a/plugins/metrics/config.go
+++ b/plugins/metrics/config.go
@@ -56,11 +56,6 @@ type Collector struct {
Buckets []float64 `json:"buckets"`
}
-// Hydrate configuration.
-//func (c *Config) Hydrate(cfg service.Config) error {
-// return cfg.Unmarshal(c)
-//}
-
// register application specific metrics.
func (c *Config) getCollectors() (map[string]prometheus.Collector, error) {
if c.Collect == nil {