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

Method AddFetchedDataBytes

pkg/querier/stats/stats.go:167–173  ·  view source on GitHub ↗
(bytes uint64)

Source from the content-addressed store, hash-verified

165}
166
167func (s *QueryStats) AddFetchedDataBytes(bytes uint64) {
168 if s == nil {
169 return
170 }
171
172 atomic.AddUint64(&s.FetchedDataBytes, bytes)
173}
174
175func (s *QueryStats) LoadFetchedDataBytes() uint64 {
176 if s == nil {

Callers 6

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

Calls

no outgoing calls

Tested by 3

TestStats_MergeFunction · 0.76