From d3c168516308fb65b89bd7696e5bcd4884a982fb Mon Sep 17 00:00:00 2001 From: Gerald Nunn Date: Thu, 2 Nov 2023 16:32:13 -0700 Subject: [PATCH] Bump failure threshold to 10 in query --- .../modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml b/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml index 8fdf131..6ab86b1 100644 --- a/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml +++ b/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml @@ -17,7 +17,7 @@ spec: args: - name: query # Note encoded so it can be used as a query parameter, unencode: - # irate(haproxy_backend_http_responses_total{exported_namespace='rollouts-demo-prod',route=~'preview',code='5xx'}[1m])>5 or on() vector(0) + # irate(haproxy_backend_http_responses_total{exported_namespace='rollouts-demo-prod',route=~'preview',code='5xx'}[1m])>10 or on() vector(0) value: irate(haproxy_backend_http_responses_total%7Bexported_namespace='user%USER%-prod',route=~'preview',code='5xx'%7D%5B1m%5D)%3E10%20or%20on()%20vector(0) - name: route-url value: preview-user%USER%-prod.%SUB_DOMAIN%