grafana/pkg/services/ngalert
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
..
api Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
eval Alerting: Skip query cache for alert queries (#39010) 2021-09-09 16:16:05 +02:00
logging Alerting: Allow the notifier to log (#34232) 2021-05-17 18:06:47 +01:00
metrics Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
models Alerting: modify DB table, accessors and migration to restrict org access (#37414) 2021-08-12 16:04:09 +03:00
notifier Alerting: Fix bug not creating filepath for silences/nflog if it does not exist (#39174) 2021-09-14 14:40:59 +01:00
schedule Chore: GetDashboardQuery should be dispatched using DispatchCtx (#36877) 2021-09-14 16:08:04 +02:00
sender Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
state Alerting: add template funcs (#38404) 2021-09-15 18:48:29 -03:00
store Chore: GetDashboardQuery should be dispatched using DispatchCtx (#36877) 2021-09-14 16:08:04 +02:00
tests Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
ngalert.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00