Exemple #1
0
 public Span(IZipkinTracer tracer, string operationName, IZipkinSpanContext context, DateTimeOffset started,
             SpanKind?kind = null, Endpoint localEndpoint = null, Dictionary <string, string> tags = null)
 {
     _tracer       = tracer;
     OperationName = operationName;
     TypedContext  = context;
     Started       = started;
     SpanKind      = kind;
     LocalEndpoint = localEndpoint ?? _tracer.LocalEndpoint;
     _tags         = tags;
 }
Exemple #2
0
 public ZipkinMessageHandler(IZipkinTracer client, HttpMessageHandler innerHandler)
     : base(innerHandler)
 {
     _client = client;
 }
Exemple #3
0
 public SpanBuilder(IZipkinTracer tracer, string operationName)
 {
     _tracer        = tracer;
     _operationName = operationName;
 }
Exemple #4
0
 public ZipkinMessageHandler(IZipkinTracer client)
     : this(client, new HttpClientHandler())
 {
 }