mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Special alerts for NoData and Error (#79193)
* Special alerts for NoData and Error To avoid confusion why there is no additional label added when setting `Alerting` or `OK` in the No Data and Error handling * ran prettier --------- Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
This commit is contained in:
parent
1d53d71ba9
commit
6659ed8722
@ -77,6 +77,10 @@ When evaluation of an alerting rule produces state `NoData` or `Error`, Grafana
|
||||
| **alertname** | Either `DatasourceNoData` or `DatasourceError` depending on the state. |
|
||||
| **datasource_uid** | The UID of the data source that caused the state. |
|
||||
|
||||
{{% admonition type="note" %}}
|
||||
You will need to set the No Data and Error Handling to `No Data` or `Error` in the alert rule as per this doc: https://grafana.com/docs/grafana/latest/alerting/alerting-rules/create-grafana-managed-rule/#configure-no-data-and-error-handling in order to generate the additional labels.
|
||||
{{% /admonition %}}
|
||||
|
||||
You can handle these alerts the same way as regular alerts by adding a silence, route to a contact point, and so on.
|
||||
|
||||
## State history view
|
||||
|
Loading…
Reference in New Issue
Block a user