Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 16f0a50

Browse files
committed
Change max query length to 32 days
To allow for comparision over months of 31d Signed-off-by: Goutham Veeramachaneni <[email protected]>
1 parent b82a999 commit 16f0a50

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cortex/config.libsonnet

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,11 @@
169169
// Limit the size of the rows we read from the index.
170170
'store.cardinality-limit': 1e6,
171171

172-
// Don't allow individual queries of longer than 31days. Due to day query
173-
// splitting in the frontend, the reality is this only limits rate(foo[31d])
174-
// type queries.
175-
'store.max-query-length': '744h',
172+
// Don't allow individual queries of longer than 32days. Due to day query
173+
// splitting in the frontend, the reality is this only limits rate(foo[32d])
174+
// type queries. 32 days to allow for comparision over the last month (31d) and
175+
// then some.
176+
'store.max-query-length': '768h',
176177
} + (
177178
if $._config.storage_engine == 'chunks' then {
178179
// Don't query ingesters for older queries.

0 commit comments

Comments
 (0)