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

Method LoadFetchedDataBytes

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

Source from the content-addressed store, hash-verified

173}
174
175func (s *QueryStats) LoadFetchedDataBytes() uint64 {
176 if s == nil {
177 return 0
178 }
179
180 return atomic.LoadUint64(&s.FetchedDataBytes)
181}
182
183func (s *QueryStats) AddFetchedSamples(count uint64) {
184 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