sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Transactions from rest_framework.routers seem to be missing

Open sl0thentr0py opened this issue 8 months ago • 2 comments

How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.3.1

Steps to Reproduce

from discord

from rest_framework import routers
...
router.register(r"current-user", user_views.CurrentUserViewSet, basename="current-user")
urlpatterns = [
    path("admin/", admin.site.urls),
    path("", include(router.urls)), # THIS ENDPOINTS DOESNT WORK FOR PROFILING
    path("o/", include("oauth2_provider.urls", namespace="oauth2_provider")),
    path("accounts/", include("app.user.urls")), # THIS ENDPOINT WORK FOR PROFILING
]

Expected Result

transactions and profiles are visible

Actual Result

they're not visible (or probably grouped under a different generic route if transaction name resolving is not working)

sl0thentr0py avatar May 31 '24 15:05 sl0thentr0py