Hi, Take a look at https://github.com/prometheus/alertmanager/issues/401 - you'll want to set a subject header, which is a templateable field ( https://prometheus.io/docs/alerting/notification_examples/, https://prometheus.io/docs/alerting/notifications/).
On Thu, Apr 23, 2020 at 3:09 PM Pooja Chauhan <[email protected]> wrote: > Hi , > Need suggestion on how to add the email template in alertmanager.yml for > different alerts . Since subject has to be changed with each different > alerts. > > > > -- > 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/6b66d9ab-f66a-45df-a54e-4594d30aaf36%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/6b66d9ab-f66a-45df-a54e-4594d30aaf36%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CA%2BT6YowJbnCEFnnr7g6OO2xKpC952q%2BQQ8RnhiQPYb4Ek4HmQQ%40mail.gmail.com.

