feat: Add option to mute alerts generated from webhooks

Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
This commit is contained in:
Mayank Shah
2021-04-23 11:27:09 +05:30
parent 3e845f1a29
commit 975b84a2eb
4 changed files with 18 additions and 3 deletions
+3
View File
@@ -329,6 +329,9 @@ type CanaryWebhook struct {
// URL address of this webhook
URL string `json:"url"`
// MuteAlert mutes all alerts generated from this webhook, if any
MuteAlert bool `json:"muteAlert"`
// Request timeout for this webhook
Timeout string `json:"timeout,omitempty"`