Hello,
I'm trying to change the Alertmanager email template. I can't seem to adapt an email template to make it work the way my boss wants. Personally, I find the default template to be quite good. However, my boss finds it a bit messy, which is not entirely untrue. In case of an issue, a misinterpretation can be dangerous, especially in a production environment! Anyway, I know that the template is in the binary of the prom/alertmanager container. However, it is possible to redefine the template to replace the default one. I've tested this method: https://velenux.wordpress.com/2021/04/23/how-to-change-prometheus-alertmanager-e-mail-template/ And it works! But I must admit that, despite my efforts, I can't seem to modify this template because even the slightest error results in an empty email, but that's normal ;). I know that the developers have defined a large number of functions ( https://prometheus.io/docs/alerting/latest/notifications/). So, in theory, we should be able to customize the templates. However, I don't know the list of variables I can use, nor the structure that the email template should have. Can someone help me? Thank you, Best regards, JsT -- 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/ab81b3d7-90b7-41b3-a128-1b882d7bc484n%40googlegroups.com.

