-
Notifications
You must be signed in to change notification settings - Fork 568
Closed
Labels
Component: SDK CoreDealing with the core of the SDKDealing with the core of the SDKImprovementPythonSDKSDKTriagedHas been looked at recently during old issue triageHas been looked at recently during old issue triage
Description
Problem Statement
The sentry_sdk.trace decorator takes no arguments (besides the function being decorated). This means that the user cannot specify custom arguments to the start_span that the trace decorator internally calls.
Solution Brainstorm
Add an *args and/or a **kwargs parameter to the trace decorator. If the user passes anything, these parameters would be forwarded to the start_span call.
mattste
Metadata
Metadata
Assignees
Labels
Component: SDK CoreDealing with the core of the SDKDealing with the core of the SDKImprovementPythonSDKSDKTriagedHas been looked at recently during old issue triageHas been looked at recently during old issue triage