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: update route schema to require group_by only for the root policy #1072

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

yuri-tceretian
Copy link
Contributor

In Alertmanager only the root policy requires the field group_by to be specified. In the nested policies it's optional and inherited from the closest parent that has this field specified.

@github-actions
Copy link

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically. To do so, a Grafana Labs employee must promote the Drone build.

For maintainers, it's better to run only the Cloud tests you need, rather than all of them. You can do so by setting the following parameter when promoting:

TESTARGS='-run=<testname>'

Copy link
Member

@julienduchesne julienduchesne left a comment

Choose a reason for hiding this comment

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

LGTM!

@julienduchesne
Copy link
Member

(Other than the failing test)

@yuri-tceretian yuri-tceretian merged commit 826a275 into master Oct 12, 2023
1 check passed
@yuri-tceretian yuri-tceretian deleted the yuri-tceretian/group_by-optional branch October 12, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants