Loki request errors critical
The {{ $labels.job }} and {{ $labels.route }} are experiencing errors
>>>
100 *
sum
(
rate
(
{status_code=~"5.."}[1m])) by (namespace, job, route) /
sum
(
rate
(
[1m])) by (namespace, job, route) > 10
The rule computes the percentage of Loki requests that returned a 5xx status code over the past minute for each namespace, job, and route (using rate on the request count metrics) and fires the alert when this error rate exceeds 10 %.
Get Alert✕
Download
Copy to Clipboard