50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"title": "Testing memory",
|
|
"description": "Testing memory!",
|
|
"tags": [],
|
|
"steady-state-hypothesis": {
|
|
"title": "Hypothesis",
|
|
"probes": []
|
|
},
|
|
"method": [
|
|
{
|
|
"name": "enable_chaosmonkey",
|
|
"provider": {
|
|
"arguments": {
|
|
"base_url": "http://localhost:8082/actuator"
|
|
},
|
|
"func": "enable_chaosmonkey",
|
|
"module": "chaosspring.actions",
|
|
"type": "python"
|
|
},
|
|
"type": "action"
|
|
},
|
|
{
|
|
"name": "configure_assaults",
|
|
"provider": {
|
|
"arguments": {
|
|
"base_url": "http://localhost:8082/actuator",
|
|
"assaults_configuration": {
|
|
"level": 5,
|
|
"latencyActive": false,
|
|
"killApplicationActive": false,
|
|
"restartApplicationActive": false,
|
|
"exceptionsActive": false,
|
|
"memoryActive": true,
|
|
"memoryMillisecondsHoldFilledMemory": 90000,
|
|
"memoryMillisecondsWaitNextIncrease": 100,
|
|
"memoryFillIncrementFraction": 0.9,
|
|
"memoryFillTargetFraction": 0.95,
|
|
"runtimeAssaultCronExpression": "*/1 * * * * ?"
|
|
}
|
|
},
|
|
"func": "change_assaults_configuration",
|
|
"module": "chaosspring.actions",
|
|
"type": "python"
|
|
},
|
|
"type": "action"
|
|
}
|
|
],
|
|
"rollbacks": []
|
|
}
|