Title: Vue SDK doesn't create root application loading span in Vue 3 apps · Issue #5910 · getsentry/sentry-javascript · GitHub
Open Graph Title: Vue SDK doesn't create root application loading span in Vue 3 apps · Issue #5910 · getsentry/sentry-javascript
X Title: Vue SDK doesn't create root application loading span in Vue 3 apps · Issue #5910 · 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/5910
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vue SDK doesn't create root application loading span in Vue 3 apps ","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.14.2\r\n\r\n### Framework Version\r\n\r\nVue 3\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\n1. Create Vue 3 app with a few components\r\n2. In `main.ts`:\r\n```js\r\nimport { createApp } from \"vue\";\r\n\r\nimport * as Sentry from \"@sentry/vue\";\r\nimport { BrowserTracing } from \"@sentry/tracing\";\r\n\r\nimport App from \"./App.vue\";\r\nimport router from \"./router\";\r\nimport { ENVIRONMENT, VERSION } from \"./info\";\r\n\r\nconst app = createApp(App);\r\n\r\nSentry.init({\r\n app,\r\n dsn: \"https://853903a578cc439489edbcd712ac0441@o1151230.ingest.sentry.io/6391918\",\r\n integrations: [\r\n new BrowserTracing({\r\n routingInstrumentation: Sentry.vueRouterInstrumentation(router),\r\n tracingOrigins: [\"localhost\", /^\\//],\r\n }),\r\n ],\r\n tracesSampleRate: 1.0,\r\n trackComponents: true,\r\n debug: true,\r\n});\r\n\r\napp.use(router);\r\napp.mount(\"#app\");\r\n```\r\n\r\n### Expected Result\r\n\r\nAccording to docs soon as the SDK is initialized (without any additional component tracking config), the `ui.vue.render` root application loading span should be added to the ongoing pageload transaction.\r\n\r\n### Actual Result\r\n\r\n`ui.vue.render` is not added to the ongoing transaction in a Vue 3 app\r\n\r\n### To do:\r\n\r\n* [x] Verify that this span shows up in Vue 2 apps\r\n * It works but also Vue2 has issues because of #5925 \r\n* [ ] Find a fix","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2022-10-07T12:17:26Z","url":"https://github.com/getsentry/sentry-javascript/issues/5910"}
| 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:4e6b2da3-f948-66fc-0283-6db00356e598 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBA2:1D3CBE:1A7DDA:23596F:6B042FD3 |
| html-safe-nonce | 3cb349481f99863b61967f83cbff64d754ee503eca17be196f2fab525bb9027f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkEyOjFEM0NCRToxQTdEREE6MjM1OTZGOjZCMDQyRkQzIiwidmlzaXRvcl9pZCI6IjQzNTExMDMzNDkyODI4NDQ2MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a4b258d114c23caef0a63b6f0fbef94a018d4b5f1391208dcba921c9715a5536 |
| hovercard-subject-tag | issue:1401084892 |
| 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/5910/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4056ec5e2a9b3a536d26f30c9acae64d34ced6798e3eb527e8cf0347ee9a484/getsentry/sentry-javascript/issues/5910 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4056ec5e2a9b3a536d26f30c9acae64d34ced6798e3eb527e8cf0347ee9a484/getsentry/sentry-javascript/issues/5910 |
| 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 | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| 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