Difficulty: beginner
Estimated Time: 3 minutes

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.

The chaos report command closes the discover->init->run->report workflow that is at the heart of the Chaos Toolkit.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Produce Reports from your Experiments

Step 1 of 2

Setting up the 'chaos report' command

The 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:

source ~/.venvs/chaostk/bin/activate

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:

apt-get update

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...