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

UDP packets not being sent #35

Open
jpblair opened this issue Jul 31, 2015 · 0 comments
Open

UDP packets not being sent #35

jpblair opened this issue Jul 31, 2015 · 0 comments

Comments

@jpblair
Copy link

jpblair commented Jul 31, 2015

I'm using code similar to the example usage:

import com.timgroup.statsd.StatsDClient;
import com.timgroup.statsd.NonBlockingStatsDClient;

final StatsDClient statsd = new NonBlockingStatsDClient("my.prefix", "localhost", 8130);
statsd.recordGaugeValue("java_gauge_1", 2100);

I set up a UDP listener on port 8130 of my localhost and I don't see any packets coming through when I run this code. I know the UDP listener is working because I was able to use libraries that extend this one for Datadog and I saw packets coming through. Not sure what I'm doing wrong here.

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

1 participant