From 694a7e73dcc6ba0d0c36b7a4fa2a584f3d47856b Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 13 Apr 2022 17:47:53 -0300 Subject: [PATCH] notification template docs updated (#47744) --- .../alerting/old-alerting/add-notification-template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/alerting/old-alerting/add-notification-template.md b/docs/sources/alerting/old-alerting/add-notification-template.md index bd952bce72f..bafab9a4f9e 100644 --- a/docs/sources/alerting/old-alerting/add-notification-template.md +++ b/docs/sources/alerting/old-alerting/add-notification-template.md @@ -9,9 +9,9 @@ aliases = ["/docs/grafana/latest/alerting/add-notification-template/"] You can provide detailed information to alert notification recipients by injecting alert query data into an alert notification. This topic explains how you can use alert query labels in alert notifications. -Labels that exist from the evaluation of the alert query can be used in the alert rule name and in the alert notification message fields. The alert label data is injected into the notification fields when the alert is evaluated and the notification is about to be sent. When there are multiple unique values for the same label, the values are comma-separated. +You can use labels generated during an alerting query evaluation to create alert notification messages. For multiple unique values for the same label, the values are comma-separated. -When the alert is in `firing` state, the data used to parse the templates corresponds to the series that are violating the alert condition at the moment the notification is sent. For `resolved` alert notifications, all series are used since there are none that are violating the condition. +When an alert fires, the alerting data series indicates the violation. For resolved alerts, all data series are included in the resolved notification. This topic explains how you can use alert query labels in alert notifications.