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

Using Gostats with UDP #127

Open
vk-98 opened this issue May 4, 2022 · 3 comments
Open

Using Gostats with UDP #127

vk-98 opened this issue May 4, 2022 · 3 comments

Comments

@vk-98
Copy link

vk-98 commented May 4, 2022

Is it possible to use gostats with UDP protocol instead of TCP? If so, then what are the changes we have to do, and how we can check it is working?

@fsouza
Copy link
Contributor

fsouza commented May 4, 2022

You can use WithStatsdProtocol when creating the sink, or set the environment variable STATSD_PROTOCOL.

@vk-98
Copy link
Author

vk-98 commented May 5, 2022

So what should be the value needed to assign to this STATSD_PROTOCOL environment variable?

@fsouza
Copy link
Contributor

fsouza commented May 5, 2022

So what should be the value needed to assign to this STATSD_PROTOCOL environment variable?

udp

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

No branches or pull requests

2 participants