I prepared my own template like this. I use it in the email channel.
{{ define “basic_template” }}
Basic template1
{{ range .Alerts }}
{{ index .Labels “alertname” }}
{{ index .Annotations “summary” }}
{{ .StartsAt }}
dashboard {{ .DashboardURL }}
{{ end }}
{{ end }}
in the email I received black and purple letters. How to change to have only black letters?
It should be “:” and end of line, this solved my case
3d
I prepared my own template like this. I use it in the email channel.
{{ define “basic_template” }}
Basic template1:
{{ range .Alerts }}
{{ index .Labels “alertname” }}
{{ index .Annotations “summary” }}
{{ .StartsAt }}
dashboard: {{ .DashboardURL }}
{{ end }}
{{ end }}
in the email I received black and purple letters. How to change to have only black letters?