/metrics-statsd

Statsd reporter for codahale/metrics.

Primary LanguageJavaApache License 2.0Apache-2.0

metrics-statsd

StatsD reporter for codahale/metrics. Supports versions 2 and 3.

Quick Start

MetricRegistry registry = new MetricRegistry();
StatsDReporter.forRegistry(registry)
    .build(new StatsD(new InetSocketAddress("statsd.example.com", 8125)))
    .start(1, TimeUnit.MINUTES);

Gradle

repositories {
  mavenRepo(url: 'http://dl.bintray.com/readytalk/maven')
}

compile('com.readytalk:metrics3-statsd:3.X.X')

Maven

Instructions for including metrics-statsd into a maven project can be found on the bintray repository.

Credits

This is based off of Sean Laurent's metrics-statsd and the graphite module of Coda Hale's Metrics