Skip to content

Consider using Context as the unique way to specify parenthood #510

Closed
@carlosalberto

Description

At this moment, CorrelationContext and Span instances being created can explicitly specify their parent:

spanBuilder.setParent(anotherSpan);
spanBuilder.setParent(someSpanContext);

As part of OTEP 66, we could remove these and have a single one specifying Context:

// Decide the parent of whatever it is in the specified context.
spanBuilder.setParent(context);

Metadata

Assignees

Labels

area:apiCross language API specification issuepriority:p1Highest priority levelrelease:required-for-gaMust be resolved before GA release, or nice to have before GAspec:baggageRelated to the specification/baggage directoryspec:contextRelated to the specification/context directoryspec:traceRelated to the specification/trace directory

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions