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();
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Java StatsD Client
License
kuba--/statsd-client
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java StatsD Client
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published