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
8.35.0
Framework Version
plain JS
Link to Sentry event
No response
Reproduction Example/SDK Setup
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
- Copy this init script into a JS project
- Open page, open dev tools
- perform an interaction
- go to another tab
- 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