grafana/pkg/services/ngalert/state
Yuri Tseretyan 3621cf5a12
Alerting: Update handling of stale state (#58276)
* delete all stale states in one lock
* do not use touched states to detect stale rely only on LastEvaluationTime maintained correctly
* fix tests to use correct eval time
* delete unused method
2022-11-07 11:03:53 -05:00
..
historian Alerting: Persist annotations from multidimensional rules in batches (#56575) 2022-11-04 10:39:26 -05:00
cache_test.go Alerting: Refactor state manager's cache (#56197) 2022-10-06 15:30:12 -04:00
cache.go Alerting: Update handling of stale state (#58276) 2022-11-07 11:03:53 -05:00
manager_private_test.go Alerting: Fix screenshot is not taken for stale series (#57982) 2022-11-02 22:14:22 +00:00
manager_test.go Alerting: Update state manager to accept rule store as Warm method argument (#58244) 2022-11-04 14:23:08 -04:00
manager.go Alerting: Update handling of stale state (#58276) 2022-11-07 11:03:53 -05:00
persist.go Alerting: Persist annotations from multidimensional rules in batches (#56575) 2022-11-04 10:39:26 -05:00
state_test.go Alerting: Fix screenshot is not taken for stale series (#57982) 2022-11-02 22:14:22 +00:00
state.go Alerting: Create AlertInstanceKey in one place (#58278) 2022-11-07 09:35:29 -05:00
template_test.go Chore: Remove context.TODO (#43458) 2021-12-28 10:26:18 +01:00
template.go Chore: Remove context.TODO (#43458) 2021-12-28 10:26:18 +01:00
testing.go Alerting: Persist annotations from multidimensional rules in batches (#56575) 2022-11-04 10:39:26 -05:00