StatsD

Constructors

this
this(string address, ushort port, string prefix)
Undocumented in source.

Members

Functions

dec
void dec(string name, long value, double sampleRate)
Undocumented in source. Be warned that the author may not have intended to support it.
gauge
void gauge(string name, ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
handleException
void handleException(Exception e, string f, int l)
Undocumented in source. Be warned that the author may not have intended to support it.
histo
void histo(string name, ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
inc
void inc(string name, long value, double sampleRate)
Undocumented in source. Be warned that the author may not have intended to support it.
meter
void meter(string name, ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
void opCall(Values values)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(string name, long value)
Undocumented in source. Be warned that the author may not have intended to support it.
time
void time(string name, ulong time)
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

{
	FixedSizeArray!(char,128) textbuf;
	string h = "Hello World";
	formattedWrite(textbuf[], h);
	assert(cast(string)textbuf == h, cast(string)textbuf);
}
{
	FixedSizeArray!(char,128) textbuf;
	string h = "Hello World %s";
	string t = "Hello World 10";
	formattedWrite(textbuf[], h, 10);
	assert(cast(string)textbuf == t, cast(string)textbuf);
}

Meta