Created
March 22, 2017 15:56
-
-
Save eskp/5035300857f893bb65d8e6494049d056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
slack_configs: | |
- api_url: "<slack_auth url here>" | |
channel: '#devops' | |
send_resolved: true | |
title: "{{ .GroupLabels.alertname }} alert is {{ .Status|toUpper }} in {{ .CommonLabels.env }}" | |
text: | | |
Affected instances {{ range .Alerts }}{{ .Labels.instance }}/{{ .Labels.job }} {{ .Labels.target }} {{ end }} | |
{{ .CommonAnnotations.description }} | |
See http://docs.airtame.cloud/alerts/{{ .GroupLabels.alertname }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment