This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from keptn/patch/1495/slo-files
#1495 Add default values to SLO config
- Loading branch information
Showing
2 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
--- | ||
spec_version: '0.1.1' | ||
spec_version: "0.1.1" | ||
comparison: | ||
compare_with: "single_result" | ||
include_result_with_score: "pass" | ||
aggregate_function: avg | ||
aggregate_function: "avg" | ||
number_of_comparison_results: 1 | ||
objectives: | ||
- sli: response_time_p90 | ||
pass: # pass if (relative change <= 10% AND absolute value is < 500) | ||
- sli: "response_time_p90" | ||
key_sli: false | ||
pass: # pass if (relative change <= 10% AND absolute value is < 1000) | ||
- criteria: | ||
- "<=+10%" # relative values require a prefixed sign (plus or minus) | ||
- "<=+10%" # relative values require a prefixed sign (plus or minus) | ||
- "<1000" # absolute values only require a logical operator | ||
warning: # if the response time is below 800ms, the result should be a warning | ||
warning: # if the response time is below 1200ms, the result should be a warning | ||
- criteria: | ||
- "<=1200" | ||
total_score: | ||
pass: "90%" | ||
warning: 40% | ||
warning: "40%" |