Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 574 Bytes

node-statsd

A node.js client for Etsy's StatsD server.

This client will let you fire stats at your StatsD server from a node.js application.

% npm install node-statsd
% node
> var StatsD = require('node-statsd').StatsD
> c = new StatsD('example.org',8125)
{ host: 'example.org', port: 8125 }
> c.increment('node_test.int')
> c.decrement('node_test.int')
> c.timing('node_test.some_service.task.time', 500) // time in millis

License

node-statsd is licensed under the MIT license.

Jump to Line
Something went wrong with that request. Please try again.