René's URL Explorer Experiment


Title: feat(tracing): Track PerformanceObserver interactions as spans by 0Calories · Pull Request #7331 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(tracing): Track PerformanceObserver interactions as spans by 0Calories · Pull Request #7331 · getsentry/sentry-javascript

X Title: feat(tracing): Track PerformanceObserver interactions as spans by 0Calories · Pull Request #7331 · getsentry/sentry-javascript

Description: Summary We hypothesize that there is a 1:1 mapping of PerformanceObserver Interactions -> Interaction Transactions. This PR will allow us to confirm whether this hypothesis is true, so we can decide our next steps for refining interaction transactions. To elaborate, we're unsure whether interaction transactions that have no child spans are worth keeping or not, and there are a lot of transactions like this in prod. Enhances the existing interaction transactions by adding the ability to track interaction events exposed by the PerformanceObserver API. Note that this is still hidden under an experimental flag along with interaction transactions. For now, we are only tracking click interactions, but we can expand this functionality later as needed. Example:

Open Graph Description: Summary We hypothesize that there is a 1:1 mapping of PerformanceObserver Interactions -> Interaction Transactions. This PR will allow us to confirm whether this hypothesis is true, so we can de...

X Description: Summary We hypothesize that there is a 1:1 mapping of PerformanceObserver Interactions -> Interaction Transactions. This PR will allow us to confirm whether this hypothesis is true, so we ca...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5b390a0a-a6e8-0d9f-3620-8fa2edcf639f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id825C:25853D:635E63:836960:6B04C478
html-safe-nonce48c6af1983de1a23662288b6a80c2e33a419c0d79deddb9f9d680f858f1e86c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjVDOjI1ODUzRDo2MzVFNjM6ODM2OTYwOjZCMDRDNDc4IiwidmlzaXRvcl9pZCI6IjcxNTcyMDkzMTAwMjI2NDg5NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac09c80463abf3b437c84258eb9833523aab823326588620cd1bdf5675b26bbb23
hovercard-subject-tagpull_request:1262782055
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/7331/files
twitter:imagehttps://avatars.githubusercontent.com/u/16740047?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/16740047?s=400&v=4
og:image:altSummary We hypothesize that there is a 1:1 mapping of PerformanceObserver Interactions -> Interaction Transactions. This PR will allow us to confirm whether this hypothesis is true, so we can de...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/7331/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7331%2Ffiles
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%2F7331%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7331/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7331/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7331/files
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests51 (51)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
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
feat/po-interaction-spanshttps://github.com/getsentry/sentry-javascript/tree/feat/po-interaction-spans
Conversation 12 https://github.com/getsentry/sentry-javascript/pull/7331
Commits 12 https://github.com/getsentry/sentry-javascript/pull/7331/commits
Checks 0 https://github.com/getsentry/sentry-javascript/pull/7331/checks
Files changed https://github.com/getsentry/sentry-javascript/pull/7331/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7331/files
feat(tracing): Track PerformanceObserver interactions as spans https://github.com/getsentry/sentry-javascript/pull/7331/files#top
Show all changes 12 commits https://github.com/getsentry/sentry-javascript/pull/7331/files
9f58116 feat(tracing): Track PerformanceObserver interactions as spans Mar 3, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/9f58116f7197a27b0217788995ba89100fcd3dac
deb0c4e Track interactions only if experimental flag is enabled Mar 3, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/deb0c4e7b6e8d0fd5dfc8c0d06d8628d93857ed3
e076c68 Add missing target property on PerformanceEventTiming Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/e076c6838cd3a92ec664286c0849bbf7c358eeff
075f228 Update test to consider interaction spans in the transaction Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/075f2283da5639e934dac02a6147a0395f01f6ca
fff6f80 Add new test to confirm one txn per interaction Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/fff6f8071bd28fa50eb63c3711bf12359c2a2853
f187f55 Check for length on spans property instead of defined Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/f187f55a0d33a7e527fb6cc075648753834f97bb
b69008e Try adding artificial delay on button Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/b69008e62ebfc7bf6c6c3e8aa3cfd51dade1174c
ed5f8e2 Revert delay change Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/ed5f8e29f0372c9c1cfacf06db8806a705a6d008
c512eff Try durationThreshold 0 Mar 6, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/c512effb181ceb5aa63c18d7e94766d4354d52a6
9cd9b4a Fix test flakiness Mar 8, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/9cd9b4a2415e7fbe592577290c5219a280f97a30
90fe2bb Fix second test timing problem Mar 8, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/90fe2bb625884f247b753dac41b99a6cfbd81e04
a8a8910 add await call for test AbhiPrasad Mar 9, 2023 https://github.com/getsentry/sentry-javascript/pull/7331/commits/a8a8910a8b28791bc39b9528adf7b48905e7fb0f
Clear filters https://github.com/getsentry/sentry-javascript/pull/7331/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7331/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7331/files
script.js https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-36ab5c63c1c0abc64204dfb2dfdf52b8e9afcf71de323c66c9778b25fc537513
init.js https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-c82cfc000210fd769df523849fbf059cf9a4476327825917989984b522876dc3
template.html https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-d95f53a05a85285102dc753771d5d228eb4abae9ee1f6110858d6355a7ac00da
test.ts https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-28b488e83f0726350811ee45de10beb70d0c1a39907888077b36d07c518c26a3
browsertracing.ts https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-a0f3079170ec43a340940bd805f992c5dbb03440c0defd0f9888c0a527e58cc9
index.ts https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-fa6ad17b9fe7cfcdf6f7ed76dd841d944709b7bc4abab6499db60a52d35b6681
types.ts https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-5f0f47e85eae6a9e06f93f8206ab23d2419047b8a9a99c956e80c7802d55f269
packages/integration-tests/suites/tracing/browsertracing/interactions/assets/script.jshttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-36ab5c63c1c0abc64204dfb2dfdf52b8e9afcf71de323c66c9778b25fc537513
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/integration-tests/suites/tracing/browsertracing/interactions/assets/script.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
packages/integration-tests/suites/tracing/browsertracing/interactions/init.jshttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-c82cfc000210fd769df523849fbf059cf9a4476327825917989984b522876dc3
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/integration-tests/suites/tracing/browsertracing/interactions/init.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-c82cfc000210fd769df523849fbf059cf9a4476327825917989984b522876dc3
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-c82cfc000210fd769df523849fbf059cf9a4476327825917989984b522876dc3
packages/integration-tests/suites/tracing/browsertracing/interactions/template.htmlhttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-d95f53a05a85285102dc753771d5d228eb4abae9ee1f6110858d6355a7ac00da
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/integration-tests/suites/tracing/browsertracing/interactions/template.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-d95f53a05a85285102dc753771d5d228eb4abae9ee1f6110858d6355a7ac00da
packages/integration-tests/suites/tracing/browsertracing/interactions/test.tshttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-28b488e83f0726350811ee45de10beb70d0c1a39907888077b36d07c518c26a3
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/integration-tests/suites/tracing/browsertracing/interactions/test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
packages/tracing/src/browser/browsertracing.tshttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-a0f3079170ec43a340940bd805f992c5dbb03440c0defd0f9888c0a527e58cc9
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/tracing/src/browser/browsertracing.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-a0f3079170ec43a340940bd805f992c5dbb03440c0defd0f9888c0a527e58cc9
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-a0f3079170ec43a340940bd805f992c5dbb03440c0defd0f9888c0a527e58cc9
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-a0f3079170ec43a340940bd805f992c5dbb03440c0defd0f9888c0a527e58cc9
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-a0f3079170ec43a340940bd805f992c5dbb03440c0defd0f9888c0a527e58cc9
packages/tracing/src/browser/metrics/index.tshttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-fa6ad17b9fe7cfcdf6f7ed76dd841d944709b7bc4abab6499db60a52d35b6681
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/tracing/src/browser/metrics/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-fa6ad17b9fe7cfcdf6f7ed76dd841d944709b7bc4abab6499db60a52d35b6681
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-fa6ad17b9fe7cfcdf6f7ed76dd841d944709b7bc4abab6499db60a52d35b6681
packages/tracing/src/browser/web-vitals/types.tshttps://github.com/getsentry/sentry-javascript/pull/7331/files#diff-5f0f47e85eae6a9e06f93f8206ab23d2419047b8a9a99c956e80c7802d55f269
View file https://github.com/getsentry/sentry-javascript/blob/a8a8910a8b28791bc39b9528adf7b48905e7fb0f/packages/tracing/src/browser/web-vitals/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/7331/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-5f0f47e85eae6a9e06f93f8206ab23d2419047b8a9a99c956e80c7802d55f269
https://github.com/getsentry/sentry-javascript/pull/7331/files#diff-5f0f47e85eae6a9e06f93f8206ab23d2419047b8a9a99c956e80c7802d55f269
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.