Skip to content

Deprecate spanId on PropagationContext #14255

Description

Description

As per #12385 we have determined that spanId on the propagationContext is problematic and we want to replace it with other mechanisms.

This is architecturally solved by decoupling the performance part of the SDK from the propagation context. The Propagation context was not designed to feed data to the performance part of the SDK. The propagation context was desinged as part of "tracing without performance". Performance data may feed into the propagation context but not the other way around. When we have non-performance events (ie Errors, Replays, Metrics, whatever), they should first look at current performance context (ie active span) and only as a fallback look at the propagation context. If a span ID is required for a payload and no active span is available, a random span ID should be generated instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions