internal Tracing() { IEventQueue eventQueue = new SimpleEventQueue(); TraceConfig = new Config.TraceConfig(); SpanExporter = Export.SpanExporter.Create(); IStartEndHandler startEndHandler = new StartEndHandler( SpanExporter, eventQueue); tracer = new Tracer(startEndHandler, TraceConfig); }
internal Tracing() { IEventQueue eventQueue = new SimpleEventQueue(); TraceConfig = new Config.TraceConfig(); // TODO(bdrutu): Add a config/argument for supportInProcessStores. if (eventQueue is SimpleEventQueue) { ExportComponent = Export.ExportComponent.CreateWithoutInProcessStores(eventQueue); } else { ExportComponent = Export.ExportComponent.CreateWithInProcessStores(eventQueue); } IStartEndHandler startEndHandler = new StartEndHandler( ExportComponent.SpanExporter, eventQueue); tracer = new Tracer(startEndHandler, TraceConfig); }