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
{{ message }}
Repository navigation
Commit 00a32b4
Browse filesBrowse the repository at this point in the historyBrowse files
fix(v10/browser): Skip profiling for unsampled active root spans (#25502)
Backport of: #25498
## Differences to the original PR
- `packages/browser/test/profiling/integration.test.ts`: the two new
tests use v10's existing `import * as Sentry from '@sentry/browser'`
style (`Sentry.init`, `Sentry.addIntegration`, etc.) instead of named
imports from `../../src/index`. That import block conflicted because
v10's test file still uses the namespace import.
- Same file: the unsampled-pageload test uses `Sentry.spanToJSON`
instead of `spanToStaticSpanJSON`, because `spanToStaticSpanJSON`
doesn't exist on v10.
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
0 commit comments