You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thestart_span
that thetrace
decorator internally calls.Solution Brainstorm
Add an
*args
and/or a**kwargs
parameter to thetrace
decorator. If the user passes anything, these parameters would be forwarded to thestart_span
call.The text was updated successfully, but these errors were encountered: