Chaos Monkey for Symfony applications. Try to attack your running Symfony App.
Chaos Monkey for Symfony applications. Try to attack your running Symfony App.
exit()
composer require chaos-php/chaos-monkey-symfony-bundle
config/bundles.php
):
return [
//... other bundles
Chaos\Monkey\Symfony\ChaosMonkeyBundle::class => ['all' => true],
];
chaos_monkey.yaml
configuration (copy from below) and enable assaultschaos_monkey:
enabled: false
probability: 20 # percentage probability of attack (100 - everyone, 0 - none)
assaults:
latency:
active: false
minimum: 1000 # in miliseconds
maximum: 3000 # in miliseconds
memory:
active: false
fill_fraction: 0.95 # percentage of memory filling
exception:
active: false
class: 'RuntimeException'
kill_app:
active: false
watchers: # currently watchers can be enabled/disabled only in container compile time
request:
enabled: true
priority: 0
chaos_monkey_request_count_assaulted
)ChaosMonkeySymfonyBundle is released under the MIT Licence. See the bundled LICENSE file for details.
Arkadiusz Kondas (@ArkadiuszKondas)