@@ -179,7 +179,7 @@ groups:
179179 rules :
180180 # Alert for CRUD module request errors.
181181 - alert : CRUDHighErrorRate
182- expr : rate(tnt_crud_stats_count{ job="tarantool_app ", status="error" }[5m]) > 0.1
182+ expr : rate(tnt_crud_stats_count{ job="tarantool ", status="error" }[5m]) > 0.1
183183 for : 1m
184184 labels :
185185 severity : critical
@@ -190,7 +190,7 @@ groups:
190190
191191 # Warning for CRUD module requests too long responses.
192192 - alert : CRUDHighLatency
193- expr : tnt_crud_stats{ job="tarantool_app ", quantile="0.99" } > 0.1
193+ expr : tnt_crud_stats{ job="tarantool ", quantile="0.99" } > 0.1
194194 for : 1m
195195 labels :
196196 severity : warning
@@ -201,7 +201,7 @@ groups:
201201
202202 # Warning for too many map reduce CRUD module requests.
203203 - alert : CRUDHighMapReduceRate
204- expr : rate(tnt_crud_map_reduces{ job="tarantool_app " }[5m]) > 0.1
204+ expr : rate(tnt_crud_map_reduces{ job="tarantool " }[5m]) > 0.1
205205 for : 1m
206206 labels :
207207 severity : warning
@@ -214,12 +214,12 @@ groups:
214214
215215- name : tarantool-business
216216 rules :
217- # Warning for any endpoint of an instance in tarantool_app job that responds too long.
217+ # Warning for any endpoint of an instance in tarantool job that responds too long.
218218 # Beware that metric name depends on name of the collector you use in HTTP metrics middleware
219219 # and request depends on type of this collector.
220220 # This example based on summary collector with default name.
221221 - alert : HTTPHighLatency
222- expr : http_server_request_latency{ job="tarantool_app ", quantile="0.99" } > 0.1
222+ expr : http_server_request_latency{ job="tarantool ", quantile="0.99" } > 0.1
223223 for : 5m
224224 labels :
225225 severity : warning
@@ -228,12 +228,12 @@ groups:
228228 description : " Some {{ $labels.method }} requests to {{ $labels.path }} path with {{ $labels.status }} response status
229229 on '{{ $labels.alias }}' instance of job '{{ $labels.job }}' are processed too long."
230230
231- # Warning for any endpoint of an instance in tarantool_app job that sends too much 4xx responses.
231+ # Warning for any endpoint of an instance in tarantool job that sends too much 4xx responses.
232232 # Beware that metric name depends on name of the collector you use in HTTP metrics middleware
233233 # and request depends on type of this collector.
234234 # This example based on summary collector with default name.
235235 - alert : HTTPHighClientErrorRateInstance
236- expr : sum by (job, instance, method, path, alias) (rate(http_server_request_latency_count{ job="tarantool_app ", status=~"^4\\d{2}$" }[5m])) > 10
236+ expr : sum by (job, instance, method, path, alias) (rate(http_server_request_latency_count{ job="tarantool ", status=~"^4\\d{2}$" }[5m])) > 10
237237 for : 1m
238238 labels :
239239 severity : warning
@@ -242,12 +242,12 @@ groups:
242242 description : " Too many {{ $labels.method }} requests to {{ $labels.path }} path
243243 on '{{ $labels.alias }}' instance of job '{{ $labels.job }}' get client error (4xx) responses."
244244
245- # Warning for any endpoint in tarantool_app job that sends too much 4xx responses (cluster overall).
245+ # Warning for any endpoint in tarantool job that sends too much 4xx responses (cluster overall).
246246 # Beware that metric name depends on name of the collector you use in HTTP metrics middleware
247247 # and request depends on type of this collector.
248248 # This example based on summary collector with default name.
249249 - alert : HTTPHighClientErrorRate
250- expr : sum by (job, method, path) (rate(http_server_request_latency_count{ job="tarantool_app ", status=~"^4\\d{2}$" }[5m])) > 20
250+ expr : sum by (job, method, path) (rate(http_server_request_latency_count{ job="tarantool ", status=~"^4\\d{2}$" }[5m])) > 20
251251 for : 1m
252252 labels :
253253 severity : warning
@@ -256,12 +256,12 @@ groups:
256256 description : " Too many {{ $labels.method }} requests to {{ $labels.path }} path
257257 on instances of job '{{ $labels.job }}' get client error (4xx) responses."
258258
259- # Warning for any endpoint of an instance in tarantool_app job that sends 5xx responses.
259+ # Warning for any endpoint of an instance in tarantool job that sends 5xx responses.
260260 # Beware that metric name depends on name of the collector you use in HTTP metrics middleware
261261 # and request depends on type of this collector.
262262 # This example based on summary collector with default name.
263263 - alert : HTTPServerErrors
264- expr : sum by (job, instance, method, path, alias) (rate(http_server_request_latency_count{ job="tarantool_app ", status=~"^5\\d{2}$" }[5m])) > 0
264+ expr : sum by (job, instance, method, path, alias) (rate(http_server_request_latency_count{ job="tarantool ", status=~"^5\\d{2}$" }[5m])) > 0
265265 for : 1m
266266 labels :
267267 severity : warning
@@ -270,12 +270,12 @@ groups:
270270 description : " Some {{ $labels.method }} requests to {{ $labels.path }} path
271271 on '{{ $labels.alias }}' instance of job '{{ $labels.job }}' get server error (5xx) responses."
272272
273- # Warning for any endpoint of a router instance (with "router" in alias) in tarantool_app job that gets too little requests.
273+ # Warning for any endpoint of a router instance (with "router" in alias) in tarantool job that gets too little requests.
274274 # Beware that metric name depends on name of the collector you use in HTTP metrics middleware
275275 # and request depends on type of this collector.
276276 # This example based on summary collector with default name.
277277 - alert : HTTPLowRequestRateRouter
278- expr : sum by (job, instance, alias) (rate(http_server_request_latency_count{ job="tarantool_app ", alias=~"^.*router.*$" }[5m])) < 10
278+ expr : sum by (job, instance, alias) (rate(http_server_request_latency_count{ job="tarantool ", alias=~"^.*router.*$" }[5m])) < 10
279279 for : 5m
280280 labels :
281281 severity : warning
0 commit comments