Closed as not planned
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.92.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
- Init sentry SDK with limited info
- Call startSpan()
- Call startSpan() again within the first span's callback
- Within the nested child span, call setTag()
Expected Result
Until now, since a scope wouldn't be created, the setTag would simply apply to the global scope and all events/traces would have those tags
Actual Result
Tags only apply to the child span, since the scope was auto-forked, so the tags were added to the child scope
Relevant change should be this PR - #9955
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner