Created
June 15, 2021 13:00
-
-
Save russmiles/2f0eb2b2a53b623ae8857a471c28afbe to your computer and use it in GitHub Desktop.
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
{ | |
"version": "0.1.0", | |
"title": "Use SLO as steady-states that we must not deviate from.", | |
"description": "n/a", | |
"steady-state-hypothesis": { | |
"title": "We do not consume all of our error budgets during the experiment", | |
"probes": [ | |
{ | |
"name": "last-3-slos-must-be-ok", | |
"type": "probe", | |
"provider": { | |
"type": "python", | |
"module": "chaosreliably.slo.probes", | |
"func": "get_last_N_slos", | |
"arguments": { | |
"quantity": 3 | |
} | |
}, | |
"tolerance": { | |
"type": "probe", | |
"name": "validate-last-3-slo-statuses", | |
"provider": { | |
"type": "python", | |
"module": "chaosreliably.slo.tolerances", | |
"func": "last_N_slo_were_met_for_all_services", | |
"arguments": {} | |
} | |
} | |
} | |
] | |
}, | |
"method": [ | |
{ | |
"name": "fake-doing-something-useful", | |
"type": "action", | |
"provider": { | |
"type": "python", | |
"module": "chaosaddons.utils.idle", | |
"func": "idle_for", | |
"arguments": { | |
"duration": 5 | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment