Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Feb 28, 2023

Following up on #7222 and #7298 this PR fixes adding custom tags for GCP Background and CloudEvent function error events. As for Http functions, we also previously captured errors just via domain.on('error',...) which used the wrong domain, leading to tags (+other data) not being captured correctly. With this fix, we now also directly capture exceptions during function invocation.

ref #7222

@Lms24 Lms24 added the Package: serverless Issues related to the Sentry Serverless SDK label Feb 28, 2023
@Lms24 Lms24 requested a review from lforst February 28, 2023 16:06
@Lms24 Lms24 self-assigned this Feb 28, 2023
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.11 KB (-0.02% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 62.49 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.74 KB (-0.01% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 55.5 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.48 KB (0%)
@sentry/browser - Webpack (minified) 66.94 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.51 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 48.04 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 27.04 KB (-0.01% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.29 KB (-0.01% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 42.86 KB (-0.01% 🔽)
@sentry/replay - Webpack (gzipped + minified) 36.94 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.45 KB (-0.01% 🔽)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 53.99 KB (0%)

@Lms24 Lms24 merged commit 64a1b09 into develop Feb 28, 2023
@Lms24 Lms24 deleted the lms/fix-serverless-custom-tags-on-event-driven-functions branch February 28, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Package: serverless Issues related to the Sentry Serverless SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants