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

chore: use querier in alerts #5045

Merged
merged 6 commits into from
May 24, 2024
Merged

chore: use querier in alerts #5045

merged 6 commits into from
May 24, 2024

Conversation

srikanthccv
Copy link
Member

Summary

Last part of #4845

@github-actions github-actions bot added the chore label May 21, 2024
@srikanthccv srikanthccv marked this pull request as ready for review May 24, 2024 00:39
@srikanthccv srikanthccv requested review from nityanandagohain and ankitnayan and removed request for nityanandagohain May 24, 2024 00:39
@srikanthccv
Copy link
Member Author

This syncs the alerts evaluation to use the same process that query_range API does and keeps what users see and alerts see the same. The formula evaluation is also in sync i.e for v4 a formula if one of the queries doesn't have data then it is interpreted as 0.

Copy link
Member

@nityanandagohain nityanandagohain left a comment

Choose a reason for hiding this comment

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

LGTM

pkg/query-service/rules/thresholdRule.go Show resolved Hide resolved
@srikanthccv srikanthccv merged commit 0cf8817 into develop May 24, 2024
16 checks passed
@srikanthccv srikanthccv deleted the rules-querier branch May 24, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants