lib/util/graphite.js
function Graphite(host, port, eventPort, secure, log) {
  this.client = graphite.createClient(sprintf('plaintext://%s:%s/', host, port));
  this.secure = secure;
  this.host = host;
  this.port = port;
  this.eventPort = eventPort;
  this.log = log || logmagic.local('graphite');
}
function Graphite(host, port, eventPort, secure, log) {
  this.client = graphite.createClient(sprintf('plaintext://%s:%s/', host, port));
  this.secure = secure;
  this.host = host;
  this.port = port;
  this.eventPort = eventPort;
  this.log = log || logmagic.local('graphite');
}
function Graphite ( host , port , eventPort , secure , log ) { this . client = graphite . createClient ( sprintf ( 'plaintext://%s:%s/' , host , port ) ) ; this . secure = secure ; this . host = host ; this . port = port ; this . eventPort = eventPort ; this . log = log || logmagic . local ( 'graphite' ) ; }
Graphite client
@constructor
@param {String} host Graphite host.
@param {Number} port Graphite port.
@param {Object} log An optional logging facility.
Graphite client