You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add querier.max-subquery-steps to make subquery step size check optional (#5656)
* add querier.max-subquery-steps to make subquery step size check optional
Signed-off-by: Ben Ye <[email protected]>
* update
Signed-off-by: Ben Ye <[email protected]>
* disable subquery step size check by default, make it optional
Signed-off-by: Ben Ye <[email protected]>
* fix integ test and add changelog
Signed-off-by: Ben Ye <[email protected]>
---------
Signed-off-by: Ben Ye <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
*[CHANGE] DDBKV: Change metric name from `dynamodb_kv_read_capacity_total` to `dynamodb_kv_consumed_capacity_total` and include Delete, Put, Batch dimension. #5487
21
21
*[CHANGE] Compactor: Adding the userId on the compact dir path. #5524
*[CHANGE] Query Frontend: Expose `-querier.max-subquery-steps` to configure subquery max steps check. By default, the limit is set to 0, which is disabled. #5656
23
24
*[FEATURE] Store Gateway: Implementing multi level index cache. #5451
24
25
*[FEATURE] Ruler: Add support for disabling rule groups. #5521
25
26
*[FEATURE] Support object storage backends for runtime configuration file. #5292
f.DurationVar(&cfg.LookbackDelta, "querier.lookback-delta", 5*time.Minute, "Time since the last sample after which a time series is considered stale and ignored by expression evaluations.")
115
118
f.DurationVar(&cfg.ShuffleShardingIngestersLookbackPeriod, "querier.shuffle-sharding-ingesters-lookback-period", 0, "When distributor's sharding strategy is shuffle-sharding and this setting is > 0, queriers fetch in-memory series from the minimum set of required ingesters, selecting only ingesters which may have received series since 'now - lookback period'. The lookback period should be greater or equal than the configured 'query store after' and 'query ingesters within'. If this setting is 0, queriers always query all ingesters (ingesters shuffle sharding on read path is disabled).")
116
119
f.BoolVar(&cfg.ThanosEngine, "querier.thanos-engine", false, "Experimental. Use Thanos promql engine https://github.com/thanos-io/promql-engine rather than the Prometheus promql engine.")
120
+
f.Int64Var(&cfg.MaxSubQuerySteps, "querier.max-subquery-steps", 0, "Max number of steps allowed for every subquery expression in query. Number of steps is calculated using subquery range / step. A value > 0 enables it.")
0 commit comments