grafana/pkg/services/ngalert/eval
gotjosh cb6124c921
Alerting: Accurately set value for prom-compatible APIs (#47216)
* Alerting: Accurately set value for prom-compatible APIs

Sets the value fields for the prometheus compatible API based on a combination of condition `refID` and the values extracted from the different frames.

* Fix an extra test

* Ensure a consitent ordering

* Address review comments

* address review comments
2022-04-05 19:36:42 +01: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: Accurately set value for prom-compatible APIs (#47216) 2022-04-05 19:36:42 +01:00
evaluator_mock.go Alerting: update rule test endpoints to respect data source permissions (#47169) 2022-04-02 02:00:23 +02: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