2.0.0 • Published 9 years ago

qb-monitor v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

qb-monitor

Monitoring utilities for qb.

Specifically focuses on monitoring queue size.

Usage

npm install qb-monitor --save
var qbMonitor = require('qb-monitor')

// qb-monitor's http interface can be used on a qb-http instance or a passed in connect app
qbMonitor.enableHttp(qb.speaks(require('qb-http')), {prefix: prefix /*defaults to <api-base>/stats*/})
qbMonitor.enableHttp(qb, {app: app})

// qb-monitor can also notify statsd (using a qb-statsd instance or other statsd object)
require('qb-statsd').enable(qb)
qbMonitor.enableStatsd(qb, {interval: 1000 /* ms */})
qbMonitor.enableStatsd(qb, {statsd: statsd})

License

MIT in LICENSE file

2.0.0

9 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago