Host system: Ubuntu 20.04
Grafana version: 9.2
I have the following alert template that I am using to notify alert in Slack:
{{ define "custom.firing_and_resolved_alerts" -}}
{{ len .Alerts.Firing }} firing alert(s)
{{ range .Alerts.Firing -}}
{{ template "alert.summary_and_description" . -}}
{{ end -}}
{{ len .Alerts.Resolved }} resolved alert(s)
{{ range .Alerts.Resolved -}}
{{ template "alert.summary_and_description" . -}}
{{ end }}
{{ end -}}
{{ define "alert.summary_and_description" }}
{{"\t"}}*Name*: {{ .Labels.alertname }}
{{"\t"}}*Description*: {{.Annotations.description}}
{{"\t"}}*Summary*: {{.Annotations.summary}}
{{"\t"}}*Host*: {{ .Labels.human_name }}
{{"\t"}}*Starts at*: {{ .StartsAt }}
{{ end -}}
I have configure the timezone of our tenant to Europ/Zurich:
But the field .StartsAt
is still displayed as UTC:
I would like to display this field as CET/CEST. How do I fix this?