Closed ThomasVestergaard closed 9 years ago
Thanks for adding this Thomas! I appreciate your contribution. I've made a few notes on some parts of the code, most notably:
Lastly, please can you test this with a Graphite server listening on UDP? That'll make sure your UDP sender is rock solid.
Cheers, Luke
Hi Luke Thanks for getting back so quick. I'll iterate over this again later this week.
Cheers
Statsd.net now supports output to Graphite using TCP or UDP via a new backend. I'm going to close this request.
Graphite communication is now configurable to be either tcp or udp. An attribute is added to the configuration tag that decides whether to use UDP og TCP when sending data to graphite.
Also includes a bug fix which adds a "\r\n" after each line sent to graphite in both UDP and TCP. The UDP part is untested though.