Files
grafana/docs/sources/shared/alerts/math-example.md
grafana-delivery-bot[bot] 22b6da78a8 [release-12.0.2] docs(alerting): Examples of dynamic labels and dynamic thresholds (#106087)
docs(alerting): Examples of dynamic labels and dynamic thresholds (#105776)

* docs(alerting): Add dynamic thresholds example

* update intro

* docs(alerting): Example of dynamic labels

* fix template example

* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-thresholds.md



* Update docs/sources/alerting/best-practices/dynamic-thresholds.md



* Update docs/sources/alerting/best-practices/dynamic-thresholds.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* fix typo

* fix typo

* Add section `CSV data with Infinity` in Table data example

* Link dynamic threshold example to tabular data requirements

* minor copy changes

* minor heading fix

* Add links (admonition) to Grafana Play examples

* Use `Caveat` instead of `Gotcha`

* Dynamic thresholds: caution message when Math operates on missing series

* Exampleof latency threshold based on traffic

---------


(cherry picked from commit c84388f550)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
2025-05-27 17:50:26 +02:00

11 lines
259 B
Markdown

---
labels:
products:
- oss
title: 'Math example'
---
- `$A` returns series `{host="web01"} 30` and `{host="web02"} 20`.
- `$B` returns series `{host="web01"} 10` and `{host="web02"} 0`.
- `$A + $B` returns `{host="web01"} 40` and `{host="web02"} 20`.