mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-12-23 05:56:31 +00:00
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) {
|
||||
r.Hasher.Reset()
|
||||
r.NameBuf.Reset()
|
||||
|
|
Loading…
Reference in a new issue