lib/clients/influxdb.js
function influxUdp(opts) {
  BaseClient.apply(this, arguments);
  opts = opts || {};
  this.host = opts.host || '127.0.0.1';
  this.port = opts.port || 4444;
  this.socket = dgram.createSocket('udp4');
}
function influxUdp(opts) {
  BaseClient.apply(this, arguments);
  opts = opts || {};
  this.host = opts.host || '127.0.0.1';
  this.port = opts.port || 4444;
  this.socket = dgram.createSocket('udp4');
}
function influxUdp ( opts ) { BaseClient . apply ( this , arguments ) ; opts = opts || { } ; this . host = opts . host || '127.0.0.1' ; this . port = opts . port || 4444 ; this . socket = dgram . createSocket ( 'udp4' ) ; }
A client that can send data to Influxdb backend via UDP
@param {Object} opts options about the influxdb backend
@param {String} opts.host the host of the influxdb. Default is 127.0.0.1
@param {Number} opts.port the port of the UDP port of influxdb. Default is 4444.
@param {Number} opts.sendQueueConcurrency specify the concurrency when send data to influxdb. Default is 10.
A client that can send data to Influxdb backend via UDP