grafana/public/emails
George Robinson 802d67eeca
Alerting: Support values in notification templates (#56457)
We have received a lot of feedback regarding the ValueString in alert notifications. Perhaps one of the most frequent complaints about ValueString is that it is difficult to read because it contains a lot of information, and the information is shown as a JSON-like string. Users have often asked how it can be templated and the answer is that it can't.

Until now users have been able to add custom annotations to their alert rules which contains values via the $values variable added in previous versions of Grafana. However, these custom annotations must be added for each of the user's alert rule, instead of once in a template that all of their alerts can be notified via.

This commit adds then the much requested feature to support values in notification templates. Users can then create a single template that prints the annotations, labels and values of their alerts in a format of their choice!
2022-10-10 13:40:21 +01:00
..
alert_notification_example.html Chore(CodeQL): Add noopener noreferrer to external links in email templates (#44092) 2022-01-17 11:17:43 +00:00
alert_notification.html Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
alert_notification.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00
invited_to_org.html Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
invited_to_org.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00
new_user_invite.html Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
new_user_invite.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00
ng_alert_notification.html Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
ng_alert_notification.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00
README.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
reset_password.html Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
reset_password.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00
signup_started.html Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
signup_started.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00
welcome_on_signup.html Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
welcome_on_signup.txt Email: change the year in templates (#45116) 2022-02-09 15:53:36 +01:00

html files in this folder are generated from templates and build system in repo_root/emails