Skip to content

SDK sends INP spans if enabled: false #14082

Closed

Description

@Lms24

Is there an existing issue for this?

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://[email protected]/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

  1. self-assigned this
    on Oct 28, 2024
  2. added a commit that references this issue on Oct 28, 2024
    cc30c14
  3. github-actions commented on Oct 31, 2024

    @github-actions
    Contributor

    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.

  4. ghost added on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions