statsd client for Go
*Client
Statter as a
replacement, if needed. Ex:
var client Client
// A nil *Client has noop behavior, so this is safe.
// It will become a small overhead (just a couple function calls) noop.
err = client.Inc("stat1", 42, 1.0)
*Client
Statter as a
replacement, if needed. Ex:
var client Client
// A nil *Client has noop behavior, so this is safe.
// It will become a small overhead (just a couple function calls) noop.
err = client.Inc("stat1", 42, 1.0)
NewClientWithSender(Sender, string) (Statter, error)
method added to
enable building a Client from a prefix and an already created Sender.