From ad7d75c14dad144ed60b3b4182be29a787dc6314 Mon Sep 17 00:00:00 2001 From: Will Browne Date: Mon, 25 Jan 2021 20:18:26 +0100 Subject: [PATCH] Docs: Update 7.4 What's New to use more correct description of alerting notification template feature (#30502) * use more correct description of feature * reference variable templating * add word --- docs/sources/whatsnew/whats-new-in-v7-4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/whatsnew/whats-new-in-v7-4.md b/docs/sources/whatsnew/whats-new-in-v7-4.md index 7be5bb13abd..65797e6e915 100644 --- a/docs/sources/whatsnew/whats-new-in-v7-4.md +++ b/docs/sources/whatsnew/whats-new-in-v7-4.md @@ -83,9 +83,9 @@ The main use case is for [multi-dimensional](https://grafana.com/docs/grafana/la > **Note:** Queries built with this feature might break with minor version upgrades until Grafana 8 is released. This feature does not work with the current Grafana alerting. -### Variable support in alert notifications +### Alert notification query label interpolation -You can now provide detailed information to alert notification recipients by injecting alert query data into an alert notification. 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 in the alerting state. When there are multiple unique values for the same label, the values are comma-separated. +You can now provide detailed information to alert notification recipients by injecting alert label data as template variables into an alert notification. 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 using the `${Label}` syntax. The alert label data is automatically injected into the notification fields when the alert is in the alerting state. When there are multiple unique values for the same label, the values are comma-separated. {{< figure src="/img/docs/alerting/alert-notification-template-7-4.png" max-width="700px" caption="Variable support in alert notifications" >}}