Skip to content

Commit 9a8cb32

Browse files
committed
Comments
Signed-off-by: Zach Stone <[email protected]>
1 parent fa775cf commit 9a8cb32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prometheus/vec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (m *MetricVec) DeleteLabelValues(lvs ...string) bool {
8080
return m.metricMap.deleteByHashWithLabelValues(h, lvs, m.curry)
8181
}
8282

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

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

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

0 commit comments

Comments
 (0)