grafana/pkg/services/ngalert/eval
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
..
context.go Alerting: Add traceability headers for alert queries (#57127) 2022-10-19 14:19:43 -05:00
eval_test.go Alerting: Add traceability headers for alert queries (#57127) 2022-10-19 14:19:43 -05:00
eval.go Alerting: Add traceability headers for alert queries (#57127) 2022-10-19 14:19:43 -05:00
evaluator_mock.go Alerting: Add traceability headers for alert queries (#57127) 2022-10-19 14:19:43 -05:00
extract_md_test.go Alerting: Classic conditions can now display multiple values (#46971) 2022-03-29 20:33:03 +01:00
extract_md.go Alerting: Accurately set value for prom-compatible APIs (#47216) 2022-04-05 19:36:42 +01:00
testing.go Alerting: State manager to use InstanceStore (#53852) 2022-08-18 09:40:33 -04:00