-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(node): Add ignoreStaticAssets
#17370
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is cool! 🚀
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this so quickly!
(fwiw, I noticed this in a private SvelteKit app as well over the weekend, where I used httpIntegration
. Glad we fixed this on a fundamental level!)
Adds a new option
ignoreStaticAssets
to the nodehttpIntegration
which is true by default.It ignores tracing requests on the server to assets like favicon.ico etc.
closes https://linear.app/getsentry/issue/JS-842/nextjs-sdk-creates-httpserver-traces-for-resource-requests