node-statsd icon indicating copy to clipboard operation
node-statsd copied to clipboard

Add support for TCP connections (as introduced in etsy/[email protected])

Open remie opened this issue 7 years ago • 2 comments

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.

remie avatar Apr 19 '17 13:04 remie

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

bdeitte avatar Oct 03 '17 12:10 bdeitte

@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.

honzajavorek avatar Jul 02 '18 15:07 honzajavorek