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(nextjs): Mute webpack warnings about critical dependencies inside @opentelemetry/instrumentation #11810

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Apr 26, 2024

Currently, Next.js (Webpack) prints an annoying warning about an import statement that cannot be statically analyzed inside @opentelemetry/instrumentation. This is annoying (but harmless) and spams the logs a lot so we should probably ignore the warning.

More info on the issue in OTEL: open-telemetry/opentelemetry-js#4173

Hopefully this will be fixed in open-telemetry/opentelemetry-js#4660 soon.

Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser 21.64 KB (-0.02% 🔽)
@sentry/browser (incl. Tracing) 32.68 KB (-0.02% 🔽)
@sentry/browser (incl. Tracing, Replay) 68.03 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.43 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 72.07 KB (-0.01% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) 84.28 KB (-0.01% 🔽)
@sentry/browser (incl. Feedback) 37.78 KB (-0.01% 🔽)
@sentry/browser (incl. sendFeedback) 26.43 KB (-0.01% 🔽)
@sentry/browser (incl. FeedbackAsync) 30.93 KB (0%)
@sentry/react 24.33 KB (-0.02% 🔽)
@sentry/react (incl. Tracing) 35.64 KB (-0.02% 🔽)
@sentry/vue 25.47 KB (-0.01% 🔽)
@sentry/vue (incl. Tracing) 34.47 KB (-0.02% 🔽)
@sentry/svelte 21.77 KB (-0.04% 🔽)
CDN Bundle 23.95 KB (-0.01% 🔽)
CDN Bundle (incl. Tracing) 33.98 KB (+0.02% 🔺)
CDN Bundle (incl. Tracing, Replay) 67.67 KB (+0.01% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) 83.55 KB (+0.01% 🔺)
CDN Bundle - uncompressed 70.58 KB (+0.03% 🔺)
CDN Bundle (incl. Tracing) - uncompressed 100.94 KB (+0.02% 🔺)
CDN Bundle (incl. Tracing, Replay) - uncompressed 210.55 KB (+0.01% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 256.94 KB (+0.01% 🔺)
@sentry/nextjs (client) 34.86 KB (0%)
@sentry/sveltekit (client) 33.24 KB (-0.01% 🔽)
@sentry/node 138.47 KB (-0.01% 🔽)

@lforst lforst requested review from mydea, Lms24 and s1gr1d April 26, 2024 12:37
@lforst lforst merged commit 7eef5df into develop Apr 26, 2024
66 checks passed
@lforst lforst deleted the lforst-mute-otel-warning branch April 26, 2024 13:02
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.

3 participants