You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// MonitorNotificationRuleCondition Conditions for `conditional_recipients`.
13
+
// MonitorNotificationRuleCondition A conditional recipient rule composed of a `scope` (the matching condition) and
14
+
// `recipients` (who to notify when it matches).
14
15
typeMonitorNotificationRuleConditionstruct {
15
16
// A list of recipients to notify. Uses the same format as the monitor `message` field. Must not start with an '@'. Cannot be used with `conditional_recipients`.
16
17
Recipients []string`json:"recipients"`
17
-
// The scope to which the monitor applied.
18
+
// Defines the condition under which the recipients are notified. Supported formats:
19
+
// - Monitor status condition using `transition_type:<status>`, for example `transition_type:is_alert`.
20
+
// - A single tag key:value pair, for example `env:prod`.
18
21
Scopestring`json:"scope"`
19
22
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
0 commit comments