René's URL Explorer Experiment


Title: feat(browser): Add option to sample linked traces consistently by Lms24 · Pull Request #16037 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(browser): Add option to sample linked traces consistently by Lms24 · Pull Request #16037 · getsentry/sentry-javascript

X Title: feat(browser): Add option to sample linked traces consistently by Lms24 · Pull Request #16037 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: This PR implements consistent sampling across traces as outlined in #15754. For a detailed write up see the issue. Concrete changes: Add consistentTraceSampling option Emit beforeSampling hook bef...

X Description: This PR implements consistent sampling across traces as outlined in #15754. For a detailed write up see the issue. Concrete changes: Add consistentTraceSampling option Emit beforeSampling hook bef...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/16037

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b9af2457-33d4-5e49-2ddf-006f8b44af64
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE3B6:39B4E5:1D7E638:269F052:6B041136
html-safe-nonce54a32b4796760d6b24126125aec25d16141a0cee4d953c913c766c442f10fd67
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0I2OjM5QjRFNToxRDdFNjM4OjI2OUYwNTI6NkIwNDExMzYiLCJ2aXNpdG9yX2lkIjoiMjgxNjUyOTAxODIxMjg4NzU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac464b03afb81b7ad4eba8a22bc1760a0800e71f75a7be1dd09dc7184e2c68d37f
hovercard-subject-tagpull_request:2453834209
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/16037/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/491c2cc51393b46b91fef7c4dacf16839ce62dd71886d34191316ec2f5e7e922/getsentry/sentry-javascript/pull/16037
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/491c2cc51393b46b91fef7c4dacf16839ce62dd71886d34191316ec2f5e7e922/getsentry/sentry-javascript/pull/16037
og:image:altThis PR implements consistent sampling across traces as outlined in #15754. For a detailed write up see the issue. Concrete changes: Add consistentTraceSampling option Emit beforeSampling hook bef...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/16037#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16037
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16037
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16037
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16037
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16037
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests56 (56)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/feat-browser-sample-previous-tracehttps://github.com/getsentry/sentry-javascript/tree/lms/feat-browser-sample-previous-trace
Conversationhttps://github.com/getsentry/sentry-javascript/pull/16037
Commits9 (9)https://github.com/getsentry/sentry-javascript/pull/16037/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/16037/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/16037/files
feat(browser): Add option to sample linked traces consistentlyhttps://github.com/getsentry/sentry-javascript/pull/16037#top
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/feat-browser-sample-previous-tracehttps://github.com/getsentry/sentry-javascript/tree/lms/feat-browser-sample-previous-trace
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 11, 2025https://github.com/getsentry/sentry-javascript/pull/16037#issue-2988671886
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
#15754https://github.com/getsentry/sentry-javascript/issues/15754
#15754https://github.com/getsentry/sentry-javascript/issues/15754
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/d9201afe989ad3e7875e8a34132366be7972be05..05e5a43650ea6e0a898712f30d4486f16da11a37
d9201afhttps://github.com/getsentry/sentry-javascript/commit/d9201afe989ad3e7875e8a34132366be7972be05
05e5a43https://github.com/getsentry/sentry-javascript/commit/05e5a43650ea6e0a898712f30d4486f16da11a37
Compare https://github.com/getsentry/sentry-javascript/compare/d9201afe989ad3e7875e8a34132366be7972be05..05e5a43650ea6e0a898712f30d4486f16da11a37
April 11, 2025 15:28https://github.com/getsentry/sentry-javascript/pull/16037#event-17225776211
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 11, 2025https://github.com/getsentry/sentry-javascript/pull/16037#event-17225777691
https://github.com/Lms24
Lms24https://github.com/Lms24
Copilothttps://github.com/apps/copilot-pull-request-reviewer
April 11, 2025 15:28https://github.com/getsentry/sentry-javascript/pull/16037#event-17225778302
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 11, 2025 https://github.com/getsentry/sentry-javascript/pull/16037#pullrequestreview-2760711983
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16037/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/getsentry/sentry-javascript/pull/16037#pullrequestreview-2760711983
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
packages/core/src/tracing/dynamicSamplingContext.tshttps://github.com/getsentry/sentry-javascript/pull/16037/files#diff-39414e16f26b2ba48d1a8f423dd75801fbc66b14169b783b04191e2a52f9dd32
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 11, 2025https://github.com/getsentry/sentry-javascript/pull/16037#issuecomment-2797253314
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/14833145049
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/4b39b4a2d44bdf5a0fb0d5c12a97f5c0190ecf8e..6a87ebe5e23ebafc224e430264aaaf3d10d19331
4b39b4ahttps://github.com/getsentry/sentry-javascript/commit/4b39b4a2d44bdf5a0fb0d5c12a97f5c0190ecf8e
6a87ebehttps://github.com/getsentry/sentry-javascript/commit/6a87ebe5e23ebafc224e430264aaaf3d10d19331
Compare https://github.com/getsentry/sentry-javascript/compare/4b39b4a2d44bdf5a0fb0d5c12a97f5c0190ecf8e..6a87ebe5e23ebafc224e430264aaaf3d10d19331
April 30, 2025 16:15https://github.com/getsentry/sentry-javascript/pull/16037#event-17476145231
Lms24https://github.com/Lms24
April 30, 2025 18:32https://github.com/getsentry/sentry-javascript/pull/16037#commits-pushed-7154f69
https://github.com/Lms24
feat(browser): Add option to sample linked traces consistentlyhttps://github.com/getsentry/sentry-javascript/pull/16037/commits/7154f69db20a39f3db337d5d5262ee15172856bc
7154f69https://github.com/getsentry/sentry-javascript/pull/16037/commits/7154f69db20a39f3db337d5d5262ee15172856bc
https://github.com/Lms24
add integration testshttps://github.com/getsentry/sentry-javascript/pull/16037/commits/fdb6cddcafa3cc11f4b6ad11cec6fa1afaa406fc
fdb6cddhttps://github.com/getsentry/sentry-javascript/pull/16037/commits/fdb6cddcafa3cc11f4b6ad11cec6fa1afaa406fc
https://github.com/Lms24
https://github.com/apps/copilot-pull-request-reviewer
Update packages/core/src/tracing/dynamicSamplingContext.tshttps://github.com/getsentry/sentry-javascript/pull/16037/commits/677cbb97f7b0aec3d48d796d477eea6c6e8d5e72
677cbb9https://github.com/getsentry/sentry-javascript/pull/16037/commits/677cbb97f7b0aec3d48d796d477eea6c6e8d5e72
https://github.com/Lms24
fix meta tag precedence, add more tests, move some files and code aroundhttps://github.com/getsentry/sentry-javascript/pull/16037/commits/f06a051b2370f28e5b3d05d9fb2cbbfc7d210f64
f06a051https://github.com/getsentry/sentry-javascript/pull/16037/commits/f06a051b2370f28e5b3d05d9fb2cbbfc7d210f64
https://github.com/Lms24
fix lint and size-limithttps://github.com/getsentry/sentry-javascript/pull/16037/commits/45b7e758e5361a71742a11ba64720c92539410bf
45b7e75https://github.com/getsentry/sentry-javascript/pull/16037/commits/45b7e758e5361a71742a11ba64720c92539410bf
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/6a87ebe5e23ebafc224e430264aaaf3d10d19331..45b7e758e5361a71742a11ba64720c92539410bf
6a87ebehttps://github.com/getsentry/sentry-javascript/commit/6a87ebe5e23ebafc224e430264aaaf3d10d19331
45b7e75https://github.com/getsentry/sentry-javascript/commit/45b7e758e5361a71742a11ba64720c92539410bf
Compare https://github.com/getsentry/sentry-javascript/compare/6a87ebe5e23ebafc224e430264aaaf3d10d19331..45b7e758e5361a71742a11ba64720c92539410bf
April 30, 2025 16:32https://github.com/getsentry/sentry-javascript/pull/16037#event-17476455626
https://github.com/Lms24
Lms24https://github.com/Lms24
April 30, 2025 16:32https://github.com/getsentry/sentry-javascript/pull/16037#event-17476457923
https://github.com/Lms24
Lms24https://github.com/Lms24
mydeahttps://github.com/mydea
s1gr1dhttps://github.com/s1gr1d
April 30, 2025 16:33https://github.com/getsentry/sentry-javascript/pull/16037#event-17476461058
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 30, 2025 https://github.com/getsentry/sentry-javascript/pull/16037#ref-issue-2935229383
Add option to sample linked traces consistently #15754 https://github.com/getsentry/sentry-javascript/issues/15754
Lms24https://github.com/Lms24
April 30, 2025 18:42https://github.com/getsentry/sentry-javascript/pull/16037#commits-pushed-9aae9b8
https://github.com/Lms24
finally fix lint??https://github.com/getsentry/sentry-javascript/pull/16037/commits/9aae9b805f22f9d0f15260582f69b698328b5f4f
9aae9b8https://github.com/getsentry/sentry-javascript/pull/16037/commits/9aae9b805f22f9d0f15260582f69b698328b5f4f
https://github.com/Lms24
size limit once more :(https://github.com/getsentry/sentry-javascript/pull/16037/commits/02f7e7e0f70c8736e0bcbe70ede853fb94fcb4e3
02f7e7ehttps://github.com/getsentry/sentry-javascript/pull/16037/commits/02f7e7e0f70c8736e0bcbe70ede853fb94fcb4e3
https://github.com/Lms24
fix test flakinesshttps://github.com/getsentry/sentry-javascript/pull/16037/commits/9a81cd06452861610baef2cbb7b5e92655c6c988
9a81cd0https://github.com/getsentry/sentry-javascript/pull/16037/commits/9a81cd06452861610baef2cbb7b5e92655c6c988
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
May 5, 2025 https://github.com/getsentry/sentry-javascript/pull/16037#pullrequestreview-2814235940
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16037/files/9a81cd06452861610baef2cbb7b5e92655c6c988
packages/browser/src/tracing/linkedTraces.tshttps://github.com/getsentry/sentry-javascript/pull/16037/files/9a81cd06452861610baef2cbb7b5e92655c6c988#diff-b2cab1ca288f9a2afbd1e3a0f1056a7404546ff7a8a1dc7f08a0eb04327ea029
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
packages/browser/src/tracing/linkedTraces.tshttps://github.com/getsentry/sentry-javascript/pull/16037/files/9a81cd06452861610baef2cbb7b5e92655c6c988#diff-b2cab1ca288f9a2afbd1e3a0f1056a7404546ff7a8a1dc7f08a0eb04327ea029
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16037
https://github.com/Lms24
swap linkTraces arguments, adjust commenthttps://github.com/getsentry/sentry-javascript/pull/16037/commits/d5bab06fcd8cdcc6482c33fe33e73a240f900d64
d5bab06https://github.com/getsentry/sentry-javascript/pull/16037/commits/d5bab06fcd8cdcc6482c33fe33e73a240f900d64
https://github.com/Lms24
Lms24https://github.com/Lms24
May 5, 2025 12:17https://github.com/getsentry/sentry-javascript/pull/16037#event-17518374852
https://github.com/Lms24
Lms24https://github.com/Lms24
1e0894chttps://github.com/getsentry/sentry-javascript/commit/1e0894cb695632e4caa3c49831c039a1b94edcda
May 5, 2025https://github.com/getsentry/sentry-javascript/pull/16037#event-17518771638
https://github.com/Lms24
Lms24https://github.com/Lms24
May 5, 2025 12:44https://github.com/getsentry/sentry-javascript/pull/16037#event-17518771909
aviator-apphttps://github.com/apps/aviator-app
May 30, 2025 https://github.com/getsentry/sentry-javascript/pull/16037#ref-commit-0cb81b2
https://github.com/marketplace/mergequeue
https://github.com/snyk-bot
[Snyk] Upgrade @sentry/browser from 9.10.0 to 9.17.0 (https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
#386https://github.com/reisene/HulajDusza-serwis/pull/386
)https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
0cb81b2https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
https://badgen.net/badge/icon/reisene/green?label=https://badgen.net/badge/icon/reisene/green?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)