grafana/pkg/services/alerting/conditions
Santiago 5fb80498b1
Apply templating on alert notifications on OK state (#47355)
* OK notifications using previous evaluation data

* copy rule.EvalMatches to avoid changes to the underlying array

* test cases added/modified

* delete trailing newline

* fix double newline in go import

* add change to the changelog

* specify that this only affects legacy alerting (changelog)

* use current eval data instead of prev eval data

* create evalMatch just once

* code comments, renamings, getTemplateMatches() function

* changelog and docs updated
2022-04-13 17:04:10 -03:00
..
evaluator_test.go Chore: Refactor GoConvey tests in alerting/conditions (#40843) 2021-10-26 23:24:58 +02:00
evaluator.go Chore: Fix staticcheck issues (#28854) 2020-11-05 11:57:20 +01:00
query_interval_test.go Chore: Remove bus from the alerting service (#44496) 2022-02-03 13:26:05 +01:00
query_test.go Chore: Remove bus from the alerting service (#44496) 2022-02-03 13:26:05 +01:00
query.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
reducer_test.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
reducer.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00