Neel Shah
Neel Shah
closes #2276
* only acts on `on_end` instead of both `on_start/on_end` as before * store children spans in a dict mapping `span_id -> children` * new dict only stores otel span objects...
@sentrivana moved op/description/status logic to utils, but status mapping will be done separately. Maybe @szokeasaurusrex can look into making this logic as similar to JS as possible, but for now...
* create a new otel context `_SCOPES_KEY` that will hold a tuple of `(curent_scope, isolation_scope)` * the `current_scope` will always be forked (like on every span creation/context update in practice)...
Full state of CI: https://github.com/getsentry/sentry-python/pull/3744 Contains: * https://github.com/getsentry/sentry-python/pull/4523 * https://github.com/getsentry/sentry-python/pull/4460 * https://github.com/getsentry/sentry-python/pull/4447 * https://github.com/getsentry/sentry-python/pull/4439 * https://github.com/getsentry/sentry-python/pull/4440 * https://github.com/getsentry/sentry-python/pull/4420 * https://github.com/getsentry/sentry-python/pull/4376 * https://github.com/getsentry/sentry-python/pull/4368 * https://github.com/getsentry/sentry-python/pull/4360 * https://github.com/getsentry/sentry-python/pull/4334 * https://github.com/getsentry/sentry-python/pull/4356 * https://github.com/getsentry/sentry-python/pull/4355...
* when to release? (needs major probably) * scope management * which variables do we need on the scope/context?
* span processor * propagator
* new tree construction on end if transaction * attribute mapping as before
### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.3.1 ### Steps to Reproduce from discord ```python from rest_framework import routers ... router.register(r"current-user", user_views.CurrentUserViewSet, basename="current-user") urlpatterns = [...