Update metric names (#371)
Cleanup names/typos to match standard naming conventions.
This commit is contained in:
parent
490ffbd6d2
commit
98a8fb2622
5 changed files with 13 additions and 13 deletions
8
middleware/cache/handler.go
vendored
8
middleware/cache/handler.go
vendored
|
@ -57,15 +57,15 @@ var (
|
|||
cacheSize = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Namespace: middleware.Namespace,
|
||||
Subsystem: subsystem,
|
||||
Name: "size_guage",
|
||||
Help: "Gauge of number of elements in the cache.",
|
||||
Name: "size",
|
||||
Help: "The number of elements in the cache.",
|
||||
}, []string{"type"})
|
||||
|
||||
cacheCapacity = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Namespace: middleware.Namespace,
|
||||
Subsystem: subsystem,
|
||||
Name: "capacity_gauge",
|
||||
Help: "Gauge of cache's capacity.",
|
||||
Name: "capacity",
|
||||
Help: "The cache's capacity.",
|
||||
}, []string{"type"})
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue