lynx
A minimalistic node.js client for StatsD server. Fork of original work by sivy
lynx
features:
- Minimalistic — there is only a minimum of abstraction between you and
statsd
- Re-usable UDP Connections – Keeps UDP connections open for a certain time
- Errors - Pluggable error handling, by default errors are ignored
Getting Started
$ npm install lynx
$ node
var lynx = require('lynx')
c = new lynx('localhost',8125)
{ host: 'localhost', port: 8125 }
c.increment('node_test.int')
c.decrement('node_test.int')
c.timing('node_test.some_service.task.time', 500) // time in millis
tests
Run the tests with npm
.
npm test
meta
`\. ,/'
|\\____//|
)/_ `' _\(
,'/-`__'-\`\
/. (_><_) ,\
` )/`--'\(`' atc
` '
(oo)--',-
in caos