Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-z committed Mar 25, 2022
1 parent a40e1cf commit 0eba7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prometheus/vec.go
Expand Up @@ -80,7 +80,7 @@ func (m *MetricVec) DeleteLabelValues(lvs ...string) bool {
return m.metricMap.deleteByHashWithLabelValues(h, lvs, m.curry)
}

// DeletePartialMatchLabelValues removes the metric where the variable labels
// DeletePartialMatchLabelValues deletes all metrics where the variable labels
// contain all of the values passed. The order of the passed values does not matter.
// It returns the number of metrics deleted.

Expand Down Expand Up @@ -109,7 +109,7 @@ func (m *MetricVec) Delete(labels Labels) bool {
return m.metricMap.deleteByHashWithLabels(h, labels, m.curry)
}

// DeletePartialMatch deletes the metric where the variable labels contains all of those
// DeletePartialMatch deletes all metrics where the variable labels contain all of those
// passed in as labels. The order of the labels does not matter.
// It returns the number of metrics deleted.

Expand Down

0 comments on commit 0eba7e4

Please sign in to comment.