Open
Description
openedon Nov 13, 2024
Description
In our Vue SDK, there are two ways how users can set the component tracking-relevant options:
Sentry.init({
// dsn...
trackComponents: true,
timeout: 1000,
hooks: ['init', 'mount', 'update']
})
Or
Sentry.init({
// dsn...
tracingOptions: {
trackComponents: true,
timeout: 1000,
hooks: ['init', 'mount', 'update']
}
})
As pre-work to #5907 we want to deprecate one of the ambiguous options. It is part of this task to figure out which one to remove or whether to go for an entirely different API. There is the idea to move the option into the vueIntegration.
- Update docs (Instruct to use the recommended way of using Vue component tracking sentry-docs#11917)
- Deprecate older variants (feat(vue): Deprecate configuring Vue tracing options anywhere else other than through the
vueIntegration
'stracingOptions
option #14385) - Implement migration path for nuxt (feat(nuxt): Expose
vueIntegration
#14526) - Update docs for nuxt (Streamline nuxt component tracking sentry-docs#11993)
- Deprecate older variants for nuxt (feat(nuxt): Deprecate
tracingOptions
in favor ofvueIntegration
#14530)
Activity