mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting docs: add info on changing default time out for evaluation (#92391)
* Alerting docs: add info on changing default time out for evaluation * ran prettier * Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com> * Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com> * ran prettier * updates with yuris feedback * ran prettier --------- Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com>
This commit is contained in:
parent
e0950a1283
commit
16c618f4d3
@ -72,6 +72,15 @@ In [Configure no data and error handling](ref:no-data-and-error-handling), you c
|
||||
|
||||
{{< figure src="/media/docs/alerting/alert-rule-configure-no-data-and-error.png" alt="A screenshot of the `Configure no data and error handling` option in Grafana Alerting." max-width="500px" >}}
|
||||
|
||||
To reduce the number of **No Data** or **Error** state alerts received, try the following.
|
||||
|
||||
1. Use the **Keep last state** option. For more information, refer to the section below. This option allows the alert to retain its last known state when there is no data available, rather than switching to a **No Data** state.
|
||||
1. For **No Data** alerts, you can optimize your alert rule by expanding the time range of the query. However, if the time range is too big, it affects the performance of the query and can lead to errors due to timeout.
|
||||
|
||||
To minimize timeouts resulting in the **Error** state, reduce the time range to request less data every evaluation cycle.
|
||||
|
||||
1. Change the default [evaluation time out](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#evaluation_timeout). The default is set at 30 seconds. To increase the default evaluation timeout, open a support ticket from the [Cloud Portal](https://grafana.com/docs/grafana-cloud/account-management/support/#grafana-cloud-support-options). Note that this should be a last resort, because it may affect the performance of all alert rules and cause missed evaluations if the timeout is too long.
|
||||
|
||||
#### Keep last state
|
||||
|
||||
The "Keep Last State" option helps mitigate temporary data source issues, preventing alerts from unintentionally firing, resolving, and re-firing.
|
||||
|
Loading…
Reference in New Issue
Block a user