Skip to content

Commit 00c2bd9

Browse files
committed
Update NGFHigh5xxRate alert to exclude forms-api hosts from error rate calculation
1 parent 80a33c2 commit 00c2bd9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kubernetes/namespaces/loki/alert_rules.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ data:
192192
(
193193
sum by (host) (
194194
rate(
195-
{namespace="nginx-gateway", app_container="/nginx"}
195+
{namespace="nginx-gateway", app_container="/nginx", host!~"forms-api.*"}
196196
| json
197197
| __error__ = ""
198198
| status >= 500
@@ -202,7 +202,7 @@ data:
202202
/
203203
sum by (host) (
204204
rate(
205-
{namespace="nginx-gateway", app_container="/nginx"}
205+
{namespace="nginx-gateway", app_container="/nginx", host!~"forms-api.*"}
206206
| json
207207
| __error__ = ""
208208
[5m]

0 commit comments

Comments
 (0)