forked from mirrors/statsd_exporter
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:
parent
9d0ea80917
commit
ac3e901f19
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ import (
|
||||||
var (
|
var (
|
||||||
cacheLength = prometheus.NewGauge(
|
cacheLength = prometheus.NewGauge(
|
||||||
prometheus.GaugeOpts{
|
prometheus.GaugeOpts{
|
||||||
Name: "statsd_exporter_cache_length",
|
Name: "mapping_cache_length",
|
||||||
Help: "The count of unique metrics currently cached.",
|
Help: "The count of unique metrics currently cached.",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue