Skip to content
Snippets Groups Projects
Verified Commit 6681ed48 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(blog): Fix SLO by using optional vector

parent 9f053c0f
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ spec:
description: "Blog: SLO based on availability for HTTP request responses."
sli:
events:
errorQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="blog",ingress="blog",status=~"(5..|429)"}[{{.window}}]))
errorQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="blog",ingress="blog",status=~"(5..|429)"}[{{.window}}])) OR vector(0)
totalQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="blog",ingress="blog"}[{{.window}}])) > 0 OR vector(1)
alerting:
name: BlogHighErrorRate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment