From 4a4e56e839c4a2bf06681db2cd2bd0629a9e5d78 Mon Sep 17 00:00:00 2001 From: Gerald Nunn Date: Mon, 6 Nov 2023 14:36:49 -0600 Subject: [PATCH] Tune analysis template --- .../ROOT/examples/bluegreen-analysis/base/rollout.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml b/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml index 6ab86b1..0d80480 100644 --- a/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml +++ b/documentation/modules/ROOT/examples/bluegreen-analysis/base/rollout.yaml @@ -17,8 +17,8 @@ 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])>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) + # irate(haproxy_backend_http_responses_total{exported_namespace='rollouts-demo-prod',route=~'preview',code='5xx'}[1m])>7 or on() vector(0) + value: irate(haproxy_backend_http_responses_total%7Bexported_namespace='user%USER%-prod',route=~'preview',code='5xx'%7D%5B1m%5D)%3E7%20or%20on()%20vector(0) - name: route-url value: preview-user%USER%-prod.%SUB_DOMAIN% templates: