public AsyncRecorder(SpanDispatcher dispatcher, RecorderMetrics metrics) { _dispatcher = dispatcher; _metrics = metrics; new Thread(ThreadWorkProc) { IsBackground = true, Name = "ZipkinRecorder" }.Start(); }
/// <summary> /// Configures which span dispatcher to use. By default we'll use <see cref="RestSpanDispatcher"/> /// </summary> public ZipkinBootstrapper DispatchTo(SpanDispatcher dispatcher) { _dispatcher = dispatcher; return(this); }