mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-22 15:30:59 +00:00
commit
cd27e25711
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