Skip to content

Minimal implementation is unclear on context propagation #183

@tsloughter

Description

@tsloughter

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec:contextRelated to the specification/context directory

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions