An open API service indexing awesome lists of open source software.

https://github.com/nodecloud/koa-hystrix

The koa middlware for hystrix-dashboard.
https://github.com/nodecloud/koa-hystrix

Last synced: 3 days ago
JSON representation

The koa middlware for hystrix-dashboard.

Awesome Lists containing this project

README

          

# koa-hystrix

This middleware depends on [brakes](https://github.com/node-cloud/brakes), it will set a /hystrix.stream route as default. You can use hystrix-dashboard to get the circuit's status.

## Usage

``` javascript
import Koa from 'koa';
import KoaHystrix from 'koa-hystrix';

let app = new Koa();

app.use(KoaHystrix());
```

## API

### KoaHystrix(options)

* options.url default is "/hystrix.stream"