public SpanContextPackage(string traceId, string spanId, bool sampled, Baggage baggage, SpanReferenceCollection references = null) { TraceId = traceId; SpanId = spanId; Sampled = sampled; Baggage = baggage; References = references; }
public SpanBuilder(string operationName) { _operationName = operationName ?? throw new ArgumentNullException(nameof(operationName)); _baggage = new Baggage(); _spanReferences = new SpanReferenceCollection(); }