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>
This commit is contained in:
Santiago
2021-09-15 18:48:29 -03:00
committed by GitHub
co-authored by achatterjee-grafana
parent cde133fe05
commit d6fb0181fb
9 changed files with 685 additions and 257 deletions
+1
View File
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package process
+1
View File
@@ -1,3 +1,4 @@
//go:build windows
// +build windows
package process