Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion onboarding-carts/shipyard-argo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: "spec.keptn.sh/0.2.0"
apiVersion: "spec.keptn.sh/0.2.2"
kind: "Shipyard"
metadata:
name: "shipyard-sockshop"
Expand Down
2 changes: 1 addition & 1 deletion onboarding-carts/shipyard-quality-gates.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: "spec.keptn.sh/0.2.0"
apiVersion: "spec.keptn.sh/0.2.2"
kind: "Shipyard"
metadata:
name: "shipyard-quality-gates"
Expand Down
16 changes: 15 additions & 1 deletion onboarding-carts/shipyard.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: "spec.keptn.sh/0.2.0"
apiVersion: "spec.keptn.sh/0.2.2"
kind: "Shipyard"
metadata:
name: "shipyard-sockshop"
Expand Down Expand Up @@ -80,3 +80,17 @@ spec:
properties:
deploymentstrategy: "direct"
- name: "release"

- name: "remediation"
triggeredOn:
- event: "production.remediation.finished"
selector:
match:
evaluation.result: "fail"
tasks:
- name: "get-action"
- name: "action"
- name: "evaluation"
triggeredAfter: "10m"
Comment thread
christian-kreuzberger-dtx marked this conversation as resolved.
properties:
timeframe: "10m"
30 changes: 30 additions & 0 deletions onboarding-carts/slo-self-healing-dynatrace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
spec_version: "1.0"
comparison:
aggregate_function: "avg"
compare_with: "single_result"
include_result_with_score: "pass"
number_of_comparison_results: 1
filter:
objectives:
- sli: "response_time_p90"
displayName: "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)
- "<1000" # absolute values only require a logical operator
warning: # if the response time is below 1200ms, the result should be a warning
- criteria:
- "<=1200"
weight: 1
- sli: "problem_open"
displayName: "Problem open"
key_sli: true
pass:
- criteria:
- "=0"
weight: 1
total_score:
pass: "90%"
warning: "40%"