Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #90 from keptn/patch/1497/default-values
Browse files Browse the repository at this point in the history
#1495 Added filter and weight properties to SLOs
  • Loading branch information
johannes-b authored Mar 16, 2020
2 parents 6cc9c16 + ed8e1c5 commit 7211b1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion onboarding-carts/slo-quality-gates.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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%"
4 changes: 3 additions & 1 deletion onboarding-carts/slo-self-healing.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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%"

0 comments on commit 7211b1d

Please sign in to comment.