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

Method MaxFetchedDataBytesPerQuery

pkg/util/validation/limits.go:797–799  ·  view source on GitHub ↗

MaxFetchedDataBytesPerQuery returns the maximum number of bytes for all data allowed per query when fetching from ingesters and blocks storage.

(userID string)

Source from the content-addressed store, hash-verified

795// MaxFetchedDataBytesPerQuery returns the maximum number of bytes for all data allowed per query when fetching
796// from ingesters and blocks storage.
797func (o *Overrides) MaxFetchedDataBytesPerQuery(userID string) int {
798 return o.GetOverridesForUser(userID).MaxFetchedDataBytesPerQuery
799}
800
801// MaxDownloadedBytesPerRequest returns the maximum number of bytes to download for each gRPC request in Store Gateway,
802// including any data fetched from cache or object storage.

Callers 1

setupFromCtxMethod · 0.80

Calls 1

GetOverridesForUserMethod · 0.95

Tested by

no test coverage detected