grafana/public/app/features/alerting
Marcus Efraimsson 5713048f48
Alerting: Improve alert rule testing (#16286)
* tsdb: add support for setting debug flag of tsdb query

* alerting: adds debug flag in eval context

Debug flag is set when testing an alert rule and this debug
flag is used to return more debug information in test aler rule
response. This debug flag is also provided to tsdb queries so
datasources can optionally add support for returning additional
debug data

* alerting: improve test alert rule ui

Adds buttons for expand/collapse json and copy json to clipboard,
very similar to how the query inspector works.

* elasticsearch: implement support for tsdb query debug flag

* elasticsearch: embedding client response in struct

* alerting: return proper query model when testing rule
2019-06-25 08:52:17 +02:00
..
__snapshots__ AlertList: removed icon 2019-05-10 07:33:33 +02:00
partials Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
state 16223 user auth token list and revoke (#17434) 2019-06-11 14:23:54 +02:00
AlertRuleItem.test.tsx Chore: No implict any fixes (#17020) 2019-05-13 09:38:19 +02:00
AlertRuleItem.tsx Chore: No implict any fixes (#17020) 2019-05-13 09:38:19 +02:00
AlertRuleList.test.tsx Build: add @grafana/data package (#17436) 2019-06-18 08:17:27 -07:00
AlertRuleList.tsx Build: add @grafana/data package (#17436) 2019-06-18 08:17:27 -07:00
AlertTab.tsx Add a @grafana/runtime package with backendSrv interface (#16533) 2019-06-03 17:55:59 +02:00
AlertTabCtrl.ts Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
NotificationsEditCtrl.ts NavModel: Fixed page header ui tabs issues for some admin pages (#17444) 2019-06-05 15:18:31 +02:00
NotificationsListCtrl.ts NavModel: Fixed page header ui tabs issues for some admin pages (#17444) 2019-06-05 15:18:31 +02:00
StateHistory.tsx Add a @grafana/runtime package with backendSrv interface (#16533) 2019-06-03 17:55:59 +02:00
TestRuleResult.test.tsx Moved dashboard state components to state folder 2019-01-31 08:56:17 +01:00
TestRuleResult.tsx Alerting: Improve alert rule testing (#16286) 2019-06-25 08:52:17 +02:00