diff --git a/hosts/AZ-PRM-1/services/monitoring/alerting.nix b/hosts/AZ-PRM-1/services/monitoring/alerting.nix index 0447457..7f6e5ac 100644 --- a/hosts/AZ-PRM-1/services/monitoring/alerting.nix +++ b/hosts/AZ-PRM-1/services/monitoring/alerting.nix @@ -260,11 +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: {{ . }} - {{ else }}{{ with index $.CommonAnnotations "description" }}Details: {{ . }} + {{ with .Annotations.SortedPairs }}Annotations: + {{ range . }}- {{ .Name }}: {{ .Value }} + {{ end -}} + {{ else }}{{ with $.CommonAnnotations.SortedPairs }}Annotations: + {{ range . }}- {{ .Name }}: {{ .Value }} + {{ end -}} {{ end }}{{ end -}} {{ with .GeneratorURL }}Source: {{ . }} {{ end }}