Example #1
0
        public AsyncRecorder(SpanDispatcher dispatcher, RecorderMetrics metrics)
        {
            _dispatcher = dispatcher;
            _metrics    = metrics;

            new Thread(ThreadWorkProc)
            {
                IsBackground = true,
                Name         = "ZipkinRecorder"
            }.Start();
        }
Example #2
0
 /// <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);
 }