Alerting: Evaluate data templating in alert rule name and message (#29908)
* evaluate Go style template * inlince func * add test case * PR feedback and add tests for templte data map func * Add test case Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * do regex check * ensure ecape * small cleanup * dont exit on template execution errors * add info tooltip * add docs * switch from go tmpl to regex * update docs/comments * update tooltip wording * update docs wording * add simple test * avoid .MustCompile * point to labels in docs * update docs * fix docs links * remove line * fix lint * add note about multiple labels * propagate labels for CM * update docs * remove whitespace * update task title * update docs * pr feedback Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Showing
Please
register
or
sign in
to comment