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; }
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; }
public Span(TraceHeader traceHeader, string serviceName = null) : this(traceHeader, new IPEndPoint(0, 0), serviceName) { }