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.
- Host: GitHub
- URL: https://github.com/nodecloud/koa-hystrix
- Owner: nodecloud
- Created: 2017-04-24T03:40:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T04:46:39.000Z (about 9 years ago)
- Last Synced: 2026-05-16T09:50:07.606Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"