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