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

Rewrite subqueries that have the same range and resolution (#10445) #10472

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

56quarters
Copy link
Contributor

  • Rewrite subqueries that have the same range and resolution

Fix queries that have the same range and resolution since this will only return a single point when using Prometheus 3 selectors, left open and right closed (compared to Prometheus 2 left closed and right closed).

  • Changelog

Signed-off-by: Nick Pillitteri [email protected]


Signed-off-by: Nick Pillitteri [email protected]
(cherry picked from commit b812677)

What this PR does

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

* Rewrite subqueries that have the same range and resolution

Fix queries that have the same range and resolution since this will
only return a single point when using Prometheus 3 selectors, left
open and right closed (compared to Prometheus 2 left closed and right
closed).

* Changelog

Signed-off-by: Nick Pillitteri <[email protected]>

---------

Signed-off-by: Nick Pillitteri <[email protected]>
(cherry picked from commit b812677)
@56quarters 56quarters marked this pull request as ready for review January 17, 2025 15:55
@56quarters 56quarters requested review from tacole02 and a team as code owners January 17, 2025 15:55
@56quarters 56quarters merged commit 5365339 into r321 Jan 17, 2025
29 checks passed
@56quarters 56quarters deleted the backport-10445-to-r321 branch January 17, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants