grafana/pkg/services/ngalert/schedule
Alexander Weaver 4eb8e4ff66
Alerting: Add traceability headers for alert queries (#57127)
* Define EvaluationContext

* Refactor ConditionEval to use new context struct

* Refactor QueriesAndExpressionsEval to use EvaluationContext

* Remove dead field from AlertExecCtx

* Refactor Validate to use EvaluationContext

* Get rid of privately used AlertExecCtx

* Move EvaluationContext to new file and add helper

* Add builder pattern and bind rule info to context

* Extract header logic and add rule UID header

* Fix missing call
2022-10-19 14:19:43 -05:00
..
alerts_sender_mock.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
compat_test.go Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
compat.go Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
fetcher_test.go Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
fetcher.go Alerting: Scheduler to fetch folders along with rules (#52842) 2022-08-31 11:08:19 -04:00
registry_test.go Alerting: Scheduler to fetch folders along with rules (#52842) 2022-08-31 11:08:19 -04:00
registry.go Docs: Deprecating packages_api and removing it from our pipelines (#54473) 2022-09-01 18:15:44 +02:00
schedule_mock.go Alerting: Update rules delete endpoint to handle rules in group (#53790) 2022-08-24 15:33:33 -04:00
schedule_test.go Alerting: Add doc comments to state struct and normalize fields (#56647) 2022-10-11 09:30:33 +01:00
schedule_unit_test.go Alerting: Add doc comments to state struct and normalize fields (#56647) 2022-10-11 09:30:33 +01:00
schedule.go Alerting: Add traceability headers for alert queries (#57127) 2022-10-19 14:19:43 -05:00
testing.go Alerting: Decouple schedule package from store (#55858) 2022-09-27 13:48:12 -05:00