diff --git a/hosts/AZ-PRM-1/services/monitoring/alerting.nix b/hosts/AZ-PRM-1/services/monitoring/alerting.nix index 8dd885e..0447457 100644 --- a/hosts/AZ-PRM-1/services/monitoring/alerting.nix +++ b/hosts/AZ-PRM-1/services/monitoring/alerting.nix @@ -260,8 +260,12 @@ in { {{ end -}} {{ with index $labels "severity" }}Severity: {{ . }} {{ end -}} + {{ with index .Annotations "summary" }}Summary: {{ . }} + {{ else }}{{ with index $.CommonAnnotations "summary" }}Summary: {{ . }} + {{ end }}{{ end -}} {{ with index .Annotations "description" }}Details: {{ . }} - {{ end -}} + {{ else }}{{ with index $.CommonAnnotations "description" }}Details: {{ . }} + {{ end }}{{ end -}} {{ with .GeneratorURL }}Source: {{ . }} {{ end }} {{ end -}}