Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Ambiguous Vue component tracking options #14265

Closed
5 tasks done
lforst opened this issue Nov 13, 2024 · 1 comment
Closed
5 tasks done

Deprecate Ambiguous Vue component tracking options #14265

lforst opened this issue Nov 13, 2024 · 1 comment
Assignees
Labels
Package: vue Issues related to the Sentry Vue SDK
Milestone

Comments

@lforst
Copy link
Member

lforst commented 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.

@lforst
Copy link
Member Author

lforst commented Nov 25, 2024

@s1gr1d would you mind taking over this task for nuxt?

@lforst lforst assigned s1gr1d and unassigned s1gr1d Nov 25, 2024
@lforst lforst closed this as completed Dec 2, 2024
andreiborza added a commit that referenced this issue Dec 30, 2024
…r than through the `vueIntegration`'s `tracingOptions` option (#14856)

Deprecation PR:
#14265

Closes: #5907

---------

Co-authored-by: Sigrid Huemer <32902192+s1gr1d@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: vue Issues related to the Sentry Vue SDK
Projects
None yet
Development

No branches or pull requests

3 participants