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

Method MaxFetchedSeriesPerQuery

pkg/util/validation/limits.go:785–787  ·  view source on GitHub ↗

MaxFetchedSeriesPerQuery returns the maximum number of series allowed per query when fetching chunks from ingesters and blocks storage.

(userID string)

Source from the content-addressed store, hash-verified

783// MaxFetchedSeriesPerQuery returns the maximum number of series allowed per query when fetching
784// chunks from ingesters and blocks storage.
785func (o *Overrides) MaxFetchedSeriesPerQuery(userID string) int {
786 return o.GetOverridesForUser(userID).MaxFetchedSeriesPerQuery
787}
788
789// MaxFetchedChunkBytesPerQuery returns the maximum number of bytes for chunks allowed per query when fetching
790// chunks from ingesters and blocks storage.

Callers 2

newSeriesLimiterFactoryFunction · 0.80
setupFromCtxMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected