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

Method LoadFetchedChunkBytes

pkg/querier/stats/stats.go:159–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159func (s *QueryStats) LoadFetchedChunkBytes() uint64 {
160 if s == nil {
161 return 0
162 }
163
164 return atomic.LoadUint64(&s.FetchedChunkBytes)
165}
166
167func (s *QueryStats) AddFetchedDataBytes(bytes uint64) {
168 if s == nil {

Callers 4

TestStats_MergeFunction · 0.95
reportQueryStatsMethod · 0.80
MergeMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestStats_MergeFunction · 0.76