René's URL Explorer Experiment


Title: @sentry/serverless adds ~300ms to function duration · Issue #3051 · getsentry/sentry-javascript · GitHub

Open Graph Title: @sentry/serverless adds ~300ms to function duration · Issue #3051 · getsentry/sentry-javascript

X Title: @sentry/serverless adds ~300ms to function duration · Issue #3051 · 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 Provide a link to the aff...

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/sentry-javas...

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/sentry-javas...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/3051

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@sentry/serverless adds ~300ms to function duration","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [x] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n    \"@sentry/node\": \"^5.27.4\",\r\n    \"@sentry/serverless\": \"^5.27.4\",\r\n\r\n## Description\r\n\r\nI've noticed that the response time of my functions is slow, added tracing, and noticed that at the end of every invocation my lambda sends POST request to sentry. Here you can see a trace:\r\n![image](https://user-images.githubusercontent.com/7671659/99144298-64d67880-266d-11eb-8995-51e8c840c925.png)\r\n\r\nIt's okay to increase response time for requests with error, but if there is no error, I expect that response would be sent immediately. There is minimal code that I've tested:\r\n\r\n```js\r\nimport * as Sentry from '@sentry/serverless';\r\n\r\nSentry.AWSLambda.init({\r\n  dsn: process.env.SENTRY_DSN,\r\n  tracesSampleRate: 1.0\r\n});\r\n\r\nexport const handler = Sentry.AWSLambda.wrapHandler(\r\n  (event, context, callback) => {\r\n    context.callbackWaitsForEmptyEventLoop = false;\r\n\r\n    callback(null, { statusCode: 200 });\r\n  },\r\n  { callbackWaitsForEmptyEventLoop: false, flushTimeout: 2000 }\r\n);\r\n```","author":{"url":"https://github.com/kostia-official","@type":"Person","name":"kostia-official"},"datePublished":"2020-11-14T09:40:18Z","url":"https://github.com/getsentry/sentry-javascript/issues/3051"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5c5e7325-503e-4309-f9a7-cacb24346c23
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id91A6:760A7:42330FC:5876746:6B040F98
html-safe-noncebfcca6270d44aca0a653a47c1e2122e1dea5d7ca74f0cf54d0ca2344695f701d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUE2Ojc2MEE3OjQyMzMwRkM6NTg3Njc0Njo2QjA0MEY5OCIsInZpc2l0b3JfaWQiOiI2ODY1NTUzODY0OTU2MDU1NDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac15a9daa18341d9c33c4f52aae223c9ba200bea43393a2ca96486aac6ed65784e
hovercard-subject-tagissue:742969666
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/3051/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4a2f612f8400eab91e05c9abe8c26a4283bf06d7c3f6fa445d64e5039e5899c9/getsentry/sentry-javascript/issues/3051
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a2f612f8400eab91e05c9abe8c26a4283bf06d7c3f6fa445d64e5039e5899c9/getsentry/sentry-javascript/issues/3051
og:image:altReview 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-javas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekostia-official
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/3051#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F3051
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F3051
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3051
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3051
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3051
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests56 (56)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3051
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3051
@sentry/serverless adds ~300ms to function durationhttps://github.com/getsentry/sentry-javascript/issues/3051#top
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
https://github.com/kostia-official
kostia-officialhttps://github.com/kostia-official
on Nov 14, 2020https://github.com/getsentry/sentry-javascript/issues/3051#issue-742969666
https://docs.sentry.io/https://docs.sentry.io/
https://github.com/getsentry/sentry-javascript/issueshttps://github.com/getsentry/sentry-javascript/issues
https://github.com/getsentry/sentry-javascript/releaseshttps://github.com/getsentry/sentry-javascript/releases
https://user-images.githubusercontent.com/7671659/99144298-64d67880-266d-11eb-8995-51e8c840c925.png
Nexthttps://github.com/getsentry/sentry-javascript/issues/3051?timeline_page=1
kostia-officialhttps://github.com/kostia-official
Status: Needs Triagehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on Nov 14, 2020https://github.com/getsentry/sentry-javascript/issues/3051#event-3996268847
https://github.com/kostia-official
kostia-officialhttps://github.com/kostia-official
on Nov 14, 2020https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-727176030
https://aws.amazon.com/blogs/compute/introducing-aws-lambda-extensions-in-preview/https://aws.amazon.com/blogs/compute/introducing-aws-lambda-extensions-in-preview/
https://github.com/kostia-official
kostia-officialhttps://github.com/kostia-official
on Nov 14, 2020https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-727179425
kostia-officialhttps://github.com/kostia-official
on Nov 14, 2020https://github.com/getsentry/sentry-javascript/issues/3051#event-3996285677
rodolfoBeehttps://github.com/rodolfoBee
Status: Needs Reproductionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Reproduction%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
Status: Needs Triagehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on Nov 17, 2020https://github.com/getsentry/sentry-javascript/issues/3051#event-4004011706
https://github.com/p0wl
p0wlhttps://github.com/p0wl
on Dec 1, 2020https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-736693341
#3051https://github.com/getsentry/sentry-javascript/issues/3051
#3049https://github.com/getsentry/sentry-javascript/issues/3049
#2984https://github.com/getsentry/sentry-javascript/issues/2984
https://github.com/marshall-lee
marshall-leehttps://github.com/marshall-lee
on Dec 8, 2020https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-740822501
https://github.com/marshall-lee
marshall-leehttps://github.com/marshall-lee
on Dec 8, 2020https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-740828910
https://github.com/boyney123
boyney123https://github.com/boyney123
on Feb 7, 2021https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-774676884
aws.amazon.com/blogs/compute/introducing-aws-lambda-extensions-in-previewhttps://aws.amazon.com/blogs/compute/introducing-aws-lambda-extensions-in-preview/
https://github.com/TomBeckett
TomBecketthttps://github.com/TomBeckett
on Mar 1, 2021https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-787905891
https://github.com/KennyDurand
KennyDurandhttps://github.com/KennyDurand
on Mar 16, 2021https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-800436311
AbhiPrasadhttps://github.com/AbhiPrasad
Package: serverlesshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20serverless%22
on Sep 30, 2021https://github.com/getsentry/sentry-javascript/issues/3051#event-5389030255
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Oct 21, 2021https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-948872426
https://github.com/spaceemotion
spaceemotionhttps://github.com/spaceemotion
on Aug 26, 2023https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-1694499555
https://github.com/microadam
microadamhttps://github.com/microadam
on Feb 8, 2024https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-1934550675
https://github.com/microadam
microadamhttps://github.com/microadam
on Mar 21, 2024https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-2012577228
https://github.com/microadam/sentry-lambda-extensionhttps://github.com/microadam/sentry-lambda-extension
https://github.com/Lms24
Lms24https://github.com/Lms24
on Sep 3, 2024https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-2326803171
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
on Sep 3, 2024https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-2327570695
@Lms24https://github.com/Lms24
#12856https://github.com/getsentry/sentry-javascript/issues/12856
msonnbhttps://github.com/msonnb
on Sep 8, 2025https://github.com/getsentry/sentry-javascript/issues/3051#event-19558119798
feat(aws): Add experimental AWS Lambda extension for tunnelling events (https://github.com/getsentry/sentry-javascript/commit/e7beae66473c2972438c999c8f1f77aad1d100e3
e7beae6https://github.com/getsentry/sentry-javascript/commit/e7beae66473c2972438c999c8f1f77aad1d100e3
https://github.com/msonnb
msonnbhttps://github.com/msonnb
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3273997546
https://docs.sentry.io/platforms/javascript/guides/aws-lambda/install/layer/#1-add-the-sentry-lambda-layerhttps://docs.sentry.io/platforms/javascript/guides/aws-lambda/install/layer/#1-add-the-sentry-lambda-layer
https://github.com/p0wl
p0wlhttps://github.com/p0wl
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3274204870
https://github.com/msonnb
msonnbhttps://github.com/msonnb
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3274252372
https://github.com/spaceemotion
spaceemotionhttps://github.com/spaceemotion
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3274443097
https://github.com/msonnb
msonnbhttps://github.com/msonnb
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3274532443
https://github.com/spaceemotion
spaceemotionhttps://github.com/spaceemotion
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3274964363
https://github.com/msonnb
msonnbhttps://github.com/msonnb
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3275013746
https://github.com/spaceemotion
spaceemotionhttps://github.com/spaceemotion
on Sep 10, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3275229042
https://github.com/msonnb
msonnbhttps://github.com/msonnb
on Sep 11, 2025https://github.com/getsentry/sentry-javascript/issues/3051#issuecomment-3278279175
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/3051
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3051
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.