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
value pairs of metadata to attach to the alert rule. They add additional information, such as a summary or runbook_url, to help identify and investigate alerts. The dashboardUId and panelId annotations, which link alerts to a panel, must be set together. Defaults to map[].
44
-
Key-value pairs of metadata to attach to the alert rule. They add additional information, such as a `summary` or `runbook_url`, to help identify and investigate alerts. The `dashboardUId` and `panelId` annotations, which link alerts to a panel, must be set together. Defaults to `map[]`.
45
+
value pairs of metadata to attach to the alert rule. They add additional information, such as a summary or runbook_url, to help identify and investigate alerts. The __dashboardUid__ and __panelId__ annotations, which link alerts to a panel, must be set together. Defaults to map[].
46
+
Key-value pairs of metadata to attach to the alert rule. They add additional information, such as a `summary` or `runbook_url`, to help identify and investigate alerts. The `__dashboardUid__` and `__panelId__` annotations, which link alerts to a panel, must be set together. Defaults to `map[]`.
45
47
### fn withAnnotationsMixin
46
48
47
49
```jsonnet
@@ -52,8 +54,8 @@ PARAMETERS:
52
54
53
55
***value** (`object`)
54
56
55
-
value pairs of metadata to attach to the alert rule. They add additional information, such as a summary or runbook_url, to help identify and investigate alerts. The dashboardUId and panelId annotations, which link alerts to a panel, must be set together. Defaults to map[].
56
-
Key-value pairs of metadata to attach to the alert rule. They add additional information, such as a `summary` or `runbook_url`, to help identify and investigate alerts. The `dashboardUId` and `panelId` annotations, which link alerts to a panel, must be set together. Defaults to `map[]`.
57
+
value pairs of metadata to attach to the alert rule. They add additional information, such as a summary or runbook_url, to help identify and investigate alerts. The __dashboardUid__ and __panelId__ annotations, which link alerts to a panel, must be set together. Defaults to map[].
58
+
Key-value pairs of metadata to attach to the alert rule. They add additional information, such as a `summary` or `runbook_url`, to help identify and investigate alerts. The `__dashboardUid__` and `__panelId__` annotations, which link alerts to a panel, must be set together. Defaults to `map[]`.
57
59
### fn withCondition
58
60
59
61
```jsonnet
@@ -127,6 +129,18 @@ PARAMETERS:
127
129
128
130
(Boolean) Sets whether the alert should be paused or not. Defaults to false.
129
131
Sets whether the alert should be paused or not. Defaults to `false`.
132
+
### fn withKeepFiringFor
133
+
134
+
```jsonnet
135
+
withKeepFiringFor(value)
136
+
```
137
+
138
+
PARAMETERS:
139
+
140
+
***value** (`string`)
141
+
142
+
(String) The amount of time for which the rule will considered to be Recovering after initially Firing. Before this time has elapsed, the rule will continue to fire once it's been triggered.
143
+
The amount of time for which the rule will considered to be Recovering after initially Firing. Before this time has elapsed, the rule will continue to fire once it's been triggered.
130
144
### fn withLabels
131
145
132
146
```jsonnet
@@ -151,6 +165,18 @@ PARAMETERS:
151
165
152
166
value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to map[].
153
167
Key-value pairs to attach to the alert rule that can be used in matching, grouping, and routing. Defaults to `map[]`.
168
+
### fn withMissingSeriesEvalsToResolve
169
+
170
+
```jsonnet
171
+
withMissingSeriesEvalsToResolve(value)
172
+
```
173
+
174
+
PARAMETERS:
175
+
176
+
***value** (`number`)
177
+
178
+
(Number) The number of missing series evaluations that must occur before the rule is considered to be resolved.
179
+
The number of missing series evaluations that must occur before the rule is considered to be resolved.
0 commit comments