grafana/public/app/features/alerting/state
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
..
actions.ts Alerting: adding query editor when creating threshold rule. (#33123) 2021-04-21 13:57:17 +02:00
alertDef.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
reducers.test.ts Migration: Edit notification channel (#25980) 2020-09-09 12:46:19 +02:00
reducers.ts Alerting: adding query editor when creating threshold rule. (#33123) 2021-04-21 13:57:17 +02:00
selectors.test.ts AlertingNG: List saved Alert definitions in Alert Rule list (#30603) 2021-01-26 12:12:41 +01:00
selectors.ts AlertingNG: List saved Alert definitions in Alert Rule list (#30603) 2021-01-26 12:12:41 +01:00
ThresholdMapper.test.ts Alerting: Hides threshold handle for percentual thresholds (#30431) 2021-01-21 06:23:09 +01:00
ThresholdMapper.ts Alerting: Hides threshold handle for percentual thresholds (#30431) 2021-01-21 06:23:09 +01:00