### Is there an existing issue for this? - [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues - [x] I have reviewed the documentation https://docs.sentry.io/ - [x] 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 8.35.0 ### Framework Version plain JS ### Link to Sentry event _No response_ ### Reproduction Example/SDK Setup ```ts Sentry.init({ dsn: "https://33f3f99d7064495b95ccacfb9225bbbf@o447951.ingest.us.sentry.io/4504689757257728", integrations: [ Sentry.browserTracingIntegration(), Sentry.replayIntegration({ blockAllMedia: false, }), ], enabled: false, environment: "desktop", tracesSampleRate: 1.0, tracePropagationTargets: ["localhost"], replaysSessionSampleRate: 0, replaysOnErrorSampleRate: 1, }); ``` ### Steps to Reproduce 1. Copy this init script into a JS project 2. Open page, open dev tools 3. perform an interaction 4. go to another tab 5. observe outgoing fetch request to Sentry with INP span envelope ### Expected Result Nothing at all is sent to Sentry if `enabled: false` is set. ### Actual Result INP span envelope is sent to Sentry despite `enabled: false`
Activity
Lms24 commentedon Oct 28, 2024
Reported initially in Discord: https://discord.com/channels/621778831602221064/1293123836669067295/1299387360525680680
fix(core): Ensure standalone spans are not sent if SDK is disabled (#…
github-actions commentedon Oct 31, 2024
A PR closing this issue has just been released 🚀
This issue was referenced by PR #14088, which was included in the 8.36.0 release.