sentry-python
sentry-python copied to clipboard
`trace` decorator arguments
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.