code: func (m *metricMap) deleteByHashWithLabelValues(
  	h uint64, lvs []string, curry []curriedLabelValue,
  ) bool {
  	m.mtx.Lock()
  	defer m.mtx.Unlock()
  
  	metrics, ok := m.metrics[h]
  	if !ok {
  		return false
  	}
  
  	i := findMetricWithLabelValues(metrics, lvs, curry)
  	if i >= len(metrics) {
  		return false
  	}
  
  	if len(metrics) > 1 {
  		m.metrics[h] = append(metrics[:i], metrics[i+1:]...)
  	} else {
  		delete(m.metrics, h)
  	}
  	return true
  }
docs: // deleteByHashWithLabelValues removes the metric from the hash bucket h. If
  // there are multiple matches in the bucket, use lvs to select a metric and
  // remove only that metric.