Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support connecting using TCP #2

Merged
merged 1 commit into from
Oct 11, 2019
Merged

Conversation

ivanvc
Copy link
Contributor

@ivanvc ivanvc commented Oct 9, 2019

I know this repository is old, hopefully, this PR will help someone. As I used to have a fork that used TCP, but never actually published. I can think of different ways of building the client to avoid having several functions and have just one with options, but to keep it backwards compatible, and bring radical changes to the code.

My use-case for TCP is that I have some servers that use statsd/server and for some reason the load balancer behind our telegraf server couldn't handle UDP connections. If this PR gets approved, I can submit a PR to address statsd/system#4 too.

I couldn't find any contribution guide, for this repository, so I did my best. There weren't any tests for the initialization of the client, so I didn't add them, but happy to do it if required.

@mrtazz
Copy link
Member

mrtazz commented Oct 11, 2019

thank you for the contribution!

@mrtazz mrtazz merged commit bde206e into statsd:master Oct 11, 2019
@ivanvc ivanvc deleted the add-tcp-support branch October 29, 2019 17:37
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.

2 participants