MCPcopy Index your code
hub / github.com/cortexproject/cortex / AddFetchedSeries

Method AddFetchedSeries

pkg/querier/stats/stats.go:96–102  ·  view source on GitHub ↗
(series uint64)

Source from the content-addressed store, hash-verified

94}
95
96func (s *QueryStats) AddFetchedSeries(series uint64) {
97 if s == nil {
98 return
99 }
100
101 atomic.AddUint64(&s.FetchedSeriesCount, series)
102}
103
104func (s *QueryStats) AddExtraFields(fieldsVals ...any) {
105 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