-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Preserve interval parameter when splitting queries by time #5622
Conversation
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
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.
LGTM
Adding @slim-bean as reviewer, since the |
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.
LGTM
Just need to resolve conflict I enable auto merge. |
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
dbc1fb2
to
7314e29
Compare
* Preserve interval parameter when splitting queries by time Signed-off-by: Christian Haudum <christian.haudum@gmail.com> * Add tests for interval param on Loki downstream requests Signed-off-by: Christian Haudum <christian.haudum@gmail.com> * Add changelog entry for #5622 Signed-off-by: Christian Haudum <christian.haudum@gmail.com> (cherry picked from commit 95b8856)
…5815) * Preserve interval parameter when splitting queries by time Signed-off-by: Christian Haudum <christian.haudum@gmail.com> * Add tests for interval param on Loki downstream requests Signed-off-by: Christian Haudum <christian.haudum@gmail.com> * Add changelog entry for #5622 Signed-off-by: Christian Haudum <christian.haudum@gmail.com> (cherry picked from commit 95b8856) Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
) (grafana#5815) * Preserve interval parameter when splitting queries by time Signed-off-by: Christian Haudum <christian.haudum@gmail.com> * Add tests for interval param on Loki downstream requests Signed-off-by: Christian Haudum <christian.haudum@gmail.com> * Add changelog entry for grafana#5622 Signed-off-by: Christian Haudum <christian.haudum@gmail.com> (cherry picked from commit 95b8856) Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
What this PR does / why we need it:
This PR fixes the incorrect behaviour where the
interval
parameter from a query range request is ignored in case the query is internally split by time, and therefore returning much more results than expected.Which issue(s) this PR fixes:
Fixes #5613
Special notes for your reviewer:
Checklist
CHANGELOG.md
about the changes.