code: func findMetricWithLabelValues(
  	metrics []metricWithLabelValues, lvs []string, curry []curriedLabelValue,
  ) int {
  	for i, metric := range metrics {
  		if matchLabelValues(metric.values, lvs, curry) {
  			return i
  		}
  	}
  	return len(metrics)
  }
docs: // findMetricWithLabelValues returns the index of the matching metric or
  // len(metrics) if not found.