public ServiceTracer(ITracer tracer, IHostingEnvironment hostingEnvironment, IOptions <ButterflyOptions> options) { _tracer = tracer ?? throw new ArgumentNullException(nameof(tracer)); _hostingEnvironment = hostingEnvironment; _butterflyOptions = options.Value; _hostName = Dns.GetHostName(); }
public ButterflySenderProvider(IOptions <ButterflyOptions> options) { _options = options.Value; }
public ButterflyDispatcherProvider(IEnumerable <IDispatchCallback> dispatchCallbacks, IOptions <ButterflyOptions> options) { _dispatchCallbacks = dispatchCallbacks; _options = options.Value; }
public ServiceTracerProvider(ITracer tracer, IHostingEnvironment hostingEnvironment, IOptions <ButterflyOptions> options) { _tracer = tracer; _options = options.Value; _hostingEnvironment = hostingEnvironment; }
public RequestTracer(IServiceTracer tracer, IOptions <ButterflyOptions> options) { _tracer = tracer; _options = options.Value; }