grafana/pkg/services/ngalert/state
Matthew Jacobson 1d4419fbe4
Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184)
* Alerting: Fix NoData & Error alerts not resolving when rule is reset

On rule reset, when creating the PostableAlerts StateToPostableAlert did not
attach the correct NoData/Error alertname and rulename labels to expire/resolve
the active alerts when the previous cached state was NoData/Error.
2024-01-09 14:47:19 -05:00
..
historian Swap weaveworks/common utilities for equivalents in grafana/dskit (#80051) 2024-01-05 10:08:38 -06:00
template Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07:00
cache_bench_test.go Alerting: Improve performance of cache.getOrCreate (#63909) 2023-06-15 09:37:47 -04:00
cache_test.go Chore: Replace go-multierror with errors package (#66432) 2023-06-19 12:29:45 +03:00
cache.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
compat_test.go Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184) 2024-01-09 14:47:19 -05:00
compat.go Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184) 2024-01-09 14:47:19 -05:00
image_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
manager_bench_test.go Alerting: Make alert state history Loki http client public (#78291) 2023-11-27 09:20:50 -05:00
manager_private_test.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
manager_test.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
manager.go Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184) 2024-01-09 14:47:19 -05:00
persist.go Alerting: Remove and revert flag alertingBigTransactions (#65976) 2023-04-06 18:06:25 +02:00
state_test.go Alerting: Allow more time before Alertmanager expire-resolves alerts (#77094) 2023-10-25 10:03:46 -05:00
state.go Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
testing.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00