statsd4d ~master
A statsd client implementation
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
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
- ~master released 7 years ago
- daehlith/statsd4d
- www.github.com/daehlith/statsd4d/
- MIT
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.0-beta 2015-Feb-15 ~master 2017-Nov-27 ~feature/VibeDSockets 2016-May-22 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
148 downloads total
-
- Score:
- 0.5
- Short URL:
- statsd4d.dub.pm