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

Method MaxQueryLookback

pkg/querier/tripperware/limits.go:13–13  ·  view source on GitHub ↗

MaxQueryLookback returns the max lookback period of queries.

(userID string)

Source from the content-addressed store, hash-verified

11type Limits interface {
12 // MaxQueryLookback returns the max lookback period of queries.
13 MaxQueryLookback(userID string) time.Duration
14
15 // MaxQueryLength returns the limit of the length (in time) of a query.
16 MaxQueryLength(string) time.Duration

Callers 1

validateQueryTimeRangeFunction · 0.65

Implementers 1

Overridespkg/util/validation/limits.go

Calls

no outgoing calls

Tested by

no test coverage detected