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
### Nested Schema for `policy.policy.policy.policy`
211
211
212
+
Optional:
213
+
214
+
-`active_timings` (List of String) A list of time interval names to apply to alerts that match this policy to suppress them unless they are sent at the specified time. Supported in Grafana 12.1.0 and later
215
+
-`contact_point` (String) The contact point to route notifications that match this rule to.
216
+
-`continue` (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
217
+
-`group_by` (List of String) A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.
218
+
-`group_interval` (String) Minimum time interval between two notifications for the same group. Default is 5 minutes.
219
+
-`group_wait` (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
220
+
-`matcher` (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see [below for nested schema](#nestedblock--policy--policy--policy--policy--matcher))
221
+
-`mute_timings` (List of String) A list of time intervals to apply to alerts that match this policy to mute them for the specified time.
222
+
-`policy` (Block List) Routing rules for specific label sets. (see [below for nested schema](#nestedblock--policy--policy--policy--policy--policy))
223
+
-`repeat_interval` (String) Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
### Nested Schema for `policy.policy.policy.policy.matcher`
227
+
228
+
Required:
229
+
230
+
-`label` (String) The name of the label to match against.
231
+
-`match` (String) The operator to apply when matching values of the given label. Allowed operators are `=` for equality, `!=` for negated equality, `=~` for regex equality, and `!~` for negated regex equality.
232
+
-`value` (String) The label value to match against.
### Nested Schema for `policy.policy.policy.policy.policy`
237
+
212
238
Required:
213
239
214
240
-`group_by` (List of String) A list of alert labels to group alerts into notifications by. Use the special label `...` to group alerts by all labels, effectively disabling grouping. Required for root policy only. If empty, the parent grouping is used.
@@ -220,12 +246,12 @@ Optional:
220
246
-`continue` (Boolean) Whether to continue matching subsequent rules if an alert matches the current rule. Otherwise, the rule will be 'consumed' by the first policy to match it.
221
247
-`group_interval` (String) Minimum time interval between two notifications for the same group. Default is 5 minutes.
222
248
-`group_wait` (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
223
-
-`matcher` (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see [below for nested schema](#nestedblock--policy--policy--policy--policy--matcher))
249
+
-`matcher` (Block Set) Describes which labels this rule should match. When multiple matchers are supplied, an alert must match ALL matchers to be accepted by this policy. When no matchers are supplied, the rule will match all alert instances. (see [below for nested schema](#nestedblock--policy--policy--policy--policy--policy--matcher))
224
250
-`mute_timings` (List of String) A list of time intervals to apply to alerts that match this policy to mute them for the specified time.
225
251
-`repeat_interval` (String) Minimum time interval for re-sending a notification if an alert is still firing. Default is 4 hours.
0 commit comments