internal static OpenTracingTracer CreateTracer(Uri agentEndpoint, string defaultServiceName = null, DelegatingHandler delegatingHandler = null, bool isDebugEnabled = false) { var api = new Api(agentEndpoint, delegatingHandler); var agentWriter = new AgentWriter(api); var ddTracer = new Tracer(agentWriter, defaultServiceName, isDebugEnabled); var tracer = new OpenTracingTracer(ddTracer); return(tracer); }
internal OpenTracingSpanBuilder(OpenTracingTracer tracer, string operationName) { _tracer = tracer; _operationName = operationName; }