added socket.io dependency
pushing stat string to connected sockets
easier to use data format
responding to "status" event
emitting to volatile sockets for more speed
This pull request passes (merged 2a72ad6 into 4e4ed79).
@Swizec Very cool. My recommendation would be to implement this as a separate StatsD backend packaged as an NPM module. This separates your backend development and required dependencies from the main statsd daemon. Checkout this link for some backend module examples: https://github.com/etsy/statsd/wiki/Backends
Awesome idea! And yeah what @mheffner said :).
Turns out there's already a socket.io backend implemented as a module.
I should take better care to read the docs :)