feat(alerting): added alert howto text, closes #5784

This commit is contained in:
Torkel Ödegaard 2016-08-18 09:58:20 +02:00
parent 902314d3a1
commit 9b5a7b5ef6
2 changed files with 11 additions and 1 deletions

View File

@ -21,6 +21,7 @@ export class AlertTabCtrl {
notifications;
alertNotifications;
error: string;
appSubUrl: string;
/** @ngInject */
constructor(private $scope,
@ -38,6 +39,7 @@ export class AlertTabCtrl {
this.evalFunctions = alertDef.evalFunctions;
this.conditionTypes = alertDef.conditionTypes;
this.severityLevels = alertDef.severityLevels;
this.appSubUrl = config.appSubUrl;
}
$onInit() {

View File

@ -12,7 +12,15 @@
<div class="modal-content">
Find your inner self, deep down you know. Grafana believes in you!
<p class="p-a-2 text-center offset-lg-2 col-lg-8">
Alerts are added and configured in the <strong>Alert Tab</strong> of any dashboard
graph panel, letting you build and visualize an alert using existing queries.
<br> <br>
To persist you alert rule changes remember to save the dashboard.
<br>
<br>
<a href="{{appSubUrl}}" class="external-link" ng-click="dismiss()">Go to Home Dashboard</a>
</p>
</div>
</div>