[release-11.5.3] Alerting docs: dynamic label changes (#101866)

Alerting docs: dynamic label changes (#101781)

(cherry picked from commit 23ccd2be95)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2025-03-10 11:54:15 +01:00
committed by GitHub
parent dcb1180f28
commit 1bcc80daa7
3 changed files with 16 additions and 6 deletions
@@ -0,0 +1,14 @@
---
labels:
products:
- oss
title: 'Note Dynamic labels'
---
{{% admonition type="note" %}}
An alert instance is uniquely identified by its set of labels.
- Avoid displaying query values in labels, as this can create numerous alert instances—one for each distinct label set. Instead, use annotations for query values.
- If a templated label's value changes, it maps to a different alert instance, and the previous instance transitions to the `No data` state when its label value is no longer present.
{{% /admonition %}}