Skip to content

fix(v9/node): Assign default export of openai to the instrumented fn #17353

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

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

andreiborza
Copy link
Member

Both of:

  • import OpenAI from openai
  • import { OpenAI } fromopenai

Should point to the instrumented wrapper function.

Backport of #17320.

Both of:
- import OpenAI from `openai`
- import { OpenAI } from`openai`

Should point to the instrumented wrapper function.

Backport of #17320.
Copy link
Contributor

github-actions bot commented Aug 8, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.79 kB - -
@sentry/browser - with treeshaking flags 22.36 kB - -
@sentry/browser (incl. Tracing) 39.66 kB - -
@sentry/browser (incl. Tracing, Replay) 77.77 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.56 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 82.47 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 94.56 kB - -
@sentry/browser (incl. Feedback) 40.48 kB - -
@sentry/browser (incl. sendFeedback) 28.48 kB - -
@sentry/browser (incl. FeedbackAsync) 33.37 kB - -
@sentry/react 25.55 kB - -
@sentry/react (incl. Tracing) 41.62 kB - -
@sentry/vue 28.24 kB - -
@sentry/vue (incl. Tracing) 41.45 kB - -
@sentry/svelte 23.81 kB - -
CDN Bundle 25.18 kB - -
CDN Bundle (incl. Tracing) 39.42 kB - -
CDN Bundle (incl. Tracing, Replay) 75.39 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 80.87 kB - -
CDN Bundle - uncompressed 73.45 kB - -
CDN Bundle (incl. Tracing) - uncompressed 116.86 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 231.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 243.83 kB - -
@sentry/nextjs (client) 43.66 kB - -
@sentry/sveltekit (client) 40.08 kB - -
@sentry/node 169.2 kB +0.02% +22 B 🔺
@sentry/node - without tracing 100.31 kB -0.01% -1 B 🔽
@sentry/aws-serverless 128.47 kB -0.01% -1 B 🔽

View base workflow run

@andreiborza andreiborza merged commit e9f1da4 into v9 Aug 8, 2025
120 checks passed
@andreiborza andreiborza deleted the ab/backport-openai-export-fix branch August 8, 2025 08:35
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.

2 participants