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

Method LoadFetchedSeries

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

Source from the content-addressed store, hash-verified

141}
142
143func (s *QueryStats) LoadFetchedSeries() uint64 {
144 if s == nil {
145 return 0
146 }
147
148 return atomic.LoadUint64(&s.FetchedSeriesCount)
149}
150
151func (s *QueryStats) AddFetchedChunkBytes(bytes uint64) {
152 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