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

Querier: pass query matchers to TimeRangeQueryable.IsApplicable function #10256

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

ortuman
Copy link
Contributor

@ortuman ortuman commented Dec 16, 2024

What this PR does

follow-up of #9712

This PR adds the necessary changes to propagate the passed matchers to the TimeRangeQueryable.IsApplicable function, which can be useful for upstream projects by allowing a custom queryable to be applicable only for a specific queried metric.

Which issue(s) this PR fixes or relates to

Fixes n/a

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.

@ortuman ortuman force-pushed the ortuman/querier/pass-matchers-to-is-applicable-fn branch from add0836 to 1dc8f06 Compare December 16, 2024 14:23
Signed-off-by: Miguel Ángel Ortuño <[email protected]>
@ortuman ortuman force-pushed the ortuman/querier/pass-matchers-to-is-applicable-fn branch from 76f79e2 to da81c2c Compare December 16, 2024 14:46
@ortuman ortuman changed the title querier: pass query matchers to TimeRangeQueryable.IsApplicable function Querier: pass query matchers to TimeRangeQueryable.IsApplicable function Dec 16, 2024
@ortuman ortuman requested a review from replay December 16, 2024 15:04
@ortuman ortuman marked this pull request as ready for review December 16, 2024 15:04
@ortuman ortuman requested a review from a team as a code owner December 16, 2024 15:04
Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

@ortuman ortuman merged commit 9b6bc36 into main Dec 16, 2024
29 checks passed
@ortuman ortuman deleted the ortuman/querier/pass-matchers-to-is-applicable-fn branch December 16, 2024 15:15
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