MCPcopy Create free account
hub / github.com/cortexproject/cortex / AddFetchedChunkBytes

Method AddFetchedChunkBytes

pkg/querier/stats/stats.go:151–157  ·  view source on GitHub ↗
(bytes uint64)

Source from the content-addressed store, hash-verified

149}
150
151func (s *QueryStats) AddFetchedChunkBytes(bytes uint64) {
152 if s == nil {
153 return
154 }
155
156 atomic.AddUint64(&s.FetchedChunkBytes, bytes)
157}
158
159func (s *QueryStats) LoadFetchedChunkBytes() uint64 {
160 if s == nil {

Callers 7

TestStats_MergeFunction · 0.95
MergeMethod · 0.95
queryIngesterStreamMethod · 0.80
fetchSeriesFromStoresMethod · 0.80

Calls

no outgoing calls