node-statsd
node-statsd copied to clipboard
Add support for TCP connections (as introduced in etsy/[email protected])
This PR adds support for TCP connections, which was included in the etsy/statsd
library in version 0.8.0 (current). It adds a boolean 'tcp' option. If set to true, it will create a net.Socket connection with keepAlive enabled to the specified host/port. Stats are written to the TCP socket for processing by Statsd.
The unit tests have been updated to also include a TCP server test, with TCP server implementation taken from etsy/statsd
.
This project hasn't been updated in years. If you'd like to submit to https://github.com/brightcove/hot-shots I'll look it over there
@remie @bdeitte Has this been ported to hot shots in the end? I can't see anything about TCP in the hot shots' docs or code.