correct metrics name of cache size (#3805)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
parent
7bb32dee7d
commit
4ccd55e95e
6 changed files with 9 additions and 7 deletions
2
plugin/cache/metrics.go
vendored
2
plugin/cache/metrics.go
vendored
|
@ -11,7 +11,7 @@ var (
|
|||
cacheSize = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Namespace: plugin.Namespace,
|
||||
Subsystem: "cache",
|
||||
Name: "size",
|
||||
Name: "entries",
|
||||
Help: "The number of elements in the cache.",
|
||||
}, []string{"server", "type"})
|
||||
// cacheHits is counter of cache hits by cache type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue