Hi
Some of our Prometheus rules have "message" label as the description and
some of them have "description" label as the description.
I wonder if it is possible to set "message" as text if the rule has
"message" annotation and set "description" as text if the rule has
"description" as the annotation.
Also, I would like to include "<br>" HTML tag after the "description" or
"message"
So here is my configuration for the alertmanager but is it not sending any
alerts and I don't see any errors in the log files:
"text": "{{ range .Alerts }}{{ .Annotations.description }}{{
.Annotations.message }} <br> {{ end }}"
--
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/581b798f-f9f2-4806-be5c-e45f44126233n%40googlegroups.com.