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

Method LoadFetchedChunks

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

Source from the content-addressed store, hash-verified

205}
206
207func (s *QueryStats) LoadFetchedChunks() uint64 {
208 if s == nil {
209 return 0
210 }
211
212 return atomic.LoadUint64(&s.FetchedChunksCount)
213}
214
215// AddQueryStorageWallTime adds some time to the counter.
216func (s *QueryStats) AddQueryStorageWallTime(t time.Duration) {

Callers 4

TestStats_MergeFunction · 0.95
reportQueryStatsMethod · 0.80
MergeMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestStats_MergeFunction · 0.76