Running an experiment is helpful for immediate learning, but usually you'll want to share the outcomes of your experiments so your whole team, and maybe even your company at large, can learn from your experiments too. After all, organisational learning is a big goal of Chaos Engineering!
The Chaos Toolkit comes with a
chaos report command for just this purpose. It turns your experiments into reports in various formats so everyone can learn from your chaos efforts.
Congratulations! You've seen how you can use the
chaos report command to turn the output of your chaos experiments into great looking reports for everyone to learn from.
chaos report command closes the
report workflow that is at the heart of the Chaos Toolkit.
Produce Reports from your Experiments
Setting up the 'chaos report' command
chaos reporting command is an extension to the Chaos Toolkit CLI. First you can turn on the virtual environment that has the
chaos command installed by executing:
Now you can install the
chaos report command by executing:
pip install -U chaostoolkit-reporting
Finally you need to install the various dependencies for the formats of report you want to generate. To do that, you first make sure your
apt-get index is up to date by executing:
Now you can install the dependencies you will need for your own reports:
apt-get install -y texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra python3-tk pandoc
With everything now set up, you're ready to run a chaos experiment and produce your report...