Socket.io backend #102

Closed
wants to merge 5 commits into
from

Projects

None yet

4 participants

@Swizec

Hey,

I implemented a socket.io backend so browser-side javascript can connect to a statsd server and receive stat dumps when they happen.

Cheers,
~Swizec

@travisbot

This pull request passes (merged 2a72ad6 into 4e4ed79).

@mheffner

@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

@mrtazz
Etsy, Inc. member

Awesome idea! And yeah what @mheffner said :).

@Swizec

Turns out there's already a socket.io backend implemented as a module.

https://github.com/Chatham/statsd-socket.io

I should take better care to read the docs :)

@Swizec Swizec closed this Jun 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment