Title: Sentry fails to track Vue components and produces "deadline_exceeded" transactions · Issue #5693 · getsentry/sentry-javascript · GitHub
Open Graph Title: Sentry fails to track Vue components and produces "deadline_exceeded" transactions · Issue #5693 · getsentry/sentry-javascript
X Title: Sentry fails to track Vue components and produces "deadline_exceeded" transactions · Issue #5693 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5693
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sentry fails to track Vue components and produces \"deadline_exceeded\" transactions","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which package are you using?\r\n\r\n@sentry/vue\r\n\r\n### SDK Version\r\n\r\n7.12.1\r\n\r\n### Framework Version\r\n\r\nVue 2.7.10\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\nThe repository of a website where this happens is https://github.com/filips123/GimVicUrnik, and the website code is in the `website` directory. The commit which updated Sentry SDK to 7.8.1 is https://github.com/filips123/GimVicUrnik/commit/e9c16eab8efb257ff0a4360199c165dee7587c07. I use a custom `vueRouterInstrumentation` function so transactions are named in a different style than default instrumentation, but the same problem happens even on default instrumentation.\r\n\r\nAll screenshots and transactions provided below are from the development Vue build, but the problem also happens in a production version.\r\n\r\nInstructions for running the projects are in the repo but may be a bit complicated. I can try to create a new repository with easier reproduction steps if needed.\r\n\r\n### Expected Result\r\n\r\n1. Sentry correctly tracks Vue components and ends the transaction shortly after the site finished loading.\r\n\r\n Screenshot of a working transaction (Sentry 6.17.9):\r\n \r\n\r\n Link to the transaction: https://sentry.io/organizations/filips/performance/test-vue:a993ea1348174e78aec08500c6fcc77c\r\n\r\n---\r\n\r\n2. Sentry correctly tracks components and ends the transaction even on transactions with navigations/redirects.\r\n\r\n Screenshot of a working transaction (Sentry 6.3.5):\r\n \r\n\r\n Link to the transaction: https://sentry.io/organizations/filips/performance/test-vue:672077d580f0495f9030717680401e3e\r\n\r\n\r\n### Actual Result\r\n\r\n1. Sentry only tracks \"ui.vue - Application Renderer\" (but not actual components) which never ends, causing the transaction to be canceled after ~15s with the status \"deadline_exceeded\".\r\n\r\n This started to happen after the update to Sentry SDK 7.0.0.\r\n\r\n Screenshot of an incorrect transaction (Sentry 7.12.1):\r\n \r\n\r\n Link to the transaction: https://sentry.io/organizations/filips/performance/test-vue:4063bce05108426c8e25531c702c2953\r\n\r\n---\r\n\r\n2. On transactions with redirection, some component updates are taking forever, causing the transaction to be canceled with \"deadline_exceeded\".\r\n\r\n This started to happen even before Sentry SDK 7.0.0, but I'm not sure when. It was fine in 6.3.5.\r\n\r\n Screenshot of an incorrect transaction (Sentry 6.17.9):\r\n \r\n \r\n\r\n Link to the transaction: https://sentry.io/organizations/filips/performance/test-vue:9d82327c31e2428c8a4c4d2076e6ee4f\r\n\r\n \r\n\r\n On newer Sentry SDK versions, the problem is a bit different. Sentry tracks nothing except \"pageload\" and \"ui.vue\", but still cancels transaction with \"deadline_exceeded\".\r\n\r\n Screenshot of an incorrect transaction (Sentry 7.12.1):\r\n \r\n\r\n Link to the transaction: https://sentry.io/organizations/filips/performance/test-vue:0fe82c5e71654a679dcb2380f74bee53\r\n","author":{"url":"https://github.com/filips123","@type":"Person","name":"filips123"},"datePublished":"2022-09-04T11:38:19Z","url":"https://github.com/getsentry/sentry-javascript/issues/5693"}
| 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:b9315b90-18e7-d011-0e3f-fca2290fafdd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B664:319373:757DA2:A4EE8B:6B044F13 |
| html-safe-nonce | ef137b70319c710dd7b6cb39888fd5816c6d7dcd5629b4cb3e92ac9abc0d663b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjY0OjMxOTM3Mzo3NTdEQTI6QTRFRThCOjZCMDQ0RjEzIiwidmlzaXRvcl9pZCI6Ijc1NjYxMTQyNjk4OTM1MTI5NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 94220af3c3a75d7dbed12b92cb619d8f867256f8f402a6d95cf68b027939d5a5 |
| hovercard-subject-tag | issue:1361122225 |
| 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/5693/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d48ac4a0b034cd40782a364cca88d74a942ee4e25f210c354deeaa24679c7814/getsentry/sentry-javascript/issues/5693 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d48ac4a0b034cd40782a364cca88d74a942ee4e25f210c354deeaa24679c7814/getsentry/sentry-javascript/issues/5693 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | filips123 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| 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