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

Method MaxFetchedChunkBytesPerQuery

pkg/util/validation/limits.go:791–793  ·  view source on GitHub ↗

MaxFetchedChunkBytesPerQuery returns the maximum number of bytes for chunks allowed per query when fetching chunks from ingesters and blocks storage.

(userID string)

Source from the content-addressed store, hash-verified

789// MaxFetchedChunkBytesPerQuery returns the maximum number of bytes for chunks allowed per query when fetching
790// chunks from ingesters and blocks storage.
791func (o *Overrides) MaxFetchedChunkBytesPerQuery(userID string) int {
792 return o.GetOverridesForUser(userID).MaxFetchedChunkBytesPerQuery
793}
794
795// MaxFetchedDataBytesPerQuery returns the maximum number of bytes for all data allowed per query when fetching
796// from ingesters and blocks storage.

Callers 1

setupFromCtxMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected