forked from mirrors/statsd_exporter
Fix comment
Signed-off-by: royeo <ljn6176@gmail.com>
This commit is contained in:
parent
ea25c7a114
commit
393b4ca495
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ func (r *Registry) RemoveStaleMetrics() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculates a hash of both the label names and the label names and values.
|
// Calculates a hash of both the label names and values.
|
||||||
func (r *Registry) HashLabels(labels prometheus.Labels) (metrics.LabelHash, []string) {
|
func (r *Registry) HashLabels(labels prometheus.Labels) (metrics.LabelHash, []string) {
|
||||||
r.Hasher.Reset()
|
r.Hasher.Reset()
|
||||||
r.NameBuf.Reset()
|
r.NameBuf.Reset()
|
||||||
|
|
Loading…
Reference in a new issue