I'm starting on the Erlang version of the API and minimal implementation and I find it unclear what exactly it should and shouldn't be doing.
On Gitter Tigran explained that it is not the same as the noop tracer because it is expected to do context propagation. And the spec makes clear it should not return a null span but a valid non-null span object.
What isn't clear is does having context propagation and non-null spans imply that a startSpan will create a new child span id as the current context? Or is it expected that the same context as was started with will be what is propagated? If the latter, what about when there is no parent span, then a new span id and trace id must be created?
I'm starting on the Erlang version of the API and minimal implementation and I find it unclear what exactly it should and shouldn't be doing.
On Gitter Tigran explained that it is not the same as the noop tracer because it is expected to do context propagation. And the spec makes clear it should not return a null span but a valid non-null span object.
What isn't clear is does having context propagation and non-null spans imply that a
startSpanwill create a new child span id as the current context? Or is it expected that the same context as was started with will be what is propagated? If the latter, what about when there is no parent span, then a new span id and trace id must be created?