feat(metrics): Add top level option enableMetrics and beforeSendMetric (#18088)
This PR moves enableMetrics and beforeSendMetric out of the _experiments options.
The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics via enableMetrics: false.
Metric options within _experiments got deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
SENTRY_LAYER_EXTENSION to configure using the lambda layer extension via env variables (#18101)background-image when blockAllMedia is enabled (#18019)| Path | Size |
|---|---|
| @sentry/browser | 24.02 KB |
| @sentry/browser - with treeshaking flags | 22.54 KB |
| @sentry/browser (incl. Tracing) | 40.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.43 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.42 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.3 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 28.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.39 KB |
| @sentry/react | 25.68 KB |
| @sentry/react (incl. Tracing) | 42.2 KB |
| @sentry/vue | 28.39 KB |
| @sentry/vue (incl. Tracing) | 41.99 KB |
| @sentry/svelte | 24.03 KB |
| CDN Bundle | 26.26 KB |
| CDN Bundle (incl. Tracing) | 40.79 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.81 KB |
| CDN Bundle - uncompressed | 77 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.06 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.83 KB |
| @sentry/nextjs (client) | 44.25 KB |
| @sentry/sveltekit (client) | 40.63 KB |
| @sentry/node-core | 49.57 KB |
| @sentry/node | 154.12 KB |
| @sentry/node - without tracing | 90.46 KB |
| @sentry/aws-serverless | 103.91 KB |
Fetched March 31, 2026