Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a java statsd client library
Java
Branch: master
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

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);
  }
}
Something went wrong with that request. Please try again.