internal SpanExporter(SpanExporterWorker worker) { _worker = worker; _workerThread = new Thread(worker.Run) { IsBackground = true, Name = "SpanExporter" }; _workerThread.Start(); }
internal static ISpanExporter Create(int bufferSize, IDuration scheduleDelay) { SpanExporterWorker worker = new SpanExporterWorker(bufferSize, scheduleDelay); return(new SpanExporter(worker)); }