lib/node_tracers.js
function RESTkinHTTPTracer(traceUrl, keystoneClient, options) {
  var rawTracer = new module.exports.RawRESTkinHTTPTracer(traceUrl, keystoneClient);
  this._tracer = new module.exports.BufferingTracer(rawTracer, options);

  this.stop = this._tracer.stop.bind(this._tracer);

  EndAnnotationTracer.call(this, this.sendTraces);
}
function RESTkinHTTPTracer(traceUrl, keystoneClient, options) {
  var rawTracer = new module.exports.RawRESTkinHTTPTracer(traceUrl, keystoneClient);
  this._tracer = new module.exports.BufferingTracer(rawTracer, options);

  this.stop = this._tracer.stop.bind(this._tracer);

  EndAnnotationTracer.call(this, this.sendTraces);
}
A tracer that records to zipkin through the RESTkin http interface.
Requires a keystone client ({node-keystone-client}).

This is equivalent to EndAnnotationTracer(BufferingTracer(RawRESTkinHTTPTracerTests())).

@param {String} traceUrl The URL to the RESTkin endpoint including the
version. For example: https://example.com/v1.0
@param {keystone-client.KeystoneClient object} keystoneClient The
keystone client to use to authenticate against keystone to get a token
and tenant id.
@param {Object} options Options passed to the BufferingTracer constructor.