public AsyncRecorder(SpanDispatcher dispatcher, RecorderMetrics metrics) { _dispatcher = dispatcher; _metrics = metrics; new Thread(ThreadWorkProc) { IsBackground = true, Name = "ZipkinRecorder" }.Start(); }
/// <summary> /// Configures which metrics collector to use. By default, nothing will be collected or logged. /// </summary> /// <param name="metrics"></param> /// <returns></returns> public ZipkinBootstrapper WithMetrics(RecorderMetrics metrics) { _metrics = metrics; return(this); }