File tree Expand file tree Collapse file tree
kubernetes/namespaces/loki Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ data:
219219 - alert: NGFHigh4xxRate
220220 expr: |
221221 (
222- sum by (host) (
222+ sum by (host, status ) (
223223 rate(
224224 {namespace="nginx-gateway", app_container="/nginx"}
225225 | json
@@ -229,7 +229,7 @@ data:
229229 )
230230 )
231231 /
232- sum by (host) (
232+ sum by (host, status ) (
233233 rate(
234234 {namespace="nginx-gateway", app_container="/nginx"}
235235 | json
@@ -244,7 +244,7 @@ data:
244244 annotations:
245245 summary: "High 4xx rate on {{ $labels.host }}"
246246 description: >
247- {{ $value | humanize }}% of requests are returning 4xx on {{ $labels.host }}.
247+ {{ $value | humanize }}% of requests are returning {{ $labels.status }} on {{ $labels.host }}.
248248 This may indicate a bad deploy, expired credentials, or a scanner.
249249
250250 # No traffic gate — if a host goes silent we want to know regardless
You can’t perform that action at this time.
0 commit comments