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

Adds compound alerts #32

Merged
merged 1 commit into from
Feb 9, 2018
Merged

Conversation

thomasjpfan
Copy link
Collaborator

Alertif shortcuts can now be combined with _and_, _or_ and _unless_. For example:

@resp_time_below:0.025,5m,0.75_unless_@resp_time_above:0.1,5m,0.99

This alert can prevents @resp_time_below from trigger when @resp_time_above is triggering.

  1. Using compound alerts does not automatically add any alert labels.

  2. Any default annotations will be combined using the operator. For the above example, the summary annotation will become: Response time of the service my-service is below 0.025 unless Response time of the service my-service is above 0.1.

@vfarcic vfarcic merged commit 03da12d into docker-flow:master Feb 9, 2018
@vfarcic
Copy link
Collaborator

vfarcic commented Feb 9, 2018

It's available in the release 2-18.02.09-49.

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