Skip to content

daehlith/statsd4d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

What is statsd4d ?

statsd4d is a statsd client for the D programming language.

Usage

Quickly, to use:

import statsd;
auto c = new statsd.StatsClient(); // connect to a statsd server running on "localhost" at the default port 8125.
c.incr("foo"); // increment the "foo" counter.
c.timing("stats.timed", 320); // Record a 320 ms "stats.timed".

You can also prefix all your stats:

import statsd;
auto c = new statsd.StatsClient("localhost", 8125, "foo");
c.incr("bar"); // Will be "foo.bar" in statsd/graphite.

Building

statsd4d is provided as a dub package and as such all its standard operations are supported. Compiled binaries are located in the .build subfolder.

References

About

statsd4d is a statsd client for the D programming language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages