Full source code here.
Want to learn more about Polly? Check out my Pluralsight course on it.
Simmy chaos policies have configurable options, via these options the polices can be turned on or off, have the rate at which they fire set, and in the case of the latency policy, the injected delay.