Skip to content

Instantly share code, notes, and snippets.

@russmiles
Created June 15, 2021 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russmiles/2f0eb2b2a53b623ae8857a471c28afbe to your computer and use it in GitHub Desktop.
Save russmiles/2f0eb2b2a53b623ae8857a471c28afbe to your computer and use it in GitHub Desktop.
{
"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