Commit Graph

8 Commits

Author SHA1 Message Date
Domas
e8faec5c19 Alerting: create/edit notification templates (#33225) 2021-04-27 16:28:53 +03:00
Torkel Ödegaard
cf2d557974 Alerts/InfoBox: Replaces all uses of InfoBox & FeatureInfoBox with Alert (#33352)
* Alerts/InfoBox: Replaces all uses of InfoBox & FeatureInfoBox with Alert

* Fixes some more stuff

* fixed border radius
2021-04-26 07:18:46 +02:00
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
Domas
382cab6406 Alerting: misc fixes (#33070) 2021-04-19 12:53:02 +03:00
Domas
0491fe0a5c Alerting: separate namespace & group inputs for system alerts (#33026) 2021-04-16 14:57:33 +03:00
Domas
826d82fe95 Alerting: editing existing rules via UI (#33005) 2021-04-16 11:08:26 +03:00
Domas
282c62d8bf Alerting: Rule edit form (#32877) 2021-04-14 15:57:36 +03:00
Domas
a56293142a Alerting: unified alerting frontend (#32708) 2021-04-07 08:42:43 +03:00