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

Alerting: Display error if repeat interval is lower than group interval #69413

Merged
merged 3 commits into from
Jun 2, 2023

Conversation

VikaCep
Copy link
Contributor

@VikaCep VikaCep commented Jun 1, 2023

What is this feature?

Adds a form error when the repeat interval of a notification policy is lower than the group interval.

Why do we need this feature?

This does not work in Alertmanager. If repeat_interval is less than group_interval it is silently ignored, and notifications are repeated once per group_interval instead.

Who is this feature for?

All users

Which issue(s) does this PR fix?:

Reported in Slack.

image

@VikaCep VikaCep added area/frontend add to changelog no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels Jun 1, 2023
@VikaCep VikaCep added this to the 10.0.x milestone Jun 1, 2023
@VikaCep VikaCep requested a review from a team June 1, 2023 18:30
@VikaCep VikaCep self-assigned this Jun 1, 2023
Copy link
Member

@gillesdemey gillesdemey left a comment

Choose a reason for hiding this comment

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

LGTM, small nit :)

@VikaCep VikaCep merged commit e6e88aa into main Jun 2, 2023
7 checks passed
@VikaCep VikaCep deleted the alerting/warning-repeat-interval branch June 2, 2023 14:18
@zerok zerok modified the milestones: 10.0.x, 10.0.1, 10.1.x Jun 20, 2023
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/frontend no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants