Commit 2f953d75 by Torkel Ödegaard

Merge branch 'alerting' of github.com:grafana/grafana into alerting

parents 9028d489 631acc2b
......@@ -9,7 +9,7 @@ import {
var alertQueryDef = new QueryPartDef({
type: 'query',
params: [
{name: "queryRefId", type: 'string', options: ['A', 'B', 'C', 'D', 'E', 'F']},
{name: "queryRefId", type: 'string', dynamicLookup: true},
{name: "from", type: "string", options: ['1s', '10s', '1m', '5m', '10m', '15m', '1h']},
{name: "to", type: "string", options: ['now']},
],
......
......@@ -215,6 +215,16 @@ export class AlertTabCtrl {
case "get-part-actions": {
return this.$q.when([]);
}
case "part-param-changed": {
this.validateModel();
}
case "get-param-options": {
var result = this.panel.targets.map(target => {
return this.uiSegmentSrv.newSegment({ value: target.refId });
});
return this.$q.when(result);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment