Skip to content

UDP packets not being sent #35

Description

@jpblair

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions