Title: Support Sentry Lambda Extension with container image-based Lambda functions · Issue #20114 · getsentry/sentry-javascript · GitHub
Open Graph Title: Support Sentry Lambda Extension with container image-based Lambda functions · Issue #20114 · getsentry/sentry-javascript
X Title: Support Sentry Lambda Extension with container image-based Lambda functions · Issue #20114 · getsentry/sentry-javascript
Description: Problem Statement The Sentry Lambda Extension (#17525) tunnels events through a local proxy, solving event delivery issues during Lambda freezes. However, it's only usable via the Lambda Layer ARN, which cannot be attached to container i...
Open Graph Description: Problem Statement The Sentry Lambda Extension (#17525) tunnels events through a local proxy, solving event delivery issues during Lambda freezes. However, it's only usable via the Lambda Layer ARN,...
X Description: Problem Statement The Sentry Lambda Extension (#17525) tunnels events through a local proxy, solving event delivery issues during Lambda freezes. However, it's only usable via the Lambda Layer ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/20114
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support Sentry Lambda Extension with container image-based Lambda functions","articleBody":"### Problem Statement\n\nThe Sentry Lambda Extension (#17525) tunnels events through a local proxy, solving event delivery issues during Lambda freezes. However, it's only usable via the Lambda Layer ARN, which cannot be attached to container image-based Lambda functions.\n\nWe run a SvelteKit app on AWS Lambda using Lambda Web Adapter with a container image. The `wrapHandler` + `flush()` pattern doesn't apply since Lambda Web Adapter bypasses the handler. The extension would solve our event delivery reliability.\n\nThe only workarounds are vendoring the extension files from the layer zip into the Docker image or extracting them at build time via AWS CLI — both are fragile.\n\n### Solution Brainstorm\n\n- Publish the extension as a standalone Docker image (like `public.ecr.aws/awsguru/aws-lambda-adapter`) for use with `COPY --from=` in Dockerfiles\n- Publish as an npm package installable and copyable to `/opt/extensions/`\n- Document the recommended approach for container image Lambdas, including how to use `tunnel: 'http://localhost:9000/envelope'` with `@sentry/sveltekit` or `@sentry/node`\n\n### Additional Context\n\n- `@sentry/aws-serverless` init.ts gates the extension behind `sdkSource === 'aws-lambda-layer'`, which doesn't pass when using the SDK via npm\n- Container image Lambdas are common for web frameworks using Lambda Web Adapter (SvelteKit, Next.js, Remix)","author":{"url":"https://github.com/Hoffs","@type":"Person","name":"Hoffs"},"datePublished":"2026-04-07T11:15:57Z","url":"https://github.com/getsentry/sentry-javascript/issues/20114"}
| 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:7eb5bd2d-df90-7756-6107-0e827bbc6d17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8702:B3B7B:4108001:569396E:6B0402C0 |
| html-safe-nonce | 22d3a890817060f0e633975b1c5d74f26f7602729bd0cf8770eec6211358431c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzAyOkIzQjdCOjQxMDgwMDE6NTY5Mzk2RTo2QjA0MDJDMCIsInZpc2l0b3JfaWQiOiI3MjYyOTE1OTYyNzc5OTkyNzY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 170a5ffba5fdfa453271b4143c3e11c27d1cab6bd2b5dfdce214d7a773c46c5f |
| hovercard-subject-tag | issue:4217278470 |
| 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/20114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac207adec63a8a12f96d1a3a35abb02ea7e18edd544af355e08784b21f383b31/getsentry/sentry-javascript/issues/20114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac207adec63a8a12f96d1a3a35abb02ea7e18edd544af355e08784b21f383b31/getsentry/sentry-javascript/issues/20114 |
| og:image:alt | Problem Statement The Sentry Lambda Extension (#17525) tunnels events through a local proxy, solving event delivery issues during Lambda freezes. However, it's only usable via the Lambda Layer ARN,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Hoffs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| 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