grafana/pkg/services/ngalert/state
Yuri Tseretyan 0053b07885
Alerting: Refactor of state manager tests (#72849)
* calculate cacheID instead of literals
   * use mocked clocks
   * advance clocks with the eval results
   * use clearer timestamp aliases
   * make expected state labels be more clear to read
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2023-08-04 13:39:49 -04:00
..
historian Alerting: Add dashboardUID and panelID query parameters for loki state history (#72119) 2023-07-24 23:46:46 -05:00
template Alerting: do not expand template for labels\annotations if value is not a template (#71492) 2023-07-12 14:53:40 -04: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 Chore: Replace go-multierror with errors package (#66432) 2023-06-19 12:29:45 +03:00
compat_test.go Alerting: Use only token for images in notifications (#70196) 2023-06-21 20:53:45 -03:00
compat.go Alerting: Use only token for images in notifications (#70196) 2023-06-21 20:53:45 -03:00
image_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
manager_bench_test.go Alerting: Refactor annotation historian to isolate dashboard service dependency (#71689) 2023-07-18 08:18:55 -05:00
manager_private_test.go Alerting: Support concurrent queries for saving alert instances (#70525) 2023-06-23 11:36:07 +01:00
manager_test.go Alerting: Refactor of state manager tests (#72849) 2023-08-04 13:39:49 -04:00
manager.go Alerting: Fix state manager to not keep datasource_uid and ref_id labels in state after Error (#72216) 2023-07-26 11:41:46 -04:00
persist.go Alerting: Remove and revert flag alertingBigTransactions (#65976) 2023-04-06 18:06:25 +02:00
state_test.go Alerting: Use URLs in image annotations (#66804) 2023-04-26 13:06:18 -03:00
state.go SSE: Use errutil to show better error messages in prod (#71658) 2023-07-21 06:38:29 -04:00
testing.go Alerting: Remove and revert flag alertingBigTransactions (#65976) 2023-04-06 18:06:25 +02:00