mirror of
https://github.com/kmein/niveum
synced 2026-03-17 18:41:09 +01:00
feat(monitoring): simplify telegram alert message format
This commit is contained in:
@@ -130,7 +130,7 @@ in
|
|||||||
--template.paths=${pkgs.writeText "template.tmpl" ''
|
--template.paths=${pkgs.writeText "template.tmpl" ''
|
||||||
{{ define "telegram.default" }}
|
{{ define "telegram.default" }}
|
||||||
{{range .Alerts -}}
|
{{range .Alerts -}}
|
||||||
<b>{{.Status}}</b> {{ index .Annotations "summary"}}
|
{{.Status}}: {{ index .Annotations "summary"}}
|
||||||
{{end -}}
|
{{end -}}
|
||||||
{{end}}
|
{{end}}
|
||||||
''}'';
|
''}'';
|
||||||
|
|||||||
Reference in New Issue
Block a user