grafana/public/app/features/alerting/unified
Peter Holmberg 569fb3f112
Alerting: adding query editor when creating threshold rule. (#33123)
* fix viz

* add datasource picker on query rows in mixed mode

* add timerange, handle add/remove queryrunners

* multiqueryrunner test

* trying things out.

* adding another test to verify running a induvidual query runner will update multirunner.

* cleaned up tests a bit.

* draft version working ok.

* fixing so we base the refId from request targets.

* reenable adding expression

* layout fixes for alerting page

* some cleanup

* cleaning up code that we won't use

* changed so we don't display the time range if params not passed.

* remove unused things in querygroup

* changed button to type button.

* removed timerange from dataQuery and removed multiquery runner.

* minor refactoring.

* renamed callback function to make it more clear what it does.

* renamed droppable area.

* changed so we only display the query editor when selecting threshold.

* removed the refresh picker.

* revert

* wip

* extending with data query.

* timerange fixes

* it is now possible to add grafana queries.

* removed unused type.

* removed expect import.

* added docs.

* moved range converting methods to rangeUtil.

* clean up some typings, remove file

* making sure we don't blow up on component being unmounted.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-04-21 13:57:17 +02:00
..
api Alerting: receivers page + template list (#33112) 2021-04-19 13:02:58 +03:00
components Alerting: adding query editor when creating threshold rule. (#33123) 2021-04-21 13:57:17 +02:00
hooks Alerting: adding query editor when creating threshold rule. (#33123) 2021-04-21 13:57:17 +02:00
mocks Alerting: adding query editor when creating threshold rule. (#33123) 2021-04-21 13:57:17 +02:00
state Alerting: misc fixes (#33070) 2021-04-19 12:53:02 +03:00
styles Alerting: receivers page + template list (#33112) 2021-04-19 13:02:58 +03:00
types Alerting: separate namespace & group inputs for system alerts (#33026) 2021-04-16 14:57:33 +03:00
utils Alerting: misc fixes (#33070) 2021-04-19 12:53:02 +03:00
AmRoutes.tsx Alerting: receivers page + template list (#33112) 2021-04-19 13:02:58 +03:00
mocks.ts Alerting: editing existing rules via UI (#33005) 2021-04-16 11:08:26 +03:00
Receivers.tsx Alerting: receivers page + template list (#33112) 2021-04-19 13:02:58 +03:00
RuleEditor.tsx Alerting: editing existing rules via UI (#33005) 2021-04-16 11:08:26 +03:00
RuleList.test.tsx Alerting: misc fixes (#33070) 2021-04-19 12:53:02 +03:00
RuleList.tsx Alerting: misc fixes (#33070) 2021-04-19 12:53:02 +03:00
Silences.tsx Alerting: receivers page + template list (#33112) 2021-04-19 13:02:58 +03:00