src/go/plugin/go.d/modules/consul/collect_metrics.go
Method Consul.collectGauge
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Consul) collectGauge(mx map[string]int64, mfs prometheus.MetricFamilies, name string, mul float64, aliases ...string) {