Skip to content

Enable frontend Sentry span streaming and profiling#266

Merged
spalmurray merged 4 commits into
mainfrom
nd/chore-frontend-migrate-frontend-to-span-streaming
Jul 3, 2026
Merged

Enable frontend Sentry span streaming and profiling#266
spalmurray merged 4 commits into
mainfrom
nd/chore-frontend-migrate-frontend-to-span-streaming

Conversation

@nsdeschenes

@nsdeschenes nsdeschenes commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump @sentry/react to 10.63.0 so the frontend has the span streaming APIs.
  • Enable Sentry.spanStreamingIntegration() in the production browser Sentry init.
  • Enable browser profiling with Sentry.browserProfilingIntegration() and trace-lifecycle profiling.

Checks

  • pnpm run build
  • pnpm run lint
  • pnpm test
  • uv run pre-commit run --all-files

@nsdeschenes nsdeschenes marked this pull request as ready for review July 3, 2026 10:05
@nsdeschenes nsdeschenes requested a review from a team as a code owner July 3, 2026 10:05
@nsdeschenes nsdeschenes changed the title Enable frontend Sentry span streaming Enable frontend Sentry span streaming and profiling Jul 3, 2026
Comment thread frontend/src/main.tsx
…iling

Sentry browser profiling relies on the browser JS Self-Profiling API,
which is gated behind the Document-Policy: js-profiling response header
on the document. Without it window.Profiler is never exposed and the
newly enabled browserProfilingIntegration silently collects no data.
@spalmurray spalmurray merged commit 53edb13 into main Jul 3, 2026
31 checks passed
@spalmurray spalmurray deleted the nd/chore-frontend-migrate-frontend-to-span-streaming branch July 3, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants