Back to Chaosmonkey

Error Counter

docs/plugins/Error-counter.md

2.1.31021 B
Original Source

An error counter is used to record the rate of errors generated by Chaos Monkey to an external system such as a metrics or alerting system.

Inside of Netflix, we use an error counter to record error counts to Atlas, our metric system<sup>1</sup>.

If you wish to record the error counts with an external system, you need to:

  1. Give your error counter a name (e.g., "ganglia")
  2. Code up a type in Go that implements the ErrorCounter interface
  3. Modify errorcounter.go so that it recognizes your error counter.
  4. Edit your [config file](Configuration File Format) to specify your error counter.

<sup>1</sup>Unfortunately, we are unable to release this error counter as open source. Our Atlas error counter communicates with a version of Prana that has not been released as open source.