Loki returns an entire table on query with negative limit value. #1604
Labels
component/loki
keepalive
An issue or PR that will be kept alive and never marked as stale.
type/bug
Somehing is not working as expected
Describe the bug
When querying Loki with a query parameter
limit: -1
(or any other negative value), Loki returns an entire table. When doing it from Grafana, it crashes a browser thread when the returned object is too big (because parsing takes too long or we exceed a memory limit).Expected behavior
With negative limit parameter Loki returns no elements.
The text was updated successfully, but these errors were encountered: