-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rate() query performance regression in 2.0.0 #2827
Comments
Dropping my notes:
see Line 870 in 081cc02
|
Got a flame graph. Going to work from this benchmark:
Working in this branch: https://github.com/cyriltovena/loki/tree/labels-logqlv2 |
current status:
diff
|
Describe the bug
It looks like logqlv2 has introduced a performance regression when querying rates on a largish amount of streams. This query: rate({namespace_name=""}[5m]) (for a 1 hour period) takes 3-4 times longer with 2.0.0, than with grafana/loki:k34-8ea6c38 (provided by @slim-bean on Slack)
Expected behavior
Same or better performance than 1.6.1
Environment:
Screenshots, Promtail config, or terminal output
Stats from 2.0.0:
Stats from k34-8ea6c38:
The text was updated successfully, but these errors were encountered: