Open jcchavezs opened 6 years ago
Most of the tracer implementations only support child_of reference type.
child_of
When implementing the startSpan method we need to iterate over all references in order to find the child_of reference.
startSpan
Having a SpanOptions::getParent encapsulating this method would be very useful.
SpanOptions::getParent
Ping @tedsuo @felixfbecker @beberlei @lvht @yurishkuro
can it be a private helper method instead? Making it part of SpanOptions extends the API surface.
Background
Most of the tracer implementations only support
child_of
reference type.Problem
When implementing the
startSpan
method we need to iterate over all references in order to find thechild_of
reference.Proposal
Having a
SpanOptions::getParent
encapsulating this method would be very useful.Ping @tedsuo @felixfbecker @beberlei @lvht @yurishkuro