Skip to content
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

promql: Fix subqueries to be really left-open #762

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Nov 21, 2024

Cherry-pick prometheus/prometheus#15431, which is a bug fix we need for Mimir when upgrading to Prometheus v3.

Previously, we managed to get rid of the sample on the left bound
later, so the problem didn't show up in the framework tests. But the
subqueries were still evaluation with the sample on the left bound,
taking space and showing up if returning the subquery result directly
(without further processing through PromQL like in all the framework
tests).

Signed-off-by: beorn7 <[email protected]>
@aknuds1 aknuds1 added the bug Something isn't working label Nov 21, 2024
@aknuds1 aknuds1 merged commit fd7e39a into main Nov 21, 2024
9 checks passed
@aknuds1 aknuds1 deleted the arve/fix-subqueries branch November 21, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants