MCPcopy
hub / github.com/statsd/statsd / statsd_send

Function statsd_send

test/graphite_tests.js:30–38  ·  view source on GitHub ↗
(data,sock,host,port,cb)

Source from the content-addressed store, hash-verified

28}
29
30var statsd_send = function(data,sock,host,port,cb){
31 send_data = new Buffer(data);
32 sock.send(send_data,0,send_data.length,port,host,function(err,bytes){
33 if (err) {
34 throw err;
35 }
36 cb();
37 });
38}
39
40// keep collecting data until a specified timeout period has elapsed
41// this will let us capture all data chunks so we don't miss one

Callers 1

graphite_tests.jsFile · 0.70

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…