Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiMetrics = struct { Requests *expvar.Int RenderRequests *expvar.Int RequestCacheHits *expvar.Int RequestCacheMisses *expvar.Int RenderCacheOverheadNS *expvar.Int RequestBuckets expvar.Func FindRequests *expvar.Int FindCacheHits *expvar.Int FindCacheMisses *expvar.Int FindCacheOverheadNS *expvar.Int MemcacheTimeouts expvar.Func CacheSize expvar.Func CacheItems expvar.Func }{ Requests: expvar.NewInt("requests"), RenderRequests: expvar.NewInt("render_requests"), RequestCacheHits: expvar.NewInt("request_cache_hits"), RequestCacheMisses: expvar.NewInt("request_cache_misses"), RenderCacheOverheadNS: expvar.NewInt("render_cache_overhead_ns"), FindRequests: expvar.NewInt("find_requests"), FindCacheHits: expvar.NewInt("find_cache_hits"), FindCacheMisses: expvar.NewInt("find_cache_misses"), FindCacheOverheadNS: expvar.NewInt("find_cache_overhead_ns"), }
View Source
var TimeBuckets []int64
View Source
var ZipperMetrics = struct { FindRequests *expvar.Int FindErrors *expvar.Int SearchRequests *expvar.Int RenderRequests *expvar.Int RenderErrors *expvar.Int InfoRequests *expvar.Int InfoErrors *expvar.Int Timeouts *expvar.Int CacheSize expvar.Func CacheItems expvar.Func CacheMisses *expvar.Int CacheHits *expvar.Int }{ FindRequests: expvar.NewInt("zipper_find_requests"), FindErrors: expvar.NewInt("zipper_find_errors"), SearchRequests: expvar.NewInt("zipper_search_requests"), RenderRequests: expvar.NewInt("zipper_render_requests"), RenderErrors: expvar.NewInt("zipper_render_errors"), InfoRequests: expvar.NewInt("zipper_info_requests"), InfoErrors: expvar.NewInt("zipper_info_errors"), Timeouts: expvar.NewInt("zipper_timeouts"), CacheHits: expvar.NewInt("zipper_cache_hits"), CacheMisses: expvar.NewInt("zipper_cache_misses"), }
Functions ¶
func InitHandlers ¶
func RenderTimeBuckets ¶
func RenderTimeBuckets() interface{}
func SetupMetrics ¶
func ZipperStats ¶
func ZipperStats(stats *zipperTypes.Stats)
Types ¶
type BucketEntry ¶
type BucketEntry int
func (BucketEntry) String ¶
func (b BucketEntry) String() string
Click to show internal directories.
Click to hide internal directories.