-
Notifications
You must be signed in to change notification settings - Fork 571
Description
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.22.0
Steps to Reproduce
The issue seems very similar to this issue solved previously. I am using apache/mod_wsgi which logs internally which functions the threads are running when a crash occurs (like a timeout).
The issue is when inspect the logs, the functions names are the wrapper functions by the Sentry DjangoIntegration and not the original function in my code.
Expected Result
The function name when traced by external libs (like mod_wsgi here) should show the function name handling the Django function view of the route.
Maybe functools.wraps can be used for this purpose like for some other integrations ?
Actual Result
Currently the showed function name is the sentry wrapper names like _before_get_response, sentry_patched_get_response, _set_transaction_name_and_source, sentry_patched_wsgi_handler etc.
Metadata
Metadata
Assignees
Labels
Projects
Status
