Skip to content

Commit

Permalink
Temporarily disable component tracking
Browse files Browse the repository at this point in the history
This temporarily disables Sentry Vue component tracking until Sentry issues are resolved:

* getsentry/sentry-javascript#13510
* getsentry/sentry-javascript#13546
  • Loading branch information
filips123 committed Sep 1, 2024
1 parent 05840f0 commit 7d348e8
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions website/src/registerSentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,24 @@ export default function registerSentry(app: App, router: Router) {
}

// Track only base components for performance
const trackedComponents = [
'<VApp>',
'<VAppBar>',
'<VMain>',
'<RouterView>',
'<NavigationDesktop>',
'<NavigationMobile>',
'<NavigationDay>',
'<ViewTimetable>',
'<ViewMenu>',
'<ViewCirculars>',
'<ViewSources>',
'<ViewSubscribe>',
'<ViewSettings>',
'<ViewWelcome>',
'<NotFound>',
]
// Disabled temporarily until issues are resolved
// const trackedComponents = [
// '<VApp>',
// '<VAppBar>',
// '<VMain>',
// '<RouterView>',
// '<NavigationDesktop>',
// '<NavigationMobile>',
// '<NavigationDay>',
// '<ViewTimetable>',
// '<ViewMenu>',
// '<ViewCirculars>',
// '<ViewSources>',
// '<ViewSubscribe>',
// '<ViewSettings>',
// '<ViewWelcome>',
// '<NotFound>',
// ]

// Init the Sentry SDK
sentryInit({
Expand All @@ -99,7 +100,7 @@ export default function registerSentry(app: App, router: Router) {
release: releasePrefix + import.meta.env.VITE_VERSION + releaseSuffix,

autoSessionTracking: dataCollectionPerformance,
trackComponents: dataCollectionPerformance ? trackedComponents : false,
trackComponents: false,

integrations,
})
Expand Down

0 comments on commit 7d348e8

Please sign in to comment.