You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(web): enable Sentry node and browser profiling
Adds @sentry/profiling-node and wires up profiling on both the server
(nodeProfilingIntegration) and the browser (browserProfilingIntegration).
Both use profileLifecycle: 'trace', so a profiler only runs while a sampled
root span is active rather than continuously.
Browser profiling additionally requires the document to opt into the JS
Self-Profiling API, so a `Document-Policy: js-profiling` response header is
added alongside the existing security headers.
@sentry/profiling-node is pinned to ^10.40.0 to match @sentry/nextjs. It
depends on @sentry/core and @sentry/node at exact versions, so a newer minor
would pull a second copy of the SDK into the tree and the profiler would
register against a different global.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments