mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal.
This commit is contained in:
@@ -12,6 +12,7 @@ export class AlertNotificationEditCtrl {
|
||||
defaults: any = {
|
||||
type: 'email',
|
||||
sendReminder: false,
|
||||
disableResolvedMessage: false,
|
||||
frequency: '15m',
|
||||
settings: {
|
||||
httpMethod: 'POST',
|
||||
|
||||
@@ -32,6 +32,13 @@
|
||||
checked="ctrl.model.settings.uploadImage"
|
||||
tooltip="Captures an image and include it in the notification">
|
||||
</gf-form-switch>
|
||||
<gf-form-switch
|
||||
class="gf-form"
|
||||
label="Disable OK Alert"
|
||||
label-class="width-12"
|
||||
checked="ctrl.model.disableResolvedMessage"
|
||||
tooltip="Disable the OK Alert that is sent when alerting state returns to false">
|
||||
</gf-form-switch>
|
||||
<gf-form-switch
|
||||
class="gf-form"
|
||||
label="Send reminders"
|
||||
|
||||
Reference in New Issue
Block a user