diff --git a/public/app/plugins/panel/graph/alert_tab_ctrl.ts b/public/app/plugins/panel/graph/alert_tab_ctrl.ts index 226f76f8243..778962d438c 100644 --- a/public/app/plugins/panel/graph/alert_tab_ctrl.ts +++ b/public/app/plugins/panel/graph/alert_tab_ctrl.ts @@ -21,7 +21,8 @@ export class AlertTabCtrl { this.panel.alerting.queryRange = this.panel.alerting.queryRange || '10m'; this.panel.alerting.warnOperator = this.panel.alerting.warnOperator || '>'; this.panel.alerting.critOperator = this.panel.alerting.critOperator || '>'; - this.panel.alerting.title = this.panel.alerting.title || this.panel.title + ' alert'; + var defaultTitle = (this.panelCtrl.dashboard.title + ' ' + this.panel.title + ' alert'); + this.panel.alerting.title = this.panel.alerting.title || defaultTitle; this.panel.targets.map(target => { this.metricTargets.push(target); diff --git a/public/app/plugins/panel/graph/partials/tab_alerting.html b/public/app/plugins/panel/graph/partials/tab_alerting.html index addb6932d4d..e0f160efbb3 100644 --- a/public/app/plugins/panel/graph/partials/tab_alerting.html +++ b/public/app/plugins/panel/graph/partials/tab_alerting.html @@ -60,14 +60,14 @@
Alert info
Alert name - +
Alert description
- +