Skip to content

Commit

Permalink
Add -store.max-query-length support to blocks storage (grafana#2826)
Browse files Browse the repository at this point in the history
* Add -store.max-query-length support to blocks storage

Signed-off-by: Marco Pracucci <[email protected]>

* Added PR number to CHANGELOG

Signed-off-by: Marco Pracucci <[email protected]>

* Update pkg/util/validation/limits.go

Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>

* Updated doc

Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
  • Loading branch information
pracucci and pstibrany authored Jul 6, 2020
1 parent 417b3d8 commit 3c8b348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chunk_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ func TestChunkStoreError(t *testing.T) {
query: "foo",
from: model.Time(0),
through: model.Time(0).Add(31 * 24 * time.Hour),
err: "invalid query, length > limit (744h0m0s > 720h0m0s)",
err: "the query time range exceeds the limit (query length: 744h0m0s, limit: 720h0m0s)",
},
{
query: "{foo=\"bar\"}",
Expand Down

0 comments on commit 3c8b348

Please sign in to comment.