Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Limits ¶
type Limits interface {
queryrangebase.Limits
logql.Limits
QuerySplitDuration(string) time.Duration
InstantMetricQuerySplitDuration(string) time.Duration
MetadataQuerySplitDuration(string) time.Duration
RecentMetadataQuerySplitDuration(string) time.Duration
RecentMetadataQueryWindow(string) time.Duration
IngesterQuerySplitDuration(string) time.Duration
MaxQuerySeries(userID string) int
MaxEntriesLimitPerQuery(context.Context, string) int
MinShardingLookback(string) time.Duration
// DataObjQueryStartTime returns the time from which the tenant reads stream-first metric queries
// from data objects. The zero time turns data-object reads off for the tenant.
DataObjQueryStartTime(userID string) time.Time
// TSDBMaxQueryParallelism returns the limit to the number of split queries the
// frontend will process in parallel for TSDB queries.
TSDBMaxQueryParallelism(context.Context, string) int
// TSDBMaxBytesPerShard returns the limit to the number of bytes a single shard
TSDBMaxBytesPerShard(string) int
// DataObjMaxBytesPerShard returns the target maximum number of bytes in one shard of a query
// that reads data objects.
DataObjMaxBytesPerShard(string) uint64
TSDBShardingStrategy(context.Context, string) string
RequiredLabels(context.Context, string) []string
RequiredNumberLabels(context.Context, string) int
MaxQueryBytesRead(context.Context, string) int
MaxQuerierBytesRead(context.Context, string) int
MaxStatsCacheFreshness(context.Context, string) time.Duration
MaxMetadataCacheFreshness(context.Context, string) time.Duration
VolumeEnabled(string) bool
ShardAggregations(string) []string
}
Limits extends the cortex limits interface with support for per tenant splitby parameters They've been extracted to avoid import cycles.
Click to show internal directories.
Click to hide internal directories.