mirror of https://github.com/grafana/grafana.git
feat(alerting): added alert howto text, closes #5784
This commit is contained in:
parent
902314d3a1
commit
9b5a7b5ef6
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue