// ExportSpan is called by opentracing when spans are created. It implements
// the Exporter interface.
ExportSpan is called by opentracing when spans are created. It implements
the Exporter interface.
// ExportSpan is called by opentracing when spans are created . It implements // the Exporter interface .
func (e *Exporter) ExportSpan(span *trace.SpanData) {
	sendBatch := e.saveBatch(span)
	if sendBatch != nil {
		go func() {
			e.log("trace : Exporter : ExportSpan : Sending Batch[%d]", len(sendBatch))
			if err := e.send(sendBatch); err != nil {
				e.log("trace : Exporter : ExportSpan : ERROR : %v", err)
			}
		}()
	}
}
func ( e * Exporter ) ExportSpan ( span * trace . SpanData ) { sendBatch := e . saveBatch ( span ) if sendBatch != nil { go func ( ) { e . log ( " " , len ( sendBatch ) ) if err := e . send ( sendBatch ) ; err != nil { e . log ( " " , err ) } } ( ) } }
ExportSpan is called by opentracing when spans are created.
ExportSpan is called by opentracing when spans are created .