Open
Description
Description
Currently @sentry/profiling-node
stores the profile_id
on the isolated context:
This means the profile cannot be found if there are multiple versions of @sentry/core
in the dependencies.
Instead can we store the profile_id
on the span? There's already a property for this:
Then the integration wouldn't rely on updating any scope. In the beforeEnvelope
hook we just go through the spans until we find a profile_id
?