Skip to content

[TwP] Fallback to propagation context if span is None #2201

@cleptric

Description

@cleptric

https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/scope.py#L608-L612

Instead of checking for has_tracing_enabled, I suggest we only check for an existing span on the scope, with a fallback on using the Propagation Context.

PHP for inspiration https://github.com/getsentry/sentry-php/blob/master/src/State/Scope.php#L382-L398

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Waiting for: Product Owner

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions