sentry-javascript
sentry-javascript copied to clipboard
fix(tracing): add system prompt, model to google genai
Related to https://github.com/getsentry/testing-ai-sdk-integrations/pull/10
Fix JS-1218
size-limit report 📦
| Path | Size | % Change | Change |
|---|---|---|---|
| @sentry/browser | 24.81 kB | - | - |
| @sentry/browser - with treeshaking flags | 23.3 kB | - | - |
| @sentry/browser (incl. Tracing) | 41.55 kB | - | - |
| @sentry/browser (incl. Tracing, Profiling) | 46.14 kB | - | - |
| @sentry/browser (incl. Tracing, Replay) | 79.97 kB | - | - |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.7 kB | - | - |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.64 kB | - | - |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96.89 kB | - | - |
| @sentry/browser (incl. Feedback) | 41.52 kB | - | - |
| @sentry/browser (incl. sendFeedback) | 29.49 kB | - | - |
| @sentry/browser (incl. FeedbackAsync) | 34.48 kB | - | - |
| @sentry/react | 26.52 kB | - | - |
| @sentry/react (incl. Tracing) | 43.75 kB | - | - |
| @sentry/vue | 29.27 kB | - | - |
| @sentry/vue (incl. Tracing) | 43.36 kB | - | - |
| @sentry/svelte | 24.82 kB | - | - |
| CDN Bundle | 27.24 kB | - | - |
| CDN Bundle (incl. Tracing) | 42.23 kB | - | - |
| CDN Bundle (incl. Tracing, Replay) | 78.75 kB | - | - |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 84.21 kB | - | - |
| CDN Bundle - uncompressed | 80.04 kB | - | - |
| CDN Bundle (incl. Tracing) - uncompressed | 125.39 kB | - | - |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 241.42 kB | - | - |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 254.18 kB | - | - |
| @sentry/nextjs (client) | 45.97 kB | - | - |
| @sentry/sveltekit (client) | 41.92 kB | - | - |
| @sentry/node-core | 51.5 kB | - | - |
| @sentry/node | 159.95 kB | +0.08% | +124 B 🔺 |
| @sentry/node - without tracing | 92.91 kB | - | - |
| @sentry/aws-serverless | 108.44 kB | - | - |
node-overhead report 🧳
Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
| Scenario | Requests/s | % of Baseline | Prev. Requests/s | Change % |
|---|---|---|---|---|
| GET Baseline | 8,746 | - | 8,679 | +1% |
| GET With Sentry | 1,691 | 19% | 1,681 | +1% |
| GET With Sentry (error only) | 6,023 | 69% | 6,043 | -0% |
| POST Baseline | 1,193 | - | 1,203 | -1% |
| POST With Sentry | 586 | 49% | 581 | +1% |
| POST With Sentry (error only) | 1,064 | 89% | 1,052 | +1% |
| MYSQL Baseline | 3,340 | - | 3,297 | +1% |
| MYSQL With Sentry | 477 | 14% | 426 | +12% |
| MYSQL With Sentry (error only) | 2,695 | 81% | 2,665 | +1% |