Description

A Client for etsy statsd

Package Information

Version0.9.0 (2017-Mar-01)
Repository https://github.com/burner/DStatsD
LicenseLGPL3
CopyrightCopyright © 2016, burner
Authorsburner
Registered byRobert Schadek
Dependencies

vibe-d:core

stringbuffer

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

DStatsD

A fast, memory efficent, vibe.d compatible client for etsy's statsd.

auto s = new StatsD("127.0.0.1", 1234, ""); // 

s(Counter("Foo")); // increment counter "Foo"
s.inc("Bar"); // increment counter "Foo"

s(Counter("Args"), 					// send stats to Args, H, and timeA 
	Counter("H", uniform(-10,10)),  // in one udp message
	Timer("timeA", uniform(12,260))
);

Documentation

Please send Pull Requests. Currently, look at the source, its super simple.

Available versions

0.9.0 0.0.1 ~master