Beispiel #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;
 }
Beispiel #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;
 }