diff --git a/alert.go b/alert.go index 367dc6b..72604ad 100644 --- a/alert.go +++ b/alert.go @@ -33,6 +33,9 @@ type Alert struct { // ResolveAfterMinutes is the number of minutes the Condition must be un-met // before the Alert is considered resolved ResolveAfterMinutes int `json:"resolveAfterMinutes,omitempty"` + + // Minutes to wait before re-sending notification of firing alert. + NotificationResendFrequencyMinutes int `json:"notificationResendFrequencyMinutes"` // Severity is the severity of the Alert, and can be one of SEVERE, // SMOKE, WARN or INFO diff --git a/target.go b/target.go index ab81848..1176538 100644 --- a/target.go +++ b/target.go @@ -33,6 +33,11 @@ type Target struct { // EmailSubject is the subject of the email which will be sent for this Target // (EMAIL targets only) EmailSubject string `json:"emailSubject"` + + // IsHTMLContent is a boolean value for wavefront to add HTML Boilerplate + // while using HTML Templates as email. + // (EMAIL targets only) + IsHtmlContent bool `json:"isHtmlContent"` // ContentType is the content type for webhook posts (e.g. application/json) // (WEBHOOK targets only)