feat(alerting): enabled by default. configurable elert engine

closes #6210
This commit is contained in:
bergquist
2016-10-10 13:09:16 +02:00
parent 918481909c
commit 04f417a423
8 changed files with 16 additions and 19 deletions

View File

@@ -133,10 +133,8 @@ class GraphCtrl extends MetricsPanelCtrl {
this.addEditorTab('Axes', axesEditorComponent, 2);
this.addEditorTab('Legend', 'public/app/plugins/panel/graph/tab_legend.html', 3);
this.addEditorTab('Display', 'public/app/plugins/panel/graph/tab_display.html', 4);
this.addEditorTab('Alert', alertTab, 5);
if (config.alertingEnabled) {
this.addEditorTab('Alert', alertTab, 5);
}
this.subTabIndex = 0;
}