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.
Problem Statement
The
sentry_sdk.tracedecorator takes no arguments (besides the function being decorated). This means that the user cannot specify custom arguments to thestart_spanthat thetracedecorator internally calls.Solution Brainstorm
Add an
*argsand/or a**kwargsparameter to thetracedecorator. If the user passes anything, these parameters would be forwarded to thestart_spancall.