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