Debian Codegraph @

server/templates/grafana.yml

raw
1 title: |
2 {{- if eq .status "firing" }}
3 🚨 {{ .title | default "Alert firing" }}
4 {{- else if eq .status "resolved" }}
5 ✅ {{ .title | default "Alert resolved" }}
6 {{- else }}
7 ⚠️ Unknown alert: {{ .title | default "Alert" }}
8 {{- end }}
9 message: |
10 {{ .message | trunc 2000 }}