Title: Serverless [AWS Lambda] increases bundle size enormously · Issue #3049 · getsentry/sentry-javascript · GitHub
Open Graph Title: Serverless [AWS Lambda] increases bundle size enormously · Issue #3049 · getsentry/sentry-javascript
X Title: Serverless [AWS Lambda] increases bundle size enormously · Issue #3049 · getsentry/sentry-javascript
Description: [/] Review the documentation: https://docs.sentry.io/ [/] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [/] Use the latest release: https://github.com/getsentry/sentry-javascript/releases Package + Ver...
Open Graph Description: [/] Review the documentation: https://docs.sentry.io/ [/] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [/] Use the latest release: https://github.com/getsentry/...
X Description: [/] Review the documentation: https://docs.sentry.io/ [/] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [/] Use the latest release: https://github.com/getsentry/...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/3049
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Serverless [AWS Lambda] increases bundle size enormously","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [/] Review the documentation: https://docs.sentry.io/\r\n- [/] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [/] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n\r\n## Package + Version\r\n\r\n- [ ] `@sentry/browser`\r\n- [ ] `@sentry/node`\r\n- [ ] `raven-js`\r\n- [ ] `raven-node` _(raven for node)_\r\n- [/] other:@sentry/serverless\r\n\r\n### Version:\r\n\r\n```\r\n5.27.3\r\n```\r\n\r\n## Description\r\n\r\nI've been attempting to keep my NodeJS Lambdas very slim, to improve runtime and cold startup time. My average lambda is around 1.8kb.\r\n\r\nHowever, as soon as I implement sentry-serverless each lambda jumps up to about 350kb. This is simply following the instructions as per the documentation, and then running through webpack.\r\n\r\nI've tried different variations such as requiring the AWSLambda export only, but this makes almost no difference.\r\nThe result of this is making sentry-serverless near-unusable for lambdas which require high performance and high concurrency.\r\n\r\nHas anyone else come across this, or have any suggestions?\r\n","author":{"url":"https://github.com/taijuten","@type":"Person","name":"taijuten"},"datePublished":"2020-11-12T08:24:30Z","url":"https://github.com/getsentry/sentry-javascript/issues/3049"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e19ddcc2-f98f-9402-1fba-ee742c2a6663 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD50:3DD82D:24697:3115B:6B042A0F |
| html-safe-nonce | 9582b139c21cabe32223c308fb81483a7cafc10573301c1b7e95f73713fd7cd3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDUwOjNERDgyRDoyNDY5NzozMTE1Qjo2QjA0MkEwRiIsInZpc2l0b3JfaWQiOiI0MjkwNzM4MTQ1NTU3MzI0OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b8051a389dc74700832517d6c4eae9dbeee67606c19ac1847be764fcb8872199 |
| hovercard-subject-tag | issue:741388157 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/3049/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6f00bd11a8ad324bf0ea077e2f42be2a36ba746f88445f016be62188ba6b9c28/getsentry/sentry-javascript/issues/3049 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f00bd11a8ad324bf0ea077e2f42be2a36ba746f88445f016be62188ba6b9c28/getsentry/sentry-javascript/issues/3049 |
| og:image:alt | [/] Review the documentation: https://docs.sentry.io/ [/] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues [/] Use the latest release: https://github.com/getsentry/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | taijuten |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width