diff --git a/apps/k8s01/nas/slo.yaml b/apps/k8s01/nas/slo.yaml index 3d3a1405156c58c68e16cc0049898a65d6ea28b5..27c765c21b7aa4f4767bd0a25045d8338679bcfe 100644 --- a/apps/k8s01/nas/slo.yaml +++ b/apps/k8s01/nas/slo.yaml @@ -11,8 +11,8 @@ spec: description: "S3: SLO based on availability for HTTP request responses." sli: events: - errorQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="s3",ingress=~"s3-.*",status=~"(5..|429)"}[{{.window}}])) OR vector(0) - totalQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="s3",ingress=~"s3-.*"}[{{.window}}])) > 0 OR vector(1) + errorQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="nas",ingress=~"s3-.*",status=~"(5..|429)"}[{{.window}}])) OR vector(0) + totalQuery: sum(rate(nginx_ingress_controller_requests{exported_namespace="nas",ingress=~"s3-.*"}[{{.window}}])) > 0 OR vector(1) alerting: name: S3HighErrorRate labels: @@ -28,11 +28,11 @@ spec: events: errorQuery: | ( - sum(rate(nginx_ingress_controller_request_duration_seconds_count{exported_namespace="s3",ingress=~"s3-.*",method!="WATCH"}[{{.window}}])) + sum(rate(nginx_ingress_controller_request_duration_seconds_count{exported_namespace="nas",ingress=~"s3-.*",method!="WATCH"}[{{.window}}])) - - sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{exported_namespace="s3",ingress=~"s3-.*",le="0.25",verb!="WATCH"}[{{.window}}])) + sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{exported_namespace="nas",ingress=~"s3-.*",le="0.25",verb!="WATCH"}[{{.window}}])) ) - totalQuery: sum(rate(nginx_ingress_controller_request_duration_seconds_count{exported_namespace="s3",ingress=~"s3-.*",method!="WATCH"}[{{.window}}])) > 0 OR vector(1) + totalQuery: sum(rate(nginx_ingress_controller_request_duration_seconds_count{exported_namespace="nas",ingress=~"s3-.*",method!="WATCH"}[{{.window}}])) > 0 OR vector(1) alerting: name: S3LatencyAlert labels: