Skip to content

Commit

Permalink
feat: include infra's name in alertmanager alerts (close #198).
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Dec 1, 2020
1 parent 08f0adc commit e940738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configs/prometheus/alertmanager.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ receivers:
- send_resolved: true
api_url: '${SLACK_WEBHOOK_URL}'
channel: '${SLACK_CHANNEL}'
text: '${SUBDOMAIN}: {{ .CommonAnnotations.summary }}'
title: '${SUBDOMAIN}'
text: '{{ if eq .Status "resolved" }}[RESOLVED] {{ end }}{{ .CommonAnnotations.summary }}'

0 comments on commit e940738

Please sign in to comment.