Skip to content

Add trackResources option to browserTracingIntegration #16194

Closed

Description

@Lms24

Add an option that allows users to opt out of resource.* span creation.

Possible typings:

  • trackResources?: boolean <— preferred
  • trackResources?: (ctx) => boolean
  • trackResources?: {scripts?: boolean, styles?: boolean, images?: boolean, other?: boolean}

Activity

  1. added
    javascriptPull requests that update javascript code
    on May 5, 2025
  2. reopened this on May 5, 2025
  3. reopened this on May 5, 2025
  4. github-actions commented on May 28, 2025

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #16389, which was included in the 9.23.0 release.

  5. linear-code commented on Jul 21, 2026

    @linear-code
  6. mydea commented on Oct 23, 2026

    @mydea
    Member

    This shipped in 9.23.0 via #16389 as the ignoreResourceSpans option on browserTracingIntegration. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions