yeps-chaos

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i yeps-chaos

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • evheniy.bystrov