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)...
Contains: * https://github.com/getsentry/sentry-python/pull/3159 * https://github.com/getsentry/sentry-python/pull/3223 * https://github.com/getsentry/sentry-python/pull/3446 * https://github.com/getsentry/sentry-python/pull/3242 * https://github.com/getsentry/sentry-python/pull/3286 * https://github.com/getsentry/sentry-python/pull/3297 * https://github.com/getsentry/sentry-python/pull/3379 * https://github.com/getsentry/sentry-python/pull/3389 * https://github.com/getsentry/sentry-python/pull/3431 * https://github.com/getsentry/sentry-python/pull/3432 * https://github.com/getsentry/sentry-python/pull/3437 * https://github.com/getsentry/sentry-python/pull/3436 * https://github.com/getsentry/sentry-python/pull/3442 * https://github.com/getsentry/sentry-python/pull/3441 *...
* 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 = [...