metrics/prometheus/metrics.go
Function convertToPrometheusMetric
has 7 return statements (exceeds 4 allowed). Open
Open
func convertToPrometheusMetric(name string, m interface{}) (prometheus.Collector, bool) {
opts := prometheus.Opts{
Namespace: namespace,
Name: prometheusDelims(name),
}