-
Notifications
You must be signed in to change notification settings - Fork 14
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
Logs: Issue queries in forward or backward direction depending on the selected sorting option #970
Conversation
d7e3cb0
to
fcfc371
Compare
It'd be cool to have this before the new release. |
@matyax looks like there's a bug with infinite scroll and oldest first: query-direction-bug-720.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, just the infinite scroll bug and this should be good to go!
a63ca29
to
228d8dc
Compare
The fix for infinite scrolling was sitting in another open PR, as an unrelated change. It was even hard for me to figure out where it was. I should have opened a dedicated PR for that. A proper fix was created in grafana/grafana#98579 |
Sibling of grafana/grafana#98203
Related with grafana/grafana#91904
This adds direction to our logs queries, so they are issued in the backward direction when the sorting is "newest first", or forward direction when looking for "oldest first".
Demo.mov