Exemplo n.º 1
0
 public Tracer(TraceOptions options = null)
 {
     options             = TraceOptions.ApplyDefaults(options ?? new TraceOptions());
     sampler             = options.Sampler;
     newId               = options.NewId;
     Host                = options.Endpoint;
     Clock               = options.Clock;
     use128bitTraceId    = options.Use128bitTraceId;
     PropagationRegistry = options.PropagationRegistry;
     reporter            = options.Reporter;
     ScopeManager        = options.ScopeManager;
 }
Exemplo n.º 2
0
 public OTScopeManager(IManageSpanScope spanActivator)
 {
     _spanActivator = spanActivator ?? throw new ArgumentNullException(nameof(spanActivator));
 }