Basic StatsD client
const g = ; // configure connection gPORT = 8125;hHOST = 'localhost'; // single messageg; // multiconst multi = g; multi ; multi;
API
Mirrors StatsD API. Reference
NOTE: all commands also send the corresponding UDP packet to StatsD
#counter(key, value)
#gauge(key, value)
#timer(key, value)
#set(key, value)
Multi
Sends multi-metric packets. Reference
gauges.multi(prefix)
#send()
send the batch command