grafana/pkg/services/ngalert/eval
Yuriy Tseretyan 554ebd647b
Alerting: Refactor Evaluator (#51673)
* AlertRule to return condition
* update ConditionEval to not return an error because it's always nil
* make getExprRequest private
* refactor executeCondition to just converter and move execution to the ConditionEval as this makes code more readable.
* log error if results have errors
* change signature of evaluate function to not return an error
2022-07-12 16:51:32 -04:00
..
eval_test.go Alerting: Add Ref ID to DatasourceNoData and DatasourceError alerts (#42630) 2021-12-03 09:55:16 +00:00
eval.go Alerting: Refactor Evaluator (#51673) 2022-07-12 16:51:32 -04:00
evaluator_mock.go Alerting: Refactor Evaluator (#51673) 2022-07-12 16:51:32 -04: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