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

Method LoadFetchedSamples

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

Source from the content-addressed store, hash-verified

189}
190
191func (s *QueryStats) LoadFetchedSamples() uint64 {
192 if s == nil {
193 return 0
194 }
195
196 return atomic.LoadUint64(&s.FetchedSamplesCount)
197}
198
199func (s *QueryStats) AddFetchedChunks(count uint64) {
200 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