statsd4d 1.0.0-beta

A statsd client for D


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

Authors:
  • Thomas Daehling
Dependencies:
none
Versions:
1.0.0-beta 2015-Feb-15
~master 2017-Nov-27
~feature/VibeDSockets 2016-May-22
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 148 downloads total

Score:
0.5
Short URL:
statsd4d.dub.pm