grafana/pkg/services/ngalert/schedule
Alexander Weaver b926b6336d
Alerting: Scheduled recording rules execute their queries (#88309)
* Basic eval flow

* Wiring-up

* fix

* Extend todo

* Start with tests

* Include some relevant tests, skip ones that seem to have timing-based race conditions

* Some tests, touch up linter and todo

* Solve TODO

* Add tracing

* Tests to make sure an eval went through

* Wire up feature toggles

* Update pkg/services/ngalert/schedule/recording_rule.go

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>

* Update pkg/services/ngalert/schedule/recording_rule_test.go

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>

* Update pkg/services/ngalert/schedule/recording_rule_test.go

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>

* Update pkg/services/ngalert/schedule/recording_rule_test.go

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>

---------

Co-authored-by: Steve Simpson <steve.simpson@grafana.com>
2024-05-28 10:59:21 -05:00
..
alert_rule_test.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
alert_rule.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
alerts_sender_mock.go Alerting: Fetch alerts from a remote Alertmanager (#75844) 2023-10-19 11:27:37 +02:00
fetcher.go Alerting: Small refactor, move unrelated functions out of fetcher (#82459) 2024-02-14 20:01:32 +02:00
jitter_test.go Alerting: Refactor Alert Rule Generators (#86813) 2024-04-29 21:52:15 -04:00
jitter.go Alerting: Enable group-level rule evaluation jittering by default, remove feature toggle (#82212) 2024-02-09 15:53:58 -06:00
loaded_metrics_reader_test.go Alerting: Refactor Alert Rule Generators (#86813) 2024-04-29 21:52:15 -04:00
loaded_metrics_reader.go Alerting: Scheduler and registry handle rules by an interface (#84044) 2024-03-11 22:57:38 +02:00
metrics_test.go Alerting: Small refactor, move unrelated functions out of fetcher (#82459) 2024-02-14 20:01:32 +02:00
metrics.go Alerting: Create metric for rules using simple notifications (#82904) 2024-02-16 19:01:49 +02:00
recording_rule_test.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
recording_rule.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
registry_bench_test.go Alerting: Refactor Alert Rule Generators (#86813) 2024-04-29 21:52:15 -04:00
registry_test.go Alerting: Add database migration for recording rule fields (#87012) 2024-05-09 12:12:44 -05:00
registry.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
schedule_unit_test.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
schedule.go Alerting: Scheduled recording rules execute their queries (#88309) 2024-05-28 10:59:21 -05:00
testing.go Alerting: Fix data races and improve testing (#81994) 2024-02-14 12:45:39 -03:00