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

Method AddFetchedChunks

pkg/querier/stats/stats.go:199–205  ·  view source on GitHub ↗
(count uint64)

Source from the content-addressed store, hash-verified

197}
198
199func (s *QueryStats) AddFetchedChunks(count uint64) {
200 if s == nil {
201 return
202 }
203
204 atomic.AddUint64(&s.FetchedChunksCount, count)
205}
206
207func (s *QueryStats) LoadFetchedChunks() uint64 {
208 if s == nil {

Callers 5

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

Calls

no outgoing calls

Tested by 2

TestStats_MergeFunction · 0.76