From d21f97e69b287da643274fe698ca95a9b2951139 Mon Sep 17 00:00:00 2001 From: bergquist Date: Wed, 20 Apr 2016 21:38:31 +0200 Subject: [PATCH] feat(alerting): adds basic alerting tab --- public/app/plugins/panel/graph/module.ts | 1 + .../panel/graph/partials/tab_alerting.html | 66 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 public/app/plugins/panel/graph/partials/tab_alerting.html diff --git a/public/app/plugins/panel/graph/module.ts b/public/app/plugins/panel/graph/module.ts index 1fcd44204f7..d34e1e0ab0f 100644 --- a/public/app/plugins/panel/graph/module.ts +++ b/public/app/plugins/panel/graph/module.ts @@ -128,6 +128,7 @@ class GraphCtrl extends MetricsPanelCtrl { this.addEditorTab('Axes', 'public/app/plugins/panel/graph/tab_axes.html', 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('Alerting', 'public/app/plugins/panel/graph/partials/tab_alerting.html', 5); this.logScales = { 'linear': 1, diff --git a/public/app/plugins/panel/graph/partials/tab_alerting.html b/public/app/plugins/panel/graph/partials/tab_alerting.html new file mode 100644 index 00000000000..72c3aa05bfb --- /dev/null +++ b/public/app/plugins/panel/graph/partials/tab_alerting.html @@ -0,0 +1,66 @@ +
+
+ +
+
+
Query
+
+ Query to watch +
+ +
+
+ +
Thresholds
+
+ Warn level + +
+
+ Critical level + +
+
+ +
+
Aggregation settings
+
+ Aggregation method +
+ +
+
+ +
+ Query range + +
+ +
+ Interval + +
+
+
+
Alert info
+
+ Alert name + +
+
+
+ Alert description +
+
+ +
+
+
+
+