getsentry / sentry-python

The official Python SDK for Sentry.io
https://sentry.io/for/python/
MIT License
1.86k stars 483 forks source link

Transactions from rest_framework.routers seem to be missing #3116

Open sl0thentr0py opened 3 months ago

sl0thentr0py commented 3 months ago

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)

quememo commented 2 months ago

Any update on this?

sentrivana commented 2 months ago

Not yet @quememo, sorry!