Rename mapping cache length metric

The mapper package can be used outside the statsd exporter, so it is
better to use generic names here.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
This commit is contained in:
Matthias Rampke 2020-01-10 13:10:03 +00:00
parent 9d0ea80917
commit ac3e901f19
No known key found for this signature in database
GPG key ID: 2CDE413A9BD0A5BC

View file

@ -21,7 +21,7 @@ import (
var (
cacheLength = prometheus.NewGauge(
prometheus.GaugeOpts{
Name: "statsd_exporter_cache_length",
Name: "mapping_cache_length",
Help: "The count of unique metrics currently cached.",
},
)