feat(annotations): working on alert annotations, #5694

This commit is contained in:
Torkel Ödegaard
2016-08-01 10:07:00 +02:00
parent c5e90b1801
commit 357358898d
17 changed files with 161 additions and 70 deletions

View File

@@ -10,7 +10,7 @@ import {
var alertQueryDef = new QueryPartDef({
type: 'query',
params: [
{name: "queryRefId", type: 'string', options: ['#A', '#B', '#C', '#D']},
{name: "queryRefId", type: 'string', options: ['A', 'B', 'C', 'D', 'E', 'F']},
{name: "from", type: "string", options: ['1s', '10s', '1m', '5m', '10m', '15m', '1h']},
{name: "to", type: "string", options: ['now']},
],
@@ -142,7 +142,7 @@ export class AlertTabCtrl {
return memo;
}, []);
///this.panelCtrl.editingAlert = true;
this.panelCtrl.editingAlert = true;
this.syncThresholds();
this.panelCtrl.render();
}