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
Concurrency defines how many rules execute at once.
60
60
extra_filter_labels : {str:str}, default is Undefined, optional
61
-
ExtraFilterLabels optional list of label filters applied to every rule's request withing a group. Is compatible only with VM datasource. See more details at https://docs.victoriametrics.com#prometheus-querying-api-enhancements Deprecated, use params instead
61
+
ExtraFilterLabels optional list of label filters applied to every rule's
62
+
request withing a group. Is compatible only with VM datasource.
63
+
See more details at https://docs.victoriametrics.com#prometheus-querying-api-enhancements
64
+
Deprecated, use params instead
62
65
headers : [str], default is Undefined, optional
63
-
Headers contains optional HTTP headers added to each rule request Must be in form `header-name: value` For example: headers: - "CustomHeader: foo" - "CustomHeader2: bar"
66
+
Headers contains optional HTTP headers added to each rule request
67
+
Must be in form `header-name: value`
68
+
For example:
69
+
headers:
70
+
- "CustomHeader: foo"
71
+
- "CustomHeader2: bar"
64
72
interval : str, default is Undefined, optional
65
73
evaluation interval for group
66
74
labels : {str:str}, default is Undefined, optional
67
-
Labels optional list of labels added to every rule within a group. It has priority over the external labels. Labels are commonly used for adding environment or tenant-specific tag.
75
+
Labels optional list of labels added to every rule within a group.
76
+
It has priority over the external labels.
77
+
Labels are commonly used for adding environment
78
+
or tenant-specific tag.
68
79
limit : int, default is Undefined, optional
69
-
Limit the number of alerts an alerting rule and series a recording rule can produce
80
+
Limit the number of alerts an alerting rule and series a recording
81
+
rule can produce
70
82
name : str, default is Undefined, required
71
83
Name of group
72
84
notifier_headers : [str], default is Undefined, optional
73
-
NotifierHeaders contains optional HTTP headers added to each alert request which will send to notifier Must be in form `header-name: value` For example: headers: - "CustomHeader: foo" - "CustomHeader2: bar"
85
+
NotifierHeaders contains optional HTTP headers added to each alert request which will send to notifier
86
+
Must be in form `header-name: value`
87
+
For example:
88
+
headers:
89
+
- "CustomHeader: foo"
90
+
- "CustomHeader2: bar"
74
91
params : {str:[str]}, default is Undefined, optional
75
92
Params optional HTTP URL parameters added to each rule request
76
93
rules : [OperatorVictoriametricsComV1beta1VMRuleSpecGroupsItems0RulesItems0], default is Undefined, required
77
94
Rules list of alert rules
78
95
tenant : str, default is Undefined, optional
79
-
Tenant id for group, can be used only with enterprise version of vmalert See more details at https://docs.victoriametrics.com/vmalert.html#multitenancy
96
+
Tenant id for group, can be used only with enterprise version of vmalert
97
+
See more details at https://docs.victoriametrics.com/vmalert.html#multitenancy
80
98
$type : str, default is Undefined, optional
81
-
Type defines datasource type for enterprise version of vmalert possible values - prometheus,graphite
99
+
Type defines datasource type for enterprise version of vmalert
annotations : {str:str}, default is Undefined, optional
119
138
Annotations will be added to rule configuration
120
139
debug : bool, default is Undefined, optional
121
-
Debug enables logging for rule it useful for tracking
140
+
Debug enables logging for rule
141
+
it useful for tracking
122
142
expr : str, default is Undefined, optional
123
143
Expr is query, that will be evaluated at dataSource
124
144
$for : str, default is Undefined, optional
125
-
For evaluation interval in time.Duration format 30s, 1m, 1h or nanoseconds
145
+
For evaluation interval in time.Duration format
146
+
30s, 1m, 1h or nanoseconds
126
147
keep_firing_for : str, default is Undefined, optional
127
-
KeepFiringFor will make alert continue firing for this long even when the alerting expression no longer has results. Use time.Duration format, 30s, 1m, 1h or nanoseconds
148
+
KeepFiringFor will make alert continue firing for this long
149
+
even when the alerting expression no longer has results.
150
+
Use time.Duration format, 30s, 1m, 1h or nanoseconds
128
151
labels : {str:str}, default is Undefined, optional
129
152
Labels will be added to rule configuration
130
153
record : str, default is Undefined, optional
131
154
Record represents a query, that will be recorded to dataSource
132
155
update_entries_limit : int, default is Undefined, optional
133
-
UpdateEntriesLimit defines max number of rule's state updates stored in memory. Overrides `-rule.updateEntriesLimit` in vmalert.
156
+
UpdateEntriesLimit defines max number of rule's state updates stored in memory.
0 commit comments