iankelling.org
/
git
/
distro-setup
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixes to last commit
[distro-setup]
/
filesystem
/
etc
/
prometheus
/
alertmanager_templates
/
iank.tmpl
1
{{ define "iank.default.description" }}
2
{{ if gt (len .Alerts.Firing) 0 -}}
3
Firing:
4
{{ template "__text_alert_list" .Alerts.Firing }}
5
{{- end }}
6
{{ if gt (len .Alerts.Resolved) 0 -}}
7
Resolved:
8
{{ template "__text_alert_list" .Alerts.Resolved }}
9
{{- end }}
10
{{- end }}