grafana/public/app/features/alerting
Will Browne c9da053e5d
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>
2021-01-19 22:02:44 +01:00
..
__snapshots__ Chore: Upgrade typescript to 4.1 (#29493) 2020-12-03 15:05:59 +00:00
components NgAlerting: View query result (#30218) 2021-01-19 14:04:54 +01:00
partials Alerting: Evaluate data templating in alert rule name and message (#29908) 2021-01-19 22:02:44 +01:00
state NgAlerting: View query result (#30218) 2021-01-19 14:04:54 +01:00
utils Alerting: Next gen Alerting page (#28397) 2020-12-11 14:49:14 +01:00
AlertRuleItem.test.tsx Grafana UI: Card API refactor (#29034) 2020-11-19 09:48:56 +02:00
AlertRuleItem.tsx Grafana UI: Card API refactor (#29034) 2020-11-19 09:48:56 +02:00
AlertRuleList.test.tsx Form migrations: Teams and alert list (#23810) 2020-04-24 09:26:09 +02:00
AlertRuleList.tsx Search: Safari UI fixes (#24567) 2020-05-12 17:10:48 +03:00
AlertTab.tsx PanelEditor: Prevents adding transformations in panels with alerts (#27706) 2020-09-23 07:47:20 +02:00
AlertTabCtrl.ts Alerting: remove obsolete notifiers (after user confirmation) (#28190) 2020-10-12 21:14:08 +03:00
EditNotificationChannelPage.tsx Alerting: Next gen Alerting page (#28397) 2020-12-11 14:49:14 +01:00
getAlertingValidationMessage.test.ts QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error handling and reduce duplication, support for uid (#29542) 2020-12-04 14:24:55 +01:00
getAlertingValidationMessage.ts Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00
NewNotificationChannelPage.tsx Alerting: Next gen Alerting page (#28397) 2020-12-11 14:49:14 +01:00
NextGenAlertingPage.tsx Ng Alerting: Remove scroll and fix SplitPane limiters (#29906) 2020-12-17 16:11:12 +01:00
NotificationsEditCtrl.ts Alerting: Support storing sensitive notifier settings securely/encrypted (#25114) 2020-07-08 10:17:05 +02:00
NotificationsListPage.tsx Alerting: Add confirmation modals for deleting notifier (#25303) 2020-06-03 11:04:38 +03:00
StateHistory.tsx AlertTab: some ui updates (#23971) 2020-04-28 10:06:27 +02:00
TestRuleResult.test.tsx NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179) 2020-03-30 13:50:18 +02:00
TestRuleResult.tsx Chore: Fix all Typescript strict null errors (#26204) 2020-07-10 12:46:59 +02:00