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

            return(new SpanExporter(worker));
        }