Title: Auto-instrument user interactions as transactions · Issue #5750 · getsentry/sentry-javascript · GitHub
Open Graph Title: Auto-instrument user interactions as transactions · Issue #5750 · getsentry/sentry-javascript
X Title: Auto-instrument user interactions as transactions · Issue #5750 · getsentry/sentry-javascript
Description: Problem Statement This helps address issues like #3169, and fix issues like #4072. It would be a great feature if we could auto-instrument user interactions as transactions. This needs to work similarily to what we did for Android and iO...
Open Graph Description: Problem Statement This helps address issues like #3169, and fix issues like #4072. It would be a great feature if we could auto-instrument user interactions as transactions. This needs to work simi...
X Description: Problem Statement This helps address issues like #3169, and fix issues like #4072. It would be a great feature if we could auto-instrument user interactions as transactions. This needs to work simi...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5750
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto-instrument user interactions as transactions","articleBody":"### Problem Statement\r\n\r\nThis helps address issues like https://github.com/getsentry/sentry-javascript/issues/3169, and fix issues like https://github.com/getsentry/sentry-javascript/issues/4072.\r\n\r\nIt would be a great feature if we could auto-instrument user interactions as transactions. This needs to work similarily to what we did for [Android](https://docs.sentry.io/platforms/android/performance/instrumentation/automatic-instrumentation/) and [iOS](https://docs.sentry.io/platforms/apple/guides/ios/performance/instrumentation/automatic-instrumentation/#user-interaction-tracing) already.\r\n\r\nThe main interaction to capture is probably clicks, we can explore more after that!\r\n\r\nIn addition, this will help with stuff like supporting INP - as we can more carefully track user interactions as a performance metric.\r\n\r\n### Solution Brainstorm\r\n\r\nOn click, create a `ui.action` transaction. This can be tagged with information about the [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event).\r\n\r\nThis will need to be opt-in, as it could potentially spike user's quota.\r\n\r\nWhat we've done in Sentry: https://github.com/getsentry/sentry/blob/d415fe75b82141e45fbeddae84d62fc42a7cb9de/static/app/utils/performanceForSentry.tsx#L46","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2022-09-15T15:13:48Z","url":"https://github.com/getsentry/sentry-javascript/issues/5750"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fb84445f-ec16-75f7-297d-9f73bd695941 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF08:75E8D:5D11BC:7D9BA4:6B043FE2 |
| html-safe-nonce | 62abc55e9bf5437147c8fe853a5aed7937f0adc782b627369300c1c512510699 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjA4Ojc1RThEOjVEMTFCQzo3RDlCQTQ6NkIwNDNGRTIiLCJ2aXNpdG9yX2lkIjoiMjM5Mzc5MzIyNTI4NzgxMTA0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8accb35b6fd95add2fd4086d4315ecfaf6b13055359e105458196428b9274995 |
| hovercard-subject-tag | issue:1374690875 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5750/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9fc4ae7b19a3b786b3a2d61e7e0b44bfcb59182548139e48475640d58d4259a2/getsentry/sentry-javascript/issues/5750 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fc4ae7b19a3b786b3a2d61e7e0b44bfcb59182548139e48475640d58d4259a2/getsentry/sentry-javascript/issues/5750 |
| og:image:alt | Problem Statement This helps address issues like #3169, and fix issues like #4072. It would be a great feature if we could auto-instrument user interactions as transactions. This needs to work simi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width