diff --git a/workshop/example.json b/workshop/example.json index b483f31..2def946 100644 --- a/workshop/example.json +++ b/workshop/example.json @@ -29,9 +29,25 @@ ], "metrics": [ { - "displayName": "Response time", - "description": "How long it takes to respond to a request", - "measuredFailuresIndex": [] + "displayName": "response_code between 200-499", + "description": "error rate", + "measuredFailuresIndex": [ + 0 + ] + }, + { + "displayName": "latency < 10 seconds", + "description": "The response to climate API is relatively fast", + "measuredFailuresIndex": [ + 0 + ] + }, + { + "displayName": "GET climate successful", + "description": "", + "measuredFailuresIndex": [ + 1 + ] } ] }, @@ -48,15 +64,6 @@ "likelihood": "Rare", "impactLevel": "Minor" }, - { - "consumerIndex": 1, - "consumptionIndex": 1, - "symptom": "Can't lock the car", - "consequence": "Thieves may get in the car before the user gets to lock it", - "businessImpact": "The user may take significant financial damage and take us to court", - "likelihood": "Rare", - "impactLevel": "Catastrophic" - }, { "consumerIndex": 1, "consumptionIndex": 1, @@ -65,9 +72,24 @@ "businessImpact": "The user may call customer support", "likelihood": "Possible", "impactLevel": "Insignificant" + }, + { + "consumerIndex": 1, + "consumptionIndex": 1, + "symptom": "Can't lock the car", + "consequence": "Thieves may get in the car before the user gets to lock it", + "businessImpact": "The user may take significant financial damage and take us to court", + "likelihood": "Rare", + "impactLevel": "Catastrophic" } ], - "metrics": [] + "metrics": [ + { + "displayName": "", + "description": "", + "measuredFailuresIndex": [] + } + ] } ] }, diff --git a/workshop/index.html b/workshop/index.html index b48b704..af04353 100644 --- a/workshop/index.html +++ b/workshop/index.html @@ -92,7 +92,7 @@

Why failures?

and there are even more pitfalls.

- Our approach is based on the following assumptions: + Our approach is based on the following principles: