Hello.
I am trying to setup a custom template for my alerts, but I found that whenever I loop through the annotations, it keeps on showing them in alphabetical order instead of the order I initially configured in my alerts. Any ideas on how to fix this, or force some sort of order while looping through the annotations?
Thanks
{{ define "custom_alert" }}
Status: {{ .Status }}
{{ range .Alerts }} {{ range $k, $v := .Annotations }}
{{ $k }}: {{ $v }} {{ end }} {{ end }}
URL: {{ .DashboardURL }}
{{ end }}