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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
*[ENHANCEMENT] S3 Bucket Client: Add a list objects version configs to configure list api object version. #6280
13
13
*[ENHANCEMENT] OpenStack Swift: Add application credential configs for Openstack swift object storage backend. #6255
14
14
*[ENHANCEMENT] Query Frontend: Add new query stats metrics `cortex_query_samples_scanned_total` and `cortex_query_peak_samples` to track scannedSamples and peakSample per user. #6228
f.StringVar(&cfg.AdminLimitMessage, "ingester.admin-limit-message", "please contact administrator to raise it", "Customize the message contained in limit errors")
164
169
165
170
f.BoolVar(&cfg.LabelsStringInterningEnabled, "ingester.labels-string-interning-enabled", false, "Experimental: Enable string interning for metrics labels.")
171
+
172
+
f.BoolVar(&cfg.DisableChunkTrimming, "ingester.disable-chunk-trimming", false, "Disable trimming of matching series chunks based on query Start and End time. When disabled, the result may contain samples outside the queried time range but select performances may be improved. Note that certain query results might change by changing this option.")
166
173
}
167
174
168
175
func (cfg*Config) Validate() error {
@@ -1985,7 +1992,7 @@ func (i *Ingester) queryStreamChunks(ctx context.Context, db *userTSDB, from, th
1985
1992
hints:=&storage.SelectHints{
1986
1993
Start: from,
1987
1994
End: through,
1988
-
DisableTrimming: true,
1995
+
DisableTrimming: i.cfg.DisableChunkTrimming,
1989
1996
}
1990
1997
// It's not required to return sorted series because series are sorted by the Cortex querier.
0 commit comments