StatsdClient class

Statsd client providing interface to communicate with statsd server.

Constructors

StatsdClient(StatsdConnection connection, {String prefix})
Creates new Statsd client. [...]
factory

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

batch() StatsdBatch
Creates new batch of packets. [...]
count(String name, [int delta = 1, double sampleRate]) → Future
Sends counter metric specified by name. [...]
gauge(String name, int value) → Future
Sends arbitrary value (gauge) to the server.
gaugeDelta(String name, int delta) → Future
Updates gauge specified by name by the value provided in delta. [...]
set(String name, int value) → Future
Adds value into a Set specified by name.
time(String name, Stopwatch stopwatch, [double sampleRate]) → Future
Sends timing metric value to the server. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited