Skip to content

Socket.io backend#102

Closed
Swizec wants to merge 5 commits intostatsd:masterfrom
Swizec:socket.io-backend
Closed

Socket.io backend#102
Swizec wants to merge 5 commits intostatsd:masterfrom
Swizec:socket.io-backend

Conversation

@Swizec
Copy link
Copy Markdown

@Swizec Swizec commented Jun 14, 2012

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
Copy link
Copy Markdown

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

@mheffner
Copy link
Copy Markdown
Contributor

@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
Copy link
Copy Markdown
Member

mrtazz commented Jun 18, 2012

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

@Swizec
Copy link
Copy Markdown
Author

Swizec commented Jun 20, 2012

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants