-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Meta: Help WantedPackage: vueIssues related to the Sentry Vue SDKIssues related to the Sentry Vue SDK
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/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/vue
SDK Version
7.14.2
Framework Version
Vue 3
Link to Sentry event
No response
Steps to Reproduce
- Create Vue 3 app with a few components
- In
main.ts:
import { createApp } from "vue";
import * as Sentry from "@sentry/vue";
import { BrowserTracing } from "@sentry/tracing";
import App from "./App.vue";
import router from "./router";
import { ENVIRONMENT, VERSION } from "./info";
const app = createApp(App);
Sentry.init({
app,
dsn: "https://[email protected]/6391918",
integrations: [
new BrowserTracing({
routingInstrumentation: Sentry.vueRouterInstrumentation(router),
tracingOrigins: ["localhost", /^\//],
}),
],
tracesSampleRate: 1.0,
trackComponents: true,
debug: true,
});
app.use(router);
app.mount("#app");Expected Result
According 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.
Actual Result
ui.vue.render is not added to the ongoing transaction in a Vue 3 app
To do:
- Verify that this span shows up in Vue 2 apps
- It works but also Vue2 has issues because of Dangerous
consttovarrollup plugin #5925
- It works but also Vue2 has issues because of Dangerous
- Find a fix
Metadata
Metadata
Assignees
Labels
Meta: Help WantedPackage: vueIssues related to the Sentry Vue SDKIssues related to the Sentry Vue SDK