diff --git a/collector/types.go b/collector/types.go index 4a106fe..12f2a85 100644 --- a/collector/types.go +++ b/collector/types.go @@ -90,7 +90,7 @@ type Metric struct { // Metrics is a container structure for prometheus metrics type Metrics struct { - Metric []*Metric + Metric []*Metric `yaml:"metrics"` } type ScrapeContext struct {