Hi, All,
I want to get the first failure time of the alerts firing in the prometheus
using alertmanager at the subject level and using prometheus email body
level. I have tried few ways using the below code snippets one's
- {{ .StartsAt }} --> getting error if I use it individually in the
subject
- {{ range .Alerts }}{{ .StartsAt }}\n{{ end }} --> Getting multiple
timestamp at a time in the alert email header.
Could anyone pelase help me with soultion.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/6b4669ac-b3b5-4a50-9d7f-0f4852b196c8n%40googlegroups.com.