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
Copy file name to clipboardExpand all lines: docs/resources/rule_group.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,7 @@ Required:
183
183
184
184
Optional:
185
185
186
+
-`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
186
187
-`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. If empty, no grouping is used. If specified, requires labels 'alertname' and 'grafana_folder' to be included.
187
188
-`group_interval` (String) Minimum time interval between two notifications for the same group. Default is 5 minutes.
188
189
-`group_wait` (String) Time to wait to buffer alerts of the same group before sending a notification. Default is 30 seconds.
Copy file name to clipboardExpand all lines: internal/resources/grafana/resource_alerting_rule_group.go
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,14 @@ This resource requires Grafana 9.1.0 or later.
255
255
Type: schema.TypeString,
256
256
},
257
257
},
258
+
"active_timings": {
259
+
Type: schema.TypeList,
260
+
Optional: true,
261
+
Description: "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",
262
+
Elem: &schema.Schema{
263
+
Type: schema.TypeString,
264
+
},
265
+
},
258
266
"group_wait": {
259
267
Type: schema.TypeString,
260
268
Optional: true,
@@ -789,6 +797,13 @@ func packNotificationSettings(settings *models.AlertRuleNotificationSettings) (i
0 commit comments