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

Method LoadScannedSamples

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

Source from the content-addressed store, hash-verified

347}
348
349func (s *QueryStats) LoadScannedSamples() uint64 {
350 if s == nil {
351 return 0
352 }
353
354 return atomic.LoadUint64(&s.ScannedSamples)
355}
356
357func (s *QueryStats) AddPeakSamples(count uint64) {
358 if s == nil {

Callers 5

TestStats_MergeFunction · 0.95
reportQueryStatsMethod · 0.80
Test_StatsRendererFunction · 0.80
MergeMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestStats_MergeFunction · 0.76
Test_StatsRendererFunction · 0.64