File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ local defaults = {
1616 prefixHeader: '' ,
1717 autoDownsampling: true ,
1818 useThanosEngine: false ,
19+ useQueryPushdown: false ,
1920 resources: {},
2021 queryTimeout: '' ,
2122 lookbackDelta: '' ,
@@ -66,6 +67,7 @@ function(params) {
6667 assert std.isBoolean (tq.config.serviceMonitor),
6768 assert std.isBoolean (tq.config.autoDownsampling),
6869 assert std.isBoolean (tq.config.useThanosEngine),
70+ assert std.isBoolean (tq.config.useQueryPushdown),
6971
7072 service: {
7173 apiVersion: 'v1' ,
@@ -172,6 +174,10 @@ function(params) {
172174 '--query.telemetry.request-series-seconds-quantiles=' + std.stripChars(quantile, ' ' )
173175 for quantile in std.split (tq.config.telemetrySeriesQuantiles, ',' )
174176 ] else []
177+ ) + (
178+ if tq.config.useQueryPushdown then [
179+ '--enable-feature=query-pushdown' ,
180+ ] else []
175181 ),
176182 env: [
177183 {
You can’t perform that action at this time.
0 commit comments