grafana/pkg/services/ngalert/state
Santiago d6fb0181fb
Alerting: add template funcs (#38404)
* Alerting: (wip) add template funcs

* Alerting: (wip) numeric template functions

* Alerting: (wip) template functions

* Test for the "args" function

* Alerting: (wip) Documentation for template functions

* Alerting: template functions - refactor

* code review changes

* disable linter error

* Use Prometheus implementation of TemplateExpander

* Update docs/sources/alerting/unified-alerting/alerting-rules/create-grafana-managed-rule.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-09-15 18:48:29 -03:00
..
cache.go Alerting: add template funcs (#38404) 2021-09-15 18:48:29 -03:00
manager_test.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
manager.go Chore: GetDashboardQuery should be dispatched using DispatchCtx (#36877) 2021-09-14 16:08:04 +02:00
state_test.go Alerting: Fix alert flapping in the internal alertmanager (#38648) 2021-09-02 16:22:59 +01:00
state.go Alerting: Fix alert flapping in the internal alertmanager (#38648) 2021-09-02 16:22:59 +01:00
template_test.go Alerting: add template funcs (#38404) 2021-09-15 18:48:29 -03:00
template.go Alerting: add template funcs (#38404) 2021-09-15 18:48:29 -03:00