Skip to content
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(vercel-edge): Add fetch instrumentation #9504

Merged
merged 22 commits into from
Nov 17, 2023
Merged

Conversation

lforst
Copy link
Member

@lforst lforst commented Nov 9, 2023

Adds a WinterCGFetch integration to be used in only the vercel-edge package for now. It instruments fetch on WinterCG runtimes. We can later hoist it into a more generic package.

Disclaimer: This currently doesn't work on Vercel for unknown reasons. It works on local Next.js.

Resolves #6804

@lforst lforst changed the base branch from develop to lforst-hoist-fetch-instrumentation-to-core November 9, 2023 10:35
Copy link
Contributor

github-actions bot commented Nov 9, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.53 KB (+0.06% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.67 KB (+0.05% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB (+0.11% 🔺)
@sentry/browser - Webpack (gzipped) 21.32 KB (+0.08% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.99 KB (+0.04% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB (+0.09% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB (+0.09% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.53 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB (+0.07% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB (+0.07% 🔺)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB (+0.12% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.84 KB (-0.01% 🔽)
@sentry/react - Webpack (gzipped) 21.36 KB (+0.08% 🔺)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.58 KB (+0.03% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 48.15 KB (+0.05% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 16.08 KB (0%)

@lforst lforst changed the base branch from lforst-hoist-fetch-instrumentation-to-core to develop November 15, 2023 10:21
@lforst lforst changed the base branch from develop to lforst-hoist-fetch-instrumentation-to-core November 15, 2023 10:22
Base automatically changed from lforst-hoist-fetch-instrumentation-to-core to develop November 17, 2023 13:16
@lforst lforst marked this pull request as ready for review November 17, 2023 13:17
@lforst lforst requested review from mydea and Lms24 November 17, 2023 13:17
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@lforst lforst merged commit ff416ae into develop Nov 17, 2023
87 checks passed
@lforst lforst deleted the lforst-edge-fetch branch November 17, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Next.js Edge Runtime fetch tracing
2 participants