Ejemplo n.º 1
0
 public Span(TraceHeader traceHeader, IPEndPoint endpoint, ICollection <Annotation> annotations, ICollection <BinaryAnnotation> binaryAnnotations, string serviceName, string name)
 {
     TraceHeader       = traceHeader;
     ServiceName       = serviceName ?? "Unknown";
     Name              = name ?? "Unknown";
     Annotations       = annotations;
     BinaryAnnotations = binaryAnnotations;
     Endpoint          = endpoint;
 }
Ejemplo n.º 2
0
 public Span(TraceHeader traceHeader, IPEndPoint endpoint, string serviceName = null, string name = null)
 {
     TraceHeader       = traceHeader;
     ServiceName       = serviceName ?? "Unknown";
     Name              = name ?? "Unknown";
     Annotations       = new List <Annotation>();
     BinaryAnnotations = new List <BinaryAnnotation>();
     Endpoint          = endpoint;
 }
Ejemplo n.º 3
0
 public Span(TraceHeader traceHeader, string serviceName = null)
     : this(traceHeader, new IPEndPoint(0, 0), serviceName)
 {
 }