-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(serverless): Do not include performance integrations by default #11998
Conversation
In order to keep bundle size compact, performance integrations (except for http & fetch) have to be manually added for serverless packages.
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.
Good change, thx!
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.
l/suggestion: We could add a sentence to the init
function to remind users to initialize additional (database) integrations? (just an idea; we could also wait until we updated docs accordingly and link there)
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.
yeah, we can still tweak this later I'd say! 👍
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
…11998) In order to keep bundle size compact, performance integrations (except for http & fetch) have to be manually added for serverless packages. This means that users will have to do e.g. this if they want to have mysql instrumented: ```js import * as Sentry from '@sentry/aws-serverless'; Sentry.init({ integrations: [Sentry.mysqlIntegration()] }); ``` Closes #11991 --------- Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
In order to keep bundle size compact, performance integrations (except for http & fetch) have to be manually added for serverless packages.
This means that users will have to do e.g. this if they want to have mysql instrumented:
Closes #11991