Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

kuba--/statsd-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java StatsD Client

final StatsDClient cli = new StatsDClient("prefix, "host", 7125);

double sampleRate = 1.0;
cli.inc("key", sampleRate);

int delta = 123;
cli.count("key", delta, sampleRate);

double value = 123.4;
cli.gauge("key", value, sampleRate);

long timeInMs = 1234;
cli.time("key", timeInMs, sampleRate);

cli.set("key", "value", sampleRate);

cli.shutdown();

Releases

No releases published

Packages

No packages published

Languages