Documentation
¶
Index ¶
- func CacheError(cacheKey, cacheName, cacheType string, msg string) ([]byte, error)
- func ObserveCacheDel(cache, cacheType string, count float64)
- func ObserveCacheEvent(cache, cacheType, event, reason string)
- func ObserveCacheMiss(cacheKey, cacheName, cacheType string)
- func ObserveCacheOperation(cache, cacheType, operation, status string, bytes float64)
- func ObserveCacheSizeChange(cache, cacheType string, byteCount, objectCount int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheError ¶
CacheError returns an empty cache object and the formatted error
func ObserveCacheDel ¶
ObserveCacheDel records a cache deletion event
func ObserveCacheEvent ¶
func ObserveCacheEvent(cache, cacheType, event, reason string)
ObserveCacheEvent increments counters as cache events occur
func ObserveCacheMiss ¶
func ObserveCacheMiss(cacheKey, cacheName, cacheType string)
ObserveCacheMiss records a Cache Miss event
func ObserveCacheOperation ¶
ObserveCacheOperation increments counters as cache operations occur
func ObserveCacheSizeChange ¶
ObserveCacheSizeChange adjust counters and gauges as the cache size changes due to object operations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.