yeps-chaos

YEPS Chaos Monkey

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
yeps-chaos
000.1.07 years ago7 years agoMinified + gzip package size for yeps-chaos in KB

Readme

YEPS Chaos
Chaos Monkey implementation for YEPS.
NPM
npm version Build Status Coverage Status Linux Build Windows Build
Dependency Status devDependency Status NSP Status
Known Vulnerabilities License GitHub stars GitHub forks GitHub issues Twitter

How to install

npm i -S yeps-chaos

How to use

Config

config/default.json

{
  "chaos": {
    "enabled": true,
    "error": {
      "probability": 0.1 // 0..1
    },
    "timeout": {
      "probability": 0.1, // 0..1
      "time": 30 // seconds
    }
  }
}

app.js

const App = require('yeps');
const error = require('yeps-error');

const chaos = require('yeps-chaos);

const app = new App();

app.then(chaos());

app.then(error());
app.then(...)

YEPS documentation

Chaos Monkey