a java statsd client library
Java
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits ahead, 72 commits behind tim-group:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
src
vendor
.classpath
.gitignore
.project
LICENSE
README.md
build.xml

README.md

java-statsd-client

A statsd client library implemented in Java. Allows for Java applications to easily communicate with statsd.

Usage

import com.timgroup.statsd.StatsDClient;

public class Foo {
  private final StatsDClient statsd = new StatsDClient("foo.test", "localhost", 8125);

  public static final void main(String[] args) {
    statsd.incrementCounter("bar");
    statsd.recordGaugeValue("baz", 100);
    statsd.recordExecutionTime("bag", 25);
  }
}