Skip to content

DeprecationWarning raised when using sentry_sdk.trace #4289

Description

@bruceduhamel

How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.26.0

Steps to Reproduce

Since upgrading sentry-sdk[fastapi] to 2.26.0 I am seeing deprecation warnings for code that uses the sentry_sdk.trace decorator.

DeprecationWarning: The `same_process_as_parent` parameter is deprecated.

This warning appears to be related to configuring spans with the same_process_as_parent argument, but I am not using that function directly.

The previous version, 2.25.0 does not emit this warning.

Expected Result

No deprecation warning should be emitted, since as far as I can tell, sentry_sdk.trace is not marked deprecated.

Actual Result

DeprecationWarning: The `same_process_as_parent` parameter is deprecated.

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions