grafana/pkg/api/dtos
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
..
acl.go refactor: format files by gofmt 2017-12-11 19:46:05 +03:00
alerting_test.go Fix misspell issues 2018-09-21 11:54:36 +02:00
alerting.go Added uid to AlertNotification json 2019-01-16 16:52:00 +02:00
annotations.go Address review comments 2019-02-06 06:41:39 +10:00
apikey.go New implementation for API Keys that only stores hashed api keys, and the client key is base64 decoded json web token with the unhashed key, Closes #1440 2015-02-26 17:23:28 +01:00
dashboard.go Provisioning: Show file path of provisioning file in save/delete dialogs (#16706) 2019-04-30 13:32:18 +02:00
datasource.go datasource as cfg: adds readonly datasources 2017-11-15 14:30:32 +01:00
folder.go folders: use new folder service in folder api routes 2018-02-20 13:57:32 +01:00
index.go Updated login page logo & wordmark and responsive behavior 2018-10-31 13:40:58 -07:00
invite.go ux: org user management changes 2017-12-13 13:16:44 +01:00
models.go Alerting: Improve alert rule testing (#16286) 2019-06-25 08:52:17 +02:00
org.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
playlist.go Added playlist controls to new react DashNav 2019-02-04 21:08:30 +01:00
plugins.go AddDataSource: Updated page design & categories (#16971) 2019-05-09 11:45:39 +02:00
prefs.go Make golint happier 2018-03-22 22:38:44 +01:00
stream.go feat(grafana_live): more work pushing data to websocket, #4355 2016-03-14 22:26:43 +01:00
user_token.go Feature: Parse user agent string in user auth token api response (#16… (#17504) 2019-06-11 14:12:52 +02:00
user.go fix: update user permissions validation was not working properly, fixes #8977 2017-08-03 08:56:34 +02:00