/** * Creates a new instance. * * @param state Server span state, should not be <code>null</code> */ public ServerSpanThreadBinder(IServerSpanState state) { this.state = Ensure.ArgumentNotNull(state, "state"); }
public ServerTracer(IServerSpanState state, ISpanCollector spanCollector, Sampler traceSampler) : this(new ServerSpanAndEndpoint(state), spanCollector, traceSampler) { }
public ServerSpanAndEndpoint(IServerSpanState state) { State = state; }