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
as "limit" type instead of filter, which incorrectly set query parallelism to 1, leading to drastic performance drop.
This actually happens a lot since some one browsing logs in grafana and use grafana menu to add filter will easily trigger this. For logs that reaches 100s of gigs, log volume query will finish very fast(with parallel query), but log content itself seems stuck and never returns.
Describe the bug
Loki's query parser incorrect parse query
as "limit" type instead of filter, which incorrectly set query parallelism to 1, leading to drastic performance drop.
This actually happens a lot since some one browsing logs in grafana and use grafana menu to add filter will easily trigger this. For logs that reaches 100s of gigs, log volume query will finish very fast(with parallel query), but log content itself seems stuck and never returns.
To Reproduce
Steps to reproduce the behavior:
some-filter-content
|= ``Expected behavior
Query above should be recognized as filter type, thus utilize all available queriers.
Environment:
Screenshots, Promtail config, or terminal output
There is already a unit test in logql module, I added two lines to demonstrate this issue.
The text was updated successfully, but these errors were encountered: