Documentation ¶
Index ¶
- Variables
- func NewCacheExpiredCounter(cacheType, cacheName string) *prometheus.CounterVec
- func NewCacheLenGauge(cacheType, cacheName string, f func() uint)
- func NewCacheOperationDuration(cacheType, cacheName string) prometheus.ObserverVec
- func NewCacheSizeGauge(cacheType, cacheName string, f func() uint64)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefBuckets = []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10, 30}
Functions ¶
func NewCacheExpiredCounter ¶
func NewCacheExpiredCounter(cacheType, cacheName string) *prometheus.CounterVec
func NewCacheLenGauge ¶
func NewCacheOperationDuration ¶
func NewCacheOperationDuration(cacheType, cacheName string) prometheus.ObserverVec
func NewCacheSizeGauge ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.