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
-`alert_rule_uids` (List of String) UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
121
123
-`annotation_matchers` (List of Object) Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators). (see [below for nested schema](#nestedatt--spec--annotation_matchers))
122
-
-`assign_step` (Block List) Assign enricher step that adds or modifies annotations on alerts. (see [below for nested schema](#nestedblock--spec--assign_step))
123
124
-`description` (String) Description of the alert enrichment.
124
125
-`label_matchers` (List of Object) Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators). (see [below for nested schema](#nestedatt--spec--label_matchers))
125
126
-`receivers` (List of String) Receiver names to match. If empty, applies to all receivers.
127
+
-`step` (Block List) Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block. (see [below for nested schema](#nestedblock--spec--step))
126
128
127
129
<aid="nestedatt--spec--annotation_matchers"></a>
128
130
### Nested Schema for `spec.annotation_matchers`
@@ -134,23 +136,27 @@ Optional:
134
136
-`value` (String)
135
137
136
138
137
-
<aid="nestedblock--spec--assign_step"></a>
138
-
### Nested Schema for `spec.assign_step`
139
+
<aid="nestedatt--spec--label_matchers"></a>
140
+
### Nested Schema for `spec.label_matchers`
139
141
140
-
Required:
142
+
Optional:
141
143
142
-
-`annotations` (Map of String) Map of annotation names to values to set on matching alerts. Values can use Go template syntax with access to $labels and $annotations.
144
+
-`name` (String)
145
+
-`type` (String)
146
+
-`value` (String)
143
147
144
-
Optional:
145
148
146
-
-`timeout` (String) Maximum execution time (e.g., '30s', '1m'). Defaults to 30s.
149
+
<aid="nestedblock--spec--step"></a>
150
+
### Nested Schema for `spec.step`
147
151
152
+
Optional:
148
153
149
-
<aid="nestedatt--spec--label_matchers"></a>
150
-
### Nested Schema for `spec.label_matchers`
154
+
-`assign` (Block, Optional) Assign annotations to an alert. (see [below for nested schema](#nestedblock--spec--step--assign))
155
+
156
+
<aid="nestedblock--spec--step--assign"></a>
157
+
### Nested Schema for `spec.step.assign`
151
158
152
159
Optional:
153
160
154
-
-`name` (String)
155
-
-`type` (String)
156
-
-`value` (String)
161
+
-`annotations` (Map of String) Map of annotation names to values to set on matching alerts.
162
+
-`timeout` (String) Maximum execution time (e.g., '30s', '1m')
0 commit comments