We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27521b9 commit 36340ebCopy full SHA for 36340eb
1 file changed
kubernetes/namespaces/loki/loki/alert_rules.yml
@@ -191,13 +191,14 @@ data:
191
192
- alert: NGFHigh5xxRate
193
expr: |
194
+ # NGINX synthesised 503s are not counted as they are normally from services we have set scaled to 0 and know about
195
(
196
sum by (host) (
197
rate(
198
{namespace="nginx-gateway", app_container="/nginx"}
199
| json
200
| __error__ = ""
- | host !~ "forms-api.*"
201
+ | upstream_addr!="unix:/var/run/nginx/nginx-503-server.sock"
202
| status >= 500
203
[5m]
204
)
@@ -208,7 +209,7 @@ data:
208
209
210
211
212
+ upstream_addr!="unix:/var/run/nginx/nginx-503-server.sock"
213
214
215
0 commit comments