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

feat(solidstart): Filter out low quality transactions for build assets #13222

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

andreiborza
Copy link
Member

Before:
CleanShot 2024-08-04 at 18 52 38@2x

After:
CleanShot 2024-08-04 at 19 24 20@2x

@andreiborza andreiborza added the Package: solidstart Issues related to the Sentry SolidStart SDK label Aug 5, 2024
Copy link
Member

@s1gr1d s1gr1d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, great tests

return event;
}
// Filter out transactions for build assets
if (event.transaction?.match(/^GET \/_build\//)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for this PR but something to keep in mind in general: is it possible in solidstart to change the name of the build directory?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's generally possible to change, but vinxi has problems at build time when the build folder isn't named _build. I think for now this won't change but we can revisit this if it ever does.

Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the oddly satisfying screenshots!

Also good point from @s1gr1d to maybe make the build asset directory dynamic

@andreiborza andreiborza merged commit bedc385 into develop Aug 5, 2024
124 checks passed
@andreiborza andreiborza deleted the ab/solidstart-filter-build-assets branch August 5, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: solidstart Issues related to the Sentry SolidStart SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants