diff --git a/onboarding-carts/slo-quality-gates.yaml b/onboarding-carts/slo-quality-gates.yaml index 73846db..6effc78 100644 --- a/onboarding-carts/slo-quality-gates.yaml +++ b/onboarding-carts/slo-quality-gates.yaml @@ -1,10 +1,11 @@ --- spec_version: "0.1.1" comparison: + aggregate_function: "avg" compare_with: "single_result" include_result_with_score: "pass" - aggregate_function: "avg" number_of_comparison_results: 1 +filter: objectives: - sli: "response_time_p95" key_sli: false @@ -15,6 +16,7 @@ objectives: warning: # if the response time is below 800ms, the result should be a warning - criteria: - "<=800" + weight: 1 total_score: pass: "90%" warning: "75%" \ No newline at end of file diff --git a/onboarding-carts/slo-self-healing.yaml b/onboarding-carts/slo-self-healing.yaml index be0e2e5..b76fb9b 100644 --- a/onboarding-carts/slo-self-healing.yaml +++ b/onboarding-carts/slo-self-healing.yaml @@ -1,10 +1,11 @@ --- spec_version: "0.1.1" comparison: + aggregate_function: "avg" compare_with: "single_result" include_result_with_score: "pass" - aggregate_function: "avg" number_of_comparison_results: 1 +filter: objectives: - sli: "response_time_p90" key_sli: false @@ -15,6 +16,7 @@ objectives: warning: # if the response time is below 1200ms, the result should be a warning - criteria: - "<=1200" + weight: 1 total_score: pass: "90%" warning: "40%"