Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CacheConfig []CacheCfg
View Source
var CacheMetrics = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Name: "cs_cache_size", Help: "Entries per cache.", }, []string{"name", "type"}, )
prometheus
View Source
var CacheNames []string
View Source
var Caches []gcache.Cache
Functions ¶
func UpdateCacheMetrics ¶
func UpdateCacheMetrics()
UpdateCacheMetrics is called directly by the prom handler
Types ¶
Click to show internal directories.
Click to hide internal directories.