[v10.4.x] Update the docs for state_periodic_save_interval (#86667)

Update the docs for state_periodic_save_interval (#86611)

This commit updates the docs for state_periodic_save_interval following
a question in the forums about what the consequences of this change could
be.

(cherry picked from commit 30d38c1775)

Co-authored-by: George Robinson <george.robinson@grafana.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-04-22 12:43:42 +03:00
committed by GitHub
co-authored by George Robinson
parent 58b3dd2fe7
commit 4b6b5a92ed
@@ -67,3 +67,8 @@ can also be configured using the `state_periodic_save_interval` configuration fl
The time it takes to write to the database periodically can be monitored using the `state_full_sync_duration_seconds` metric
that is exposed by Grafana.
If Grafana crashes or is force killed, then the database can be up to `state_periodic_save_interval` seconds out of date.
When Grafana restarts, the UI might show incorrect state for some alerts until the alerts are re-evaluated.
In some cases, alerts that were firing before the crash might fire again.
If this happens, Grafana might send duplicate notifications for firing alerts.