From c993290d13e222feb809bc95b504dbe554f4648d Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 10:15:23 +0100
Subject: [PATCH 001/141] docs(java): Correct shutdownTimeoutMillis unit
(#20683)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
The Java `shutdownTimeoutMillis` docs say the option "controls how many
seconds to wait before shutting down", but the value is in milliseconds
(default `2000`, which is two seconds). A user following the current
text and setting `2` would get a 2 ms timeout.
**Source evidence (sentry-java `8.63.0`):**
[`sentry/src/main/java/io/sentry/SentryOptions.java`](https://github.com/getsentry/sentry-java/blob/8.63.0/sentry/src/main/java/io/sentry/SentryOptions.java)
declares `private long shutdownTimeoutMillis = 2000; // 2s`, and
`setShutdownTimeoutMillis(long)` documents the parameter as "the
shutdown timeout in millis". The Java drain docs
(`platform-includes/configuration/drain-example/java.mdx`) already
describe it as milliseconds.
**Corrected wording:** "Controls how many milliseconds to wait before
shutting down. … The default is `2000` (two seconds)."
cc @adinauer @runningcode @markushi @romtsn
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
via [automation
`sched_fe39d4dd0d4e77a4b4463de325041d04`](https://junior-prod.sentry.dev/automations/sched_fe39d4dd0d4e77a4b4463de325041d04)
· Run ID `sched_fe39d4dd0d4e77a4b4463de325041d04:1794297600000`.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent-dispatch%3Adispatch_b9504a85e9a51c0857a164aec8606f80)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent-dispatch%3Adispatch_b9504a85e9a51c0857a164aec8606f80/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
---
docs/platforms/java/common/configuration/options.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/platforms/java/common/configuration/options.mdx b/docs/platforms/java/common/configuration/options.mdx
index d8885bdac0f43..97c4899548623 100644
--- a/docs/platforms/java/common/configuration/options.mdx
+++ b/docs/platforms/java/common/configuration/options.mdx
@@ -368,7 +368,7 @@ When set, a proxy can be configured that should be used for outbound requests. T
-Controls how many seconds to wait before shutting down. The SDK sends events from a background queue. This queue is given a certain amount to drain pending events. The default is two seconds. Setting this value too low may cause problems for sending events from command line applications. Setting the value too high will cause the application to block for a long time for users experiencing network connectivity problems.
+Controls how many milliseconds to wait before shutting down. The SDK sends events from a background queue. This queue is given a certain amount to drain pending events. The default is `2000` (two seconds). Setting this value too low may cause problems for sending events from command line applications. Setting the value too high will cause the application to block for a long time for users experiencing network connectivity problems.
From 8921964a902ea448da4691b000756a840000cc49 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 11:48:55 +0000
Subject: [PATCH 002/141] feat(docs): Apply new quick start template to Dart
and Flutter quick start guides (#19981)
## DESCRIBE YOUR PR
Applies the quick start template from #19295 (Ember) to the Dart and
Flutter quick starts.
- Removes the onboarding option checkboxes and `___PRODUCT_OPTION___`
markers.
- Configure names the features each guide sets up: Error Monitoring,
Logs, Application Metrics, and Tracing, plus Session Replay for Flutter.
The init snippets include those options by default, and a note explains
that unwanted options can be removed. Flutter's Configure step now shows
the `SentryFlutter.init` the wizard creates, so the snippet is visible
even when the wizard is used.
- Adds **Send Logs** and **Send Application Metrics** as their own steps
(`Sentry.logger` / `Sentry.metrics`, which need no enable flag in the
current SDK). Send Logs links to the `sentry_logging` integration.
- Simplifies Verify to a single test error. Flutter keeps the wizard's
sample exception flow. Next Steps is trimmed.
- `flutter/manual-setup.mdx` is unchanged. It's a separate manual flow
and still uses the shared Dart logs/metrics verify includes.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via **shannon.anahata**.
--
[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0BB8KQT6MU%3A1792013336.218129)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0BB8KQT6MU%3A1792013336.218129/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Shannon Anahata
Co-authored-by: Shannon Anahata
Co-authored-by: inventarSarah
---
docs/platforms/dart/common/index.mdx | 109 +++++++++++-------
docs/platforms/dart/guides/flutter/index.mdx | 72 ++++++------
.../dart/guides/flutter/manual-setup.mdx | 94 ++++++++++-----
includes/quick-start-features-expandable.mdx | 14 +++
...quick-start-verify-tracing-splitlayout.mdx | 10 --
...quick-start-verify-tracing-splitlayout.mdx | 20 ----
.../getting-started-prerequisites/dart.mdx | 8 ++
src/components/featureInfo.tsx | 5 +-
8 files changed, 195 insertions(+), 137 deletions(-)
delete mode 100644 includes/tracing/dart-quick-start-verify-tracing-splitlayout.mdx
delete mode 100644 includes/tracing/python-quick-start-verify-tracing-splitlayout.mdx
create mode 100644 platform-includes/getting-started-prerequisites/dart.mdx
diff --git a/docs/platforms/dart/common/index.mdx b/docs/platforms/dart/common/index.mdx
index a15ba542b8fb8..f07037199fb88 100644
--- a/docs/platforms/dart/common/index.mdx
+++ b/docs/platforms/dart/common/index.mdx
@@ -1,6 +1,6 @@
---
title: Dart
-description: Learn how to set up Sentry in your Dart app, capture your first errors and traces, and view them in Sentry.
+description: Learn how to set up Sentry in your Dart app, capture your first events, and view them in Sentry.
caseStyle: camelCase
supportLevel: production
sdk: sentry.dart
@@ -33,9 +33,8 @@ dependencies:
## Configure
-Choose the features you want to configure, and this guide will show you how:
-
-
+Initialize **Error Monitoring** with `Sentry.init()` and run your application in its `appRunner` callback to capture uncaught exceptions and unhandled asynchronous errors. **Logs** and **Application Metrics** are enabled by default in SDK v10, and you'll learn how to send them in steps [#3](#send-logs) and [#4](#send-application-metrics-).
+This guide also enables **Tracing**.
@@ -43,40 +42,83 @@ Choose the features you want to configure, and this guide will show you how:
Configuration should happen as **early as possible** in your application's lifecycle.
-Import and initialize the SDK in your app's entry point:
+Import and initialize the SDK in your app's entry point as shown in the code snippet below.
+
+The snippet also turns on:
+
+- Tracing: via `tracesSampleRate`
+- Additional user and request data: via `sendDefaultPii`
+
+To skip tracing, omit `tracesSampleRate`. To discard logs or metrics, return `null` from `beforeSendLog` or `beforeSendMetric`.
```dart
import 'package:sentry/sentry.dart';
Future main() async {
- await Sentry.init((options) {
- options.dsn = '___PUBLIC_DSN___';
- // Adds request headers and IP for users, for more info visit:
- // https://docs.sentry.io/platforms/dart/data-management/data-collected/
- options.sendDefaultPii = true;
- // ___PRODUCT_OPTION_START___ performance
- // Set tracesSampleRate to 1.0 to capture 100% of transactions for tracing.
- // We recommend adjusting this value in production.
- options.tracesSampleRate = 1.0;
- // ___PRODUCT_OPTION_END___ performance
- });
-
- // you can also configure SENTRY_DSN, SENTRY_RELEASE, SENTRY_DIST, and
- // SENTRY_ENVIRONMENT via Dart environment variable (--dart-define)
+ await Sentry.init(
+ (options) {
+ options.dsn = '___PUBLIC_DSN___';
+
+ // Allows sending default personal data, such as IP addresses,
+ // when available from the SDK's integrations.
+ options.sendDefaultPii = true;
+
+ // Enables Tracing.
+ // Set to 1.0 to capture 100% of spans for tracing.
+ // We recommend reducing this value in production.
+ options.tracesSampleRate = 1.0;
+ },
+ appRunner: () async {
+ // Start your application here.
+ },
+ );
+
+ // You can also configure SENTRY_DSN, SENTRY_RELEASE, SENTRY_DIST, and
+ // SENTRY_ENVIRONMENT via Dart environment variables (--dart-define).
}
```
-## Verify Your Setup
+The `appRunner` callback runs in a guarded error zone. This is required for automatic error capture on Dart web, where isolate error listeners are unavailable. For additional isolates, register an error listener with [`addSentryErrorListener`](https://pub.dev/documentation/sentry/latest/sentry_io/SentryIsolateExtension/addSentryErrorListener.html) from `package:sentry/sentry_io.dart`.
-Let's test your setup and confirm that data reaches your Sentry project.
+For finite command-line applications, call `await Sentry.close()` after all awaited application work finishes to flush buffered telemetry and close SDK resources, including the isolate error-listener port.
-### Issues
+## Send Logs
-To verify that Sentry captures errors and creates issues in your Sentry project, add this intentional error to your application:
+Call `Sentry.logger` from your application code after initialization to send structured logs at different levels. You can add attributes to make logs easier to search and filter.
+
+See Set Up Logs for all available logging methods and message formatting.
```dart
-import 'package:sentry/sentry.dart';
+Sentry.logger.info('Order completed', attributes: {
+ 'order_id': SentryAttribute.string('12345'),
+ 'total': SentryAttribute.double(99.99),
+});
+
+Sentry.logger.warn('Slow operation detected');
+Sentry.logger.error('Validation failed');
+```
+
+If you use the Dart `logging` package, add the `sentry_logging` integration to send its records to Sentry.
+
+## Send Application Metrics
+
+Call `Sentry.metrics` from your application code after initialization to send counters, gauges, and distributions. Add attributes to filter and group metrics in Sentry.
+
+See Set Up Metrics for metric types, attributes, and configuration options.
+```dart
+Sentry.metrics.count('checkout.failed', 1);
+Sentry.metrics.gauge('queue.depth', 42);
+Sentry.metrics.distribution('api_latency', 187, unit: 'millisecond');
+```
+
+## Verify Your Setup
+
+Let's test your setup and confirm that data reaches your Sentry project.
+
+Add this inside the async `appRunner` callback to trigger and capture a test error:
+
+```dart
try {
throw StateError('Sentry Test Error');
} catch (exception, stackTrace) {
@@ -87,16 +129,6 @@ try {
}
```
-
-
-
-
-
-
-
-
-
-
### View Captured Data in Sentry
Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
@@ -105,16 +137,11 @@ Now, head over to your project on [Sentry.io](https://sentry.io) to view the col
## Next Steps
-At this point, you should have integrated Sentry into your Dart application and should already be sending data to your Sentry project.
-
-Now's a good time to customize your setup and look into more advanced topics.
-Our next recommended steps for you are:
+At this point, you should have integrated Sentry into your Dart application. Here's what to explore next:
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Continue to customize your configuration
- Learn more about manually capturing errors or messages
-- Learn about the features of Sentry's Dart SDK
-- Add performance instrumentation to your app
+- Add performance instrumentation to your app
diff --git a/docs/platforms/dart/guides/flutter/index.mdx b/docs/platforms/dart/guides/flutter/index.mdx
index 95d9486c7c955..ee03b862a1d1a 100644
--- a/docs/platforms/dart/guides/flutter/index.mdx
+++ b/docs/platforms/dart/guides/flutter/index.mdx
@@ -1,6 +1,6 @@
---
title: Flutter
-description: Learn how to set up Sentry in your Flutter app, capture your first errors and traces, and view them in Sentry.
+description: Learn how to set up Sentry in your Flutter app, capture your first events, and view them in Sentry.
caseStyle: camelCase
supportLevel: production
sdk: sentry.dart.flutter
@@ -28,34 +28,34 @@ brew install getsentry/tools/sentry-wizard && sentry-wizard -i flutter
```
```powershell {tabTitle:Windows}
-$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-win-x64.exe"
+$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v9.1.0/sentry-wizard-win-x64.exe"
Invoke-WebRequest $downloadUrl -OutFile sentry-wizard.exe
./sentry-wizard.exe -i flutter
```
```bash {tabTitle:macOS (Intel/x64)}
-downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-darwin-x64"
+downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v9.1.0/sentry-wizard-darwin-x64"
curl -L $downloadUrl -o sentry-wizard
chmod +x sentry-wizard
./sentry-wizard -i flutter
```
```bash {tabTitle:macOS (Apple Silicon/arm64)}
-downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-darwin-arm64"
+downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v9.1.0/sentry-wizard-darwin-arm64"
curl -L $downloadUrl -o sentry-wizard
chmod +x sentry-wizard
./sentry-wizard -i flutter
```
```bash {tabTitle:Linux (x64)}
-downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-linux-x64"
+downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v9.1.0/sentry-wizard-linux-x64"
curl -L $downloadUrl -o sentry-wizard
chmod +x sentry-wizard
./sentry-wizard -i flutter
```
```bash {tabTitle:Linux (arm64)}
-downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v5.1.0/sentry-wizard-linux-arm64"
+downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v9.1.0/sentry-wizard-linux-arm64"
curl -L $downloadUrl -o sentry-wizard
chmod +x sentry-wizard
./sentry-wizard -i flutter
@@ -65,7 +65,7 @@ chmod +x sentry-wizard
npx @sentry/wizard@latest -i flutter
```
-This will patch your project and configure the SDK. You only need to patch the project once, then you can add the patched files to your version control system.
+This will patch your project and configure the SDK. **Logs** and **Application Metrics** are enabled by default in SDK v10, and you'll learn how to send them in steps [#2](#send-logs) and [#3](#send-application-metrics-). You only need to patch the project once, then you can add the patched files to your version control system.
If you prefer, you can also [set up the SDK manually](/platforms/dart/guides/flutter/manual-setup/).
@@ -77,37 +77,47 @@ If you prefer, you can also [set up the SDK manually](/platforms/dart/guides/flu
-The wizard will prompt you to enable optional features. Select the same options here so this guide can show you how to verify them:
+## Send Logs
-
+Call `Sentry.logger` from your application code after initialization to send structured logs at different levels. You can add attributes to make logs easier to search and filter.
-
+See Set Up Logs for all available logging methods and message formatting.
-## Verify Your Setup
+```dart
+Sentry.logger.info('Order completed', attributes: {
+ 'order_id': SentryAttribute.string('12345'),
+ 'total': SentryAttribute.double(99.99),
+});
-Let's test your setup and confirm that data reaches your Sentry project.
+Sentry.logger.warn('Slow operation detected');
+Sentry.logger.error('Validation failed');
+```
-### Issues
+If you use the Dart `logging` package, add the `sentry_logging` integration to send its records to Sentry.
-The wizard added a sample exception to `main.dart` that is captured when the app starts. Run your app to send it to Sentry:
+## Send Application Metrics
-```bash
-flutter run
-```
+Call `Sentry.metrics` from your application code after initialization to send counters, gauges, and distributions. Add attributes to filter and group metrics in Sentry.
-After you've confirmed the issue in Sentry, remove the sample exception from `main.dart` so it isn't captured on every launch.
+See Set Up Metrics for metric types, attributes, and configuration options.
+
+```dart
+Sentry.metrics.count('checkout.failed', 1);
+Sentry.metrics.gauge('queue.depth', 42);
+Sentry.metrics.distribution('api_latency', 187, unit: 'millisecond');
+```
-
+## Verify Your Setup
-
+Let's test your setup and confirm that data reaches your Sentry project.
-
+The wizard added a sample exception to main.dart that is captured when the app starts. Run your app to send it to Sentry:
-
+```bash
+flutter run
+```
-
+After you've confirmed the issue in Sentry, remove the sample exception from `main.dart` so it isn't captured on every launch.
### View Captured Data in Sentry
@@ -117,16 +127,12 @@ Now, head over to your project on [Sentry.io](https://sentry.io) to view the col
## Next Steps
-At this point, you should have integrated Sentry into your Flutter application and should already be sending data to your Sentry project.
-
-Now's a good time to customize your setup and look into more advanced topics.
-Our next recommended steps for you are:
+At this point, you should have integrated Sentry into your Flutter application. Here's what to explore next:
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Continue to customize your configuration
-- Add readable stack traces to errors
-- Learn about the features of Sentry's Flutter SDK
-- Add performance instrumentation to your app
+- Upload debug symbols and source maps for readable production stack traces. The wizard configures `sentry_dart_plugin`; run `dart run sentry_dart_plugin` after each production build to upload the files. In CI, provide `SENTRY_AUTH_TOKEN` to the upload step.
+- Learn about Session Replay and its privacy controls
+- Add performance instrumentation to your app
diff --git a/docs/platforms/dart/guides/flutter/manual-setup.mdx b/docs/platforms/dart/guides/flutter/manual-setup.mdx
index 01831e8b2c5d4..33ab575b30990 100644
--- a/docs/platforms/dart/guides/flutter/manual-setup.mdx
+++ b/docs/platforms/dart/guides/flutter/manual-setup.mdx
@@ -1,10 +1,14 @@
---
title: Manual Setup
sidebar_order: 1
-description: "Learn how to set up the Sentry Flutter SDK manually."
+description: "Learn how to manually set up Sentry in your Flutter app, capture your first events, and view them in Sentry."
---
-If you can't (or prefer not to) run the [automatic setup](/platforms/dart/guides/flutter/#install), you can follow the instructions below to configure your application manually.
+
+
+Looking for automatic setup with the Flutter wizard? Follow the Flutter Quick Start instead. Continue with this guide to set up the SDK manually.
+
+
@@ -36,19 +40,24 @@ Keep CocoaPods if other plugins still require it. Flutter can use both dependenc
## Configure
-Choose the features you want to configure, and this guide will show you how:
-
-
+Initialize **Error Monitoring** with `Sentry.init()` and run your application in its `appRunner` callback to capture uncaught exceptions and unhandled asynchronous errors. **Logs** and **Application Metrics** are enabled by default in SDK v10, and you'll learn how to send them in steps [#3](#send-logs) and [#4](#send-application-metrics-).
+This guide also enables **Tracing** and **Session Replay**.
### Initialize the Sentry SDK
-Configuration should happen as **early as possible** in your application's lifecycle. Logs and metrics are enabled by default; use `Sentry.logger` and `Sentry.metrics` after initialization without an enable flag.
+Configuration should happen as **early as possible** in your application's lifecycle.
+
+Import and initialize the SDK in your app's entry point as shown in the code snippet below.
-Import and initialize the SDK in your app's `main` function:
+The snippet also turns on:
+
+- Tracing: via `tracesSampleRate`
+- Session Replay: sampled with `replay.sessionSampleRate` and `replay.onErrorSampleRate`
+- Additional user and request data: via `sendDefaultPii`
+
+To skip tracing, omit `tracesSampleRate`. To skip automatic Session Replay recording, omit both replay sample rates. To discard logs or metrics, return `null` from `beforeSendLog` or `beforeSendMetric`.
```dart
import 'package:flutter/widgets.dart';
@@ -58,19 +67,20 @@ Future main() async {
await SentryFlutter.init(
(options) {
options.dsn = '___PUBLIC_DSN___';
- // Adds request headers and IP for users, for more info visit:
- // https://docs.sentry.io/platforms/dart/guides/flutter/data-management/data-collected/
+
+ /// Allows sending default personal data, such as IP addresses,
+ // when available from the SDK's integrations.
options.sendDefaultPii = true;
- // ___PRODUCT_OPTION_START___ performance
- // Set tracesSampleRate to 1.0 to capture 100% of transactions for tracing.
- // We recommend adjusting this value in production.
+
+ // Enables Tracing.
+ // Set to 1.0 to capture 100% of spans for tracing.
+ // We recommend reducing this value in production.
options.tracesSampleRate = 1.0;
- // ___PRODUCT_OPTION_END___ performance
- // ___PRODUCT_OPTION_START___ session-replay
- // Record session replays for 100% of errors and 10% of sessions
+
+ // Capture replays for 10% of all sessions,
+ // plus for 100% of sessions with an error
options.replay.onErrorSampleRate = 1.0;
options.replay.sessionSampleRate = 0.1;
- // ___PRODUCT_OPTION_END___ session-replay
},
appRunner: () => runApp(
SentryWidget(
@@ -84,13 +94,41 @@ Future main() async {
}
```
+## Send Logs
+
+Call `Sentry.logger` from your application code after initialization to send structured logs at different levels. You can add attributes to make logs easier to search and filter.
+
+See Set Up Logs for all available logging methods and message formatting.
+
+```dart
+Sentry.logger.info('Order completed', attributes: {
+ 'order_id': SentryAttribute.string('12345'),
+ 'total': SentryAttribute.double(99.99),
+});
+
+Sentry.logger.warn('Slow operation detected');
+Sentry.logger.error('Validation failed');
+```
+
+If you use the Dart `logging` package, add the `sentry_logging` integration to send its records to Sentry.
+
+## Send Application Metrics
+
+Call `Sentry.metrics` from your application code after initialization to send counters, gauges, and distributions. Add attributes to filter and group metrics in Sentry.
+
+See Set Up Metrics for metric types, attributes, and configuration options.
+
+```dart
+Sentry.metrics.count('checkout.failed', 1);
+Sentry.metrics.gauge('queue.depth', 42);
+Sentry.metrics.distribution('api_latency', 187, unit: 'millisecond');
+```
+
## Verify Your Setup
Let's test your setup and confirm that data reaches your Sentry project.
-### Issues
-
-To verify that Sentry captures errors and creates issues in your Sentry project, add this intentional error to your application:
+Add this intentional error to your application:
```dart
import 'package:sentry_flutter/sentry_flutter.dart';
@@ -105,15 +143,11 @@ try {
}
```
-
-
-
-
-
+Run your app to send the test error to Sentry:
-
-
-
+```bash
+flutter run
+```
### View Captured Data in Sentry
@@ -129,9 +163,7 @@ Now's a good time to customize your setup and look into more advanced topics.
Our next recommended steps for you are:
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Continue to customize your configuration
- Add readable stack traces to errors
-- Learn about the features of Sentry's Flutter SDK
- Add performance instrumentation to your app
diff --git a/includes/quick-start-features-expandable.mdx b/includes/quick-start-features-expandable.mdx
index a5f564a5cb467..5a5698e0cdae6 100644
--- a/includes/quick-start-features-expandable.mdx
+++ b/includes/quick-start-features-expandable.mdx
@@ -97,6 +97,11 @@ import { FeatureInfo } from "sentry-docs/components/featureInfo";
@@ -106,6 +111,15 @@ import { FeatureInfo } from "sentry-docs/components/featureInfo";
diff --git a/includes/tracing/dart-quick-start-verify-tracing-splitlayout.mdx b/includes/tracing/dart-quick-start-verify-tracing-splitlayout.mdx
deleted file mode 100644
index 3ca0aee8a780e..0000000000000
--- a/includes/tracing/dart-quick-start-verify-tracing-splitlayout.mdx
+++ /dev/null
@@ -1,10 +0,0 @@
-### Tracing
-
-To test your tracing configuration, create a custom transaction and span:
-
-```dart
-final transaction = Sentry.startTransaction('test-transaction', 'task');
-final span = transaction.startChild('test-span');
-await span.finish();
-await transaction.finish();
-```
diff --git a/includes/tracing/python-quick-start-verify-tracing-splitlayout.mdx b/includes/tracing/python-quick-start-verify-tracing-splitlayout.mdx
deleted file mode 100644
index ecda5df7f65d7..0000000000000
--- a/includes/tracing/python-quick-start-verify-tracing-splitlayout.mdx
+++ /dev/null
@@ -1,20 +0,0 @@
-### Tracing
-
-To test your tracing configuration, create a custom transaction and span:
-
-```py {tabTitle: Transaction Mode (Default)}
-import sentry_sdk
-
-with sentry_sdk.start_transaction(op="task", name="Transaction Name"):
- span = sentry_sdk.start_span(name="Custom Span Name")
- span.finish()
-
-```
-```py {tabTitle: Stream Mode}
-import sentry_sdk
-
-with sentry_sdk.traces.start_span(name="Service Span Name", attributes={"sentry.op": "task"}, parent_span=None):
- span = sentry_sdk.traces.start_span(name="Custom Span Name")
- span.end()
-
-```
diff --git a/platform-includes/getting-started-prerequisites/dart.mdx b/platform-includes/getting-started-prerequisites/dart.mdx
new file mode 100644
index 0000000000000..9675f9bacf075
--- /dev/null
+++ b/platform-includes/getting-started-prerequisites/dart.mdx
@@ -0,0 +1,8 @@
+## Prerequisites
+
+These instructions use Sentry Dart SDK v10. You need:
+
+- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
+- An application using **Dart 3.12.0** or later
+
+For an existing Sentry integration, review the [v10 breaking changes](https://github.com/getsentry/sentry-dart/releases/tag/10.0.0) before upgrading.
diff --git a/src/components/featureInfo.tsx b/src/components/featureInfo.tsx
index 6b893b539cae5..9e792259c1735 100644
--- a/src/components/featureInfo.tsx
+++ b/src/components/featureInfo.tsx
@@ -159,6 +159,7 @@ const FEATURE_DATA: Record<
type FeatureInfoProps = {
features: FeatureKey[];
+ overrides?: Partial>;
type: 'learnMore' | 'findInSentry';
};
@@ -169,11 +170,11 @@ type FeatureInfoProps = {
* @param features - Array of feature keys to display
* @param type - learnMore shows feature descriptions, findInSentry shows navigation help
*/
-export function FeatureInfo({features, type}: FeatureInfoProps) {
+export function FeatureInfo({features, overrides, type}: FeatureInfoProps) {
return (
{features.map(key => {
- const feature = FEATURE_DATA[key];
+ const feature = {...FEATURE_DATA[key], ...overrides?.[key]};
if (type === 'learnMore') {
return (
From 6fabf68cf015ef7e51935e518195640b82378f24 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 13:17:38 +0100
Subject: [PATCH 003/141] docs(develop): Broaden invalid client report reason
(#20595)
## DESCRIBE YOUR PR
Broadens the `invalid` discard reason to cover any data that is dropped
because it is invalid, including data in an invalid SDK state, not only
data that fails validation. It applies only when no more specific reason
fits.
The case that prompted this: transaction-based SDKs drop child spans
that finish after their transaction was sent. A child span can't outlive
its transaction, so the span is invalid, but it didn't strictly "fail
validation." JS already reports this case as `invalid`. We discussed
this in the SDK team channel.
New wording: "Telemetry item failed validation or was otherwise invalid,
and no more specific reason applies."
The reason is already registered, so this only changes the spec. This
bumps the spec to `1.26.0` and sets the discard-reasons section's
`since` to `1.26.0`, following the spec lifecycle.
Refs getsentry/sentry-rust#1397
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via @szokeasaurusrex.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3ACUCRT2B70%3A1793710228.570199)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3ACUCRT2B70%3A1793710228.570199/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
---
develop-docs/sdk/telemetry/client-reports.mdx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/develop-docs/sdk/telemetry/client-reports.mdx b/develop-docs/sdk/telemetry/client-reports.mdx
index b824451590bf9..698521ec97b1e 100644
--- a/develop-docs/sdk/telemetry/client-reports.mdx
+++ b/develop-docs/sdk/telemetry/client-reports.mdx
@@ -2,12 +2,15 @@
title: Client Reports
description: SDK self-reporting protocol for tracking discarded events and their discard reasons.
spec_id: sdk/telemetry/client-reports
-spec_version: 1.25.0
+spec_version: 1.26.0
spec_status: stable
spec_depends_on:
- id: sdk/foundations/transport/envelopes
version: ">=1.0.0"
spec_changelog:
+ - version: 1.26.0
+ date: 2026-11-06
+ summary: Broadened `invalid` discard reason to cover any data dropped because it is invalid
- version: 1.25.0
date: 2026-10-08
summary: Clarified that discarded envelopes are counted per contained item, not as a quantity of 1
@@ -366,7 +369,7 @@ Each outcome object in `discarded_events` has:
-
+
### Discard Reasons
@@ -387,7 +390,7 @@ The following discard reasons are defined for `discarded_events`:
| `backpressure` | 1.13.0 | Downsampling due to system load. |
| `buffer_overflow` | 1.15.0 | SDK internal buffer (e.g., breadcrumbs buffer) overflowed. |
| `ignored` | 1.16.0 | Telemetry item was ignored by the SDK (e.g., a span was ignored by `ignore_spans`; can also be used by other deny-list mechanisms). |
-| `invalid` | 1.17.0 | Failed validation (e.g., replay session exceeded maximum allowed length). |
+| `invalid` | 1.17.0 | Telemetry item failed validation or (since 1.26.0) was otherwise invalid, and no more specific reason applies. |
| `no_parent_span` | 1.22.0 | Span was not started or dropped because no parent span was present at span start (for example, auto-instrumented spans suppressed when the request happens outside an active span). |
| `callback_error` | 1.24.0 | A user-provided callback (e.g., `before_send`, `traces_sampler`) threw an error. |
From b9fb178e067f2fa6a6db85a6f3e951d5a1fc07ce Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 14:29:31 +0000
Subject: [PATCH 004/141] Bump API schema to 7caf510a (#20690)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 1856093f7545c..758e20ae6e45f 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'd3da6979e213d75071f154a31e671870ace17084';
+const SENTRY_API_SCHEMA_SHA = '7caf510a28998beb9a2ff86bdb0d001bea5d7560';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 0d261a8505eb8649f7794166e8b64212c8986d8c Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 14:38:07 +0000
Subject: [PATCH 005/141] Bump API schema to 411ccf67 (#20691)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 758e20ae6e45f..0ea0b3007585b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '7caf510a28998beb9a2ff86bdb0d001bea5d7560';
+const SENTRY_API_SCHEMA_SHA = '411ccf67994d010bf15816294b5658653129d3f5';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From c61ca28e880c4c9e789bd809b599e44021d67135 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 15:39:03 +0100
Subject: [PATCH 006/141] docs(otlp): Remove beta and alpha callouts from OTLP
pages (#20649)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
The OTLP traces and logs endpoints went GA in May 2026, but the docs
still show the "open beta" banner. This PR removes the banner from:
- `docs/concepts/otlp/index.mdx` (the [OTLP landing
page](https://docs.sentry.io/concepts/otlp/))
- `docs/concepts/otlp/direct/traces.mdx`
- `docs/concepts/otlp/direct/logs.mdx`
It also removes the **alpha** stability callout from
`docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx`, at the
docs owner's request. Note: upstream, the exporter in
`opentelemetry-collector-contrib`
(`exporter/sentryexporter/metadata.yaml`) is still `alpha: [traces,
logs]`. Promoting it there is being discussed separately with the code
owners.
GA references:
- getsentry/relay#5951 moves `relay-otlp-traces-endpoint` and
`relay-otel-logs-endpoint` into `GRADUATED_FEATURE_FLAGS`
- getsentry/sentry#115049 and getsentry/sentry#115051 ("The OTLP
endpoints are GA")
- getsentry/sentry-options-automator#7708
**Not changed:**
- `docs/concepts/otlp/direct/claude-platform.mdx` still includes the
open beta banner. Anthropic's OpenTelemetry export on the Claude
Platform is itself in beta, and the page already says so in its body
text. Reviewers: should that page drop the Sentry banner too and rely
only on the body text?
Related: the announcement discussion getsentry/sentry#85902 still says
"Open Beta" and may need a GA update.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via @dingsdax.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC096V5NJXQU%3A1794241656.085869)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC096V5NJXQU%3A1794241656.085869/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Johannes Daxböck <114897+dingsdax@users.noreply.github.com>
---
docs/concepts/otlp/direct/logs.mdx | 2 --
docs/concepts/otlp/direct/traces.mdx | 2 --
docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx | 4 ----
docs/concepts/otlp/index.mdx | 2 --
4 files changed, 10 deletions(-)
diff --git a/docs/concepts/otlp/direct/logs.mdx b/docs/concepts/otlp/direct/logs.mdx
index 19a40c40164f4..5020f113996f5 100644
--- a/docs/concepts/otlp/direct/logs.mdx
+++ b/docs/concepts/otlp/direct/logs.mdx
@@ -6,8 +6,6 @@ description: "Send OpenTelemetry logs directly to Sentry without a Sentry SDK."
keywords: ["otlp", "otel", "opentelemetry", "logs", "logging"]
---
-
-
Send logs directly from your OpenTelemetry SDK to Sentry's OTLP endpoint. You can find your endpoint URL and auth key in [Project settings > Client Keys (DSN)](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/:projectId/keys/).
## Environment Variables
diff --git a/docs/concepts/otlp/direct/traces.mdx b/docs/concepts/otlp/direct/traces.mdx
index 4a55b3a2c7f83..30ac98f648ff7 100644
--- a/docs/concepts/otlp/direct/traces.mdx
+++ b/docs/concepts/otlp/direct/traces.mdx
@@ -6,8 +6,6 @@ description: "Send OpenTelemetry traces directly to Sentry without a Sentry SDK.
keywords: ["otlp", "otel", "opentelemetry", "traces", "tracing"]
---
-
-
Send traces directly from your OpenTelemetry SDK to Sentry's OTLP endpoint. You can find your endpoint URL and auth key in [Project settings > Client Keys (DSN)](https://sentry.io/orgredirect/organizations/:orgslug/settings/projects/:projectId/keys/).
## Environment Variables
diff --git a/docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx b/docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx
index 1f2cef1258f70..66a1b2f0023ab 100644
--- a/docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx
+++ b/docs/concepts/otlp/forwarding/pipelines/sentry-exporter.mdx
@@ -5,10 +5,6 @@ sidebar_order: 15
description: "Route OpenTelemetry traces and logs from multiple services to different Sentry projects through a single collector instance."
keywords: ["otlp", "otel", "opentelemetry", "collector", "exporter", "routing"]
---
-
- The Sentry Exporter has **alpha** stability for traces and logs. Configuration options and behavior may change.
-
-
The Sentry Exporter routes telemetry from multiple services to different Sentry projects through a single collector instance. Without it, you'd need to configure separate DSNs for each project or set up additional routing connectors.
diff --git a/docs/concepts/otlp/index.mdx b/docs/concepts/otlp/index.mdx
index c74e2f1862d9e..c728b56a28e22 100644
--- a/docs/concepts/otlp/index.mdx
+++ b/docs/concepts/otlp/index.mdx
@@ -5,8 +5,6 @@ description: "Learn how to send OpenTelemetry traces and logs to Sentry."
keywords: ["otlp", "otel", "opentelemetry"]
---
-
-
Sentry can ingest OpenTelemetry traces and logs via OTLP endpoints, either directly from an [OTel SDK](https://opentelemetry.io/docs/languages/) or through a pipeline tool like the [OpenTelemetry Collector](/concepts/otlp/forwarding/pipelines/collector/). Sentry does not support OTLP metrics at this time.
## Linking Traces with a Sentry SDK
From f8925264d4ffc51220e1b928d15f1b1d258e48e9 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 10:00:04 -0500
Subject: [PATCH 007/141] docs(cloudflare): Document the isStreamingResponse
option (#20092)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
This documents the `isStreamingResponse` option of the Cloudflare SDK
(getsentry/sentry-javascript#24932) in the Cloudflare section of the
options page. It explains what `true`, `false`, and `undefined` do,
which responses the SDK treats as streamed by default (now including RSC
`text/x-component` responses without a `Content-Length`), and shows the
streamed SSR example for HTML.
getsentry/sentry-javascript#24932 merged on 2026-10-19 and isn't
released yet. `availableSince` is set to `11.9.0`, the next minor.
Update the version if the release differs, and merge only after the
release is out.
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## LEGAL BOILERPLATE
Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
## EXTRA RESOURCES
- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
via **Jan Peer Stöcklmair**.
--
[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA6TD3QRK%3A1792429376.732779)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA6TD3QRK%3A1792429376.732779/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jan VamPeer Stöcklmair
---
.../common/configuration/options.mdx | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/docs/platforms/javascript/common/configuration/options.mdx b/docs/platforms/javascript/common/configuration/options.mdx
index 7ddb2380fce5a..a5ae09f8897e8 100644
--- a/docs/platforms/javascript/common/configuration/options.mdx
+++ b/docs/platforms/javascript/common/configuration/options.mdx
@@ -617,6 +617,28 @@ Propagation over `stub.fetch()` and service binding `fetch()` uses HTTP headers,
+
+
+Overrides whether Sentry treats a `fetch` response as streaming. Use this if your application streams responses, such as HTML rendered with streaming SSR, that Sentry doesn't detect automatically.
+
+Return `true` to keep the request span open until streaming completes, `false` to end it when the handler returns, or `undefined` to use automatic detection.
+
+```typescript {filename:instrument.server.ts}
+import { defineCloudflareOptions } from "@sentry/cloudflare";
+
+export default defineCloudflareOptions((env) => ({
+ dsn: env.SENTRY_DSN,
+ isStreamingResponse: (response) =>
+ response.headers.get("content-type")?.startsWith("text/html")
+ ? true
+ : undefined,
+}));
+```
+
+The callback receives the response and request. It must be synchronous and must not read the response body.
+
+
+
From 083a1af824a761f601e5d5ac8f373b63d17d674c Mon Sep 17 00:00:00 2001
From: geoffg-sentry <165922362+geoffg-sentry@users.noreply.github.com>
Date: Tue, 10 Nov 2026 10:30:16 -0500
Subject: [PATCH 008/141] Update Codeowners for Legal/Security docs (#20663)
## DESCRIBE YOUR PR
We want team review enforcement on these pages
## IS YOUR CHANGE URGENT?
- [X] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [N/A, no changes] Checked Vercel preview for correctness, including
links
- [X] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---
.github/CODEOWNERS | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1e0e19c4bf064..c0a458e9c1fac 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -2,8 +2,10 @@
# See https://github.com/getsentry/sentry-docs/pull/13662 on how commented codeowners are tagged
-# Requiring review from security team for Content-Security-Policy changes
+# Requiring review from security team for CSP, Security/Legal Pages, but not IP Ranges
**/vercel.json @getsentry/security
+/docs/security-legal-pii/security/ @getsentry/security
+/docs/security-legal-pii/security/ip-ranges.mdx
# Codeowners listed below are used as a reference for the Sentry team to know who to contact for a given area of the codebase.
From ebcdb4cf4cdbb84fe08a966556c6bb818d5a167d Mon Sep 17 00:00:00 2001
From: Michi Hoffmann
Date: Tue, 10 Nov 2026 17:11:07 +0100
Subject: [PATCH 009/141] feat(develop-docs): Render span attributes from
sentry-conventions (#20638)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
Replaces #20557.
Adds a `` MDX component that renders span
attribute tables straight from
[`@sentry/conventions`](https://github.com/getsentry/sentry-conventions),
so the develop docs stop drifting from the conventions repo. The AI
agents module page is the first user.
- New `ConventionAttributes` component (with tests), registered in
`mdxComponents.ts`
- All attribute tables on the AI agents page now render from
conventions; footnotes the convention briefs already cover are dropped
- Depends on `@sentry/conventions@^0.33.0`, which ships
getsentry/sentry-conventions#784 through #788
Preview:
https://develop-docs-git-cleptric-featconvention-attributes-component.sentry.dev/sdk/telemetry/traces/modules/ai-agents/
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Johannes Daxböck
Co-authored-by: Claude Opus 5.5
---
.../telemetry/traces/modules/ai-agents.mdx | 99 +++++++++----------
package.json | 1 +
pnpm-lock.yaml | 9 ++
.../conventionAttributes/index.spec.tsx | 61 ++++++++++++
src/components/conventionAttributes/index.tsx | 72 ++++++++++++++
src/mdxComponents.ts | 2 +
6 files changed, 191 insertions(+), 53 deletions(-)
create mode 100644 src/components/conventionAttributes/index.spec.tsx
create mode 100644 src/components/conventionAttributes/index.tsx
diff --git a/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx b/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx
index ae60466096767..41dfbdd89b7ac 100644
--- a/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx
+++ b/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx
@@ -77,7 +77,7 @@ Describes AI agent invocation.
Agent invocations represent operations that can include multiple model calls, or some auxiliary work that goes beyond transforming the model input and output.
- Span `op` is `"gen_ai.invoke_agent"`.
-- Span `name` is `"invoke_agent {gen_ai.agent.name}"`. (e.g. `"invoke_agent Weather Agent"`) **[2]**
+- Span `name` is `"invoke_agent {gen_ai.agent.name}"`. (e.g. `"invoke_agent Weather Agent"`) In some agent libraries, the agent name is optional, and some do not provide the user an option to name their agents. In these cases, the span name is `"invoke_agent {call_id}"`, where `call_id` is some user-provided identifier for the agent invocation. For example, `functionId` in Vercel AI.
- Attribute `gen_ai.operation.name` is `"invoke_agent"`.
- Attribute `gen_ai.agent.name` is the agent's name. (e.g. `"Weather Agent"`). As a fallback to `gen_ai.agent.name`, the product also interprets `gen_ai.function_id` as an agent name for libraries that let users set a tracing identifier on a per-invocation basis.
- If relevant, the `gen_ai.pipeline.name` attribute is the name of the AI workflow, pipeline or chain within which the agent operates. (e.g. `"weather-pipeline"`)
@@ -100,40 +100,46 @@ Additional attributes on the span:
### Request Data
-| Attribute | Type | Description | Example |
-| :--------------------------------- | :----- | :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------- |
-| `gen_ai.input.messages` | string | List of dictionaries describing the messages (prompts) sent to the LLM. **[0]**, **[1]** | `'[{"role": "user", "parts": [{"type": "text", "content": "..."}]}]'` |
-| `gen_ai.tool.definitions` | string | List of dictionaries describing the available tools. **[0]** | `'[{"name": "random_number", "description": "..."}, ...]'` |
-| `gen_ai.system_instructions` | string | The system instructions passed to the model. | `"You are a helpful assistant."` |
-| `gen_ai.request.max_tokens` | int | Model configuration parameter. | `500` |
-| `gen_ai.request.seed` | string | Seed for reproducible outputs. | `"12345"` |
-| `gen_ai.request.frequency_penalty` | float | Model configuration parameter. | `0.5` |
-| `gen_ai.request.presence_penalty` | float | Model configuration parameter. | `0.5` |
-| `gen_ai.request.temperature` | float | Model configuration parameter. | `0.1` |
-| `gen_ai.request.top_p` | float | Model configuration parameter. | `0.7` |
-| `gen_ai.request.top_k` | int | Limits model to K most likely next tokens. | `40` |
-| `gen_ai.request.reasoning.level` | string | The reasoning or thinking effort level requested for a GenAI model. Supported values vary by provider. | `"medium"` |
+
### Response Data
-| Attribute | Type | Description | Example |
-| :------------------------------------ | :------ | :------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------- |
-| `gen_ai.output.messages` | string | Stringified array of message objects representing the model's output. **[0]**, **[1]** | `'[{"role": "assistant", "parts": [{"type": "text", "content": "..."}]}]'` |
-| `gen_ai.response.finish_reasons` | string | The reason why the model stopped generating. | `"stop"` |
-| `gen_ai.response.id` | string | Unique identifier for the completion. | `"chatcmpl-abc123"` |
-| `gen_ai.response.streaming` | boolean | Whether response was streamed asynchronously. | `true` |
-| `gen_ai.response.time_to_first_chunk` | double | Seconds until first response chunk in streaming. | `0.5` |
+
### Token Usage Data
-| Attribute | Type | Description | Example |
-| :----------------------------------------- | :--- | :----------------------------------------------------------------------------------------------------------------------------- | :------ |
-| `gen_ai.usage.input_tokens` | int | The number of tokens used in the AI input (prompt), including cached tokens. | `60` |
-| `gen_ai.usage.cache_read.input_tokens` | int | The number of cached tokens used in the AI input (prompt). | `50` |
-| `gen_ai.usage.cache_creation.input_tokens` | int | Tokens written to cache when processing input. | `20` |
-| `gen_ai.usage.output_tokens` | int | The number of tokens used in the AI output, including reasoning tokens. | `130` |
-| `gen_ai.usage.reasoning.output_tokens` | int | The number of tokens used for reasoning. | `30` |
-| `gen_ai.usage.total_tokens` | int | The sum of `gen_ai.usage.input_tokens` and `gen_ai.usage.output_tokens`. | `190` |
+
## Embedding Span
@@ -148,10 +154,9 @@ This span represents a request to encode input into numeric vector embeddings.
Additional attributes on the span:
-| Attribute | Type | Description | Example |
-| :-------------------------- | :----- | :-------------------------------------- | :-------------- |
-| `gen_ai.embeddings.input` | string | Input to embed. | "Hello, world!" |
-| `gen_ai.usage.input_tokens` | int | The number of tokens used in the input. | `60` |
+
## Execute Tool Span
@@ -165,12 +170,14 @@ Describes a tool execution.
Additional attributes on the span:
-| Attribute | Type | Description | Example |
-| :--------------------------- | :----- | :------------------------------------------------------------------------------------------------------------- | :----------------------------------------- |
-| `gen_ai.tool.name` | string | Name of the tool executed. | `"random_number"` |
-| `gen_ai.tool.description` | string | Description of the tool executed. | `"Tool returning a random number"` |
-| `gen_ai.tool.call.arguments` | string | Arguments of the tool call (stringified). | `'{"max":10}'` |
-| `gen_ai.tool.call.result` | string | Result of the tool call (stringified). | `"7"` |
+
## Derived by Relay
@@ -183,17 +190,3 @@ Relay sets these attributes during ingestion:
- `gen_ai.context.window_size` is looked up from the model metadata registry by `gen_ai.response.model`.
- `gen_ai.context.utilization` is computed as `gen_ai.usage.total_tokens / gen_ai.context.window_size`.
- `gen_ai.cost.input_tokens`, `gen_ai.cost.output_tokens`, and `gen_ai.cost.total_tokens` are calculated from token counts and per-token pricing in the model registry.
-
-
-**[0]:**
-
-Span attributes only allow primitive data types (like `int`, `float`, `boolean`, `string`). This means you need to use a stringified version of a list of dictionaries. Do NOT set the object/array `[{"foo": "bar"}]` but rather the string `'[{"foo": "bar"}]'` (must be parsable JSON).
-
-**[1]:**
-
-Messages use the format `{role, parts}` where `parts` is an array of typed objects: `[{"role": "user", "parts": [{"type": "text", "content": "..."}]}]`. The `role` must be `"user"`, `"assistant"`, `"tool"`, or `"system"`. Each part has a `type`; common types include `"text"` (user-visible content), `"reasoning"` (internal thinking/chain-of-thought), `"tool_call"`, and `"tool_call_response"`. Use `{"type": "reasoning", "content": "..."}` for the model's thinking output — Sentry surfaces it separately and does not render it as a user-visible message in Conversations, so do not represent thinking content as a `"text"` part. For backwards compatibility, the legacy format `{role, content}` is also accepted.
-
-**[2]**
-
-In some agent libraries, the agent name is optional, and some do not provide the user an option to name their agents.
-In these cases, the span name is `"invoke_agent {call_id}"`, where `call_id` is some user-provided identifier for the agent invocation. For example, `functionId` in Vercel AI.
diff --git a/package.json b/package.json
index e077145a96ce0..89e6c56a44837 100644
--- a/package.json
+++ b/package.json
@@ -66,6 +66,7 @@
"@radix-ui/themes": "^3.1.3",
"@sentry-internal/global-search": "^1.3.0",
"@sentry/browser": "11.6.0",
+ "@sentry/conventions": "^0.33.0",
"@sentry/nextjs": "11.6.0",
"@types/mdx": "^2.0.9",
"algoliasearch": "^4.23.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index be0bb14b16151..87d0e30b39657 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -105,6 +105,9 @@ importers:
'@sentry/browser':
specifier: 11.6.0
version: 11.6.0
+ '@sentry/conventions':
+ specifier: ^0.33.0
+ version: 0.33.0
'@sentry/nextjs':
specifier: 11.6.0
version: 11.6.0(@babel/core@7.29.7)(next@15.5.24(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@types/node@22.19.11)(babel-plugin-macros@3.1.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.98.0))(react@19.2.4)(webpack@5.105.2(esbuild@0.28.1)(postcss@8.5.23))
@@ -3115,6 +3118,10 @@ packages:
resolution: {integrity: sha512-ttSRcoLf2kIENDIFzH12aJaVMdxnidMYLvVNwEX/JjXfXaQot8u5M47QmgAFOOhVJ4nQ2uU8wTCh+fwSPrrCfg==}
engines: {node: '>=14'}
+ '@sentry/conventions@0.33.0':
+ resolution: {integrity: sha512-5aa3g/VOnMoL8yHbfkYIWBYC3BLgMudgRNBTKNMrcMEj1mE9aKIt/CYCG7sasijhiSU4nTcSEzyM2voIVzLCng==}
+ engines: {node: '>=14'}
+
'@sentry/core@11.6.0':
resolution: {integrity: sha512-PbITT1kfJYKJiS9fH4ZtOcwIONKyt+tUsTZSPtcAjPdkUDOzMKT61MkUa1Ze07VzNtLALT24ZdUOc6d9K4YoKA==}
engines: {node: '>=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0'}
@@ -10621,6 +10628,8 @@ snapshots:
'@sentry/conventions@0.26.0': {}
+ '@sentry/conventions@0.33.0': {}
+
'@sentry/core@11.6.0':
dependencies:
'@sentry/conventions': 0.26.0
diff --git a/src/components/conventionAttributes/index.spec.tsx b/src/components/conventionAttributes/index.spec.tsx
new file mode 100644
index 0000000000000..1904e6d1cd95b
--- /dev/null
+++ b/src/components/conventionAttributes/index.spec.tsx
@@ -0,0 +1,61 @@
+import {ATTRIBUTE_METADATA} from '@sentry/conventions/attributes';
+import React from 'react';
+import {renderToStaticMarkup} from 'react-dom/server';
+import {describe, expect, it, vi} from 'vitest';
+
+import {ConventionAttributes} from './index';
+
+// Vitest compiles JSX with the classic runtime here (tsconfig `jsx: preserve`).
+vi.stubGlobal('React', React);
+
+describe('ConventionAttributes', () => {
+ it('renders attributes from the conventions package', () => {
+ const html = renderToStaticMarkup(
+
+ );
+
+ expect(html).toContain('gen_ai.tool.name');
+ expect(html).toContain(ATTRIBUTE_METADATA['gen_ai.tool.name'].type);
+ expect(html).toContain(ATTRIBUTE_METADATA['gen_ai.tool.name'].brief);
+ });
+
+ it('appends page-specific notes to the description', () => {
+ const html = renderToStaticMarkup(
+
+ );
+
+ expect(html).toContain('[2]');
+ });
+
+ it('throws on unknown attributes so the build fails', () => {
+ expect(() =>
+ renderToStaticMarkup()
+ ).toThrow('unknown attribute "gen_ai.not.a.thing"');
+ });
+
+ it('throws on keys inherited from Object.prototype', () => {
+ expect(() =>
+ renderToStaticMarkup()
+ ).toThrow('unknown attribute "constructor"');
+ });
+
+ it('single-quotes stringified JSON examples', () => {
+ const html = renderToStaticMarkup(
+
+ );
+
+ expect(html).toContain(
+ `'${ATTRIBUTE_METADATA['gen_ai.tool.call.arguments'].example}'`.replaceAll(
+ '"',
+ '"'
+ )
+ );
+ expect(html).toContain(
+ `"${ATTRIBUTE_METADATA['gen_ai.tool.name'].example}"`
+ );
+ });
+});
diff --git a/src/components/conventionAttributes/index.tsx b/src/components/conventionAttributes/index.tsx
new file mode 100644
index 0000000000000..77b4fa4a1d7f4
--- /dev/null
+++ b/src/components/conventionAttributes/index.tsx
@@ -0,0 +1,72 @@
+import {
+ ATTRIBUTE_METADATA,
+ type AttributeMetadata,
+ type AttributeValue,
+} from '@sentry/conventions/attributes';
+import {micromark} from 'micromark';
+
+type Props = {
+ attributes: (string | {key: string; notes?: string})[];
+};
+
+const metadata: Record = ATTRIBUTE_METADATA;
+
+/**
+ * Renders attribute details from `@sentry/conventions`, so pages don't copy
+ * types, descriptions, and examples that drift from the source of truth.
+ */
+export function ConventionAttributes({attributes}: Props) {
+ const rows = attributes.map(row => {
+ const {key, notes} = typeof row === 'string' ? {key: row} : row;
+ // `Object.hasOwn` so keys like `constructor` don't pass as known attributes.
+ const attribute = Object.hasOwn(metadata, key) ? metadata[key] : undefined;
+ if (!attribute) {
+ throw new Error(`: unknown attribute "${key}"`);
+ }
+ const description = micromark([attribute.brief, notes].filter(Boolean).join(' '))
+ .replace(/^
+ );
+}
+
+function formatExample(example: AttributeValue) {
+ if (typeof example !== 'string') {
+ return JSON.stringify(example);
+ }
+ // Single-quote stringified JSON so its inner double quotes stay readable.
+ return /^[[{]/.test(example) ? `'${example}'` : `"${example}"`;
+}
diff --git a/src/mdxComponents.ts b/src/mdxComponents.ts
index 13d823b180d63..27d17c1f72fe1 100644
--- a/src/mdxComponents.ts
+++ b/src/mdxComponents.ts
@@ -12,6 +12,7 @@ import {CommunitySupportedPlatforms} from './components/communitySupportedPlatfo
import {ConfigKey} from './components/configKey';
import {ConfigValue} from './components/configValue';
import {ContentSeparator} from './components/contentSeparator';
+import {ConventionAttributes} from './components/conventionAttributes';
import {CopyableCard} from './components/copyableCard';
import {CreateGitHubAppForm} from './components/createGitHubAppForm';
import {DefinitionList} from './components/definitionList';
@@ -82,6 +83,7 @@ export function mdxComponents(
CliChecksumTable,
CommunitySupportedPlatforms,
ContentSeparator,
+ ConventionAttributes,
DevDocsCardGrid,
PlatformFilter,
CodeBlock,
From 1a2e1ef8de19ea6bb33e65e6d5bbcb8f5461a95b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Peer=20St=C3=B6cklmair?=
Date: Tue, 10 Nov 2026 11:15:12 -0500
Subject: [PATCH 010/141] docs(js): Move the Cloudflare quick starts into the
framework guides (#19977)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
This moves the pages under Cloudflare → Frameworks into their framework
guides as "Quick Start (Cloudflare)", right below the default quick
start, for example `/guides/nextjs/cloudflare/`. This applies to Astro,
Hono, Next.js, Nuxt, Remix, SvelteKit and TanStack Start. The pages keep
their content, and the old URLs redirect.
- Next.js on Cloudflare is now a full quick start (wizard, Wrangler
configuration, `withSentry` Worker entry for OpenNext and vinext,
verification).
- The Hydrogen guides move into the React Router guide (Hydrogen
2025.5.0 and later) and the Remix guide (older versions, as "Hydrogen
(Legacy)").
- Cloudflare → Frameworks redirects to the Cloudflare quick start, which
links to every framework page.
- The TanStack Start page now installs `@sentry/tanstackstart-react`,
which its code imports, and its Wrangler and source maps sections render
again.
Each framework with quick starts for more than one runtime also gets [a
runtime
selector](https://sentry-docs-git-jp-poc-c-runtime-quick-starts.sentry.dev/platforms/javascript/guides/nextjs/cloudflare/).
It is static HTML, so the Markdown export for agents has the same links
as a "Runtime" list:
## Hono decision
The Hono page moves as it is: it shows the Cloudflare install and
configure steps, and links to the Hono quick start for the rest. The
Hono quick start already covers Cloudflare in its runtime tabs, so the
alternative is to redirect the old page there. A full Cloudflare quick
start and the runtime selector for Hono will come in a follow up,
because the Hono guide needs some rework.
## Known issues
- No Bun or Deno quick starts for Next.js and Nuxt, because the SDK repo
has no tests for them on these runtimes.
- The Next.js verify step builds with `opennextjs-cloudflare`, so it
does not apply to vinext apps.
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Claude Opus 5.5
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
---
AGENTS.md | 1 +
.../common/troubleshooting/index.mdx | 2 +-
.../astro.mdx => astro/cloudflare.mdx} | 8 +-
.../javascript/guides/astro/index.mdx | 3 +-
.../guides/cloudflare/frameworks/index.mdx | 8 -
.../guides/cloudflare/frameworks/nextjs.mdx | 127 ------
.../guides/cloudflare/frameworks/nuxt.mdx | 11 -
.../javascript/guides/cloudflare/index.mdx | 18 +-
.../hono.mdx => hono/cloudflare.mdx} | 3 +
.../deploying-on-cloudflare.mdx | 7 -
.../javascript/guides/nextjs/cloudflare.mdx | 9 +
.../javascript/guides/nextjs/index.mdx | 251 +----------
.../javascript/guides/nuxt/cloudflare.mdx | 11 +
.../features/nitro-deployment-presets.mdx | 2 +-
.../javascript/guides/nuxt/index.mdx | 105 +----
.../javascript/guides/nuxt/install/index.mdx | 2 +-
.../hydrogen.mdx} | 7 +-
.../remix.mdx => remix/cloudflare.mdx} | 19 +-
.../guides/remix/frameworks/index.mdx | 9 -
.../hydrogen-remix.mdx => remix/hydrogen.mdx} | 6 +-
.../javascript/guides/remix/index.mdx | 1 +
.../cloudflare.mdx} | 8 +-
.../javascript/guides/sveltekit/index.mdx | 3 +-
.../sveltekit/manual-setup__v10.7.0.mdx | 4 +-
.../cloudflare.mdx} | 31 +-
.../guides/tanstackstart-react/index.mdx | 1 +
.../how-to-use/javascript.remix.mdx | 2 +-
.../javascript.astro.mdx | 258 ++++++++++++
.../javascript.nextjs.mdx | 209 ++++++++++
.../javascript.nuxt.mdx | 314 ++++++++++++++
.../javascript.remix.mdx | 388 ++++++++++++++++++
.../javascript.sveltekit.mdx | 358 ++++++++++++++++
.../javascript.astro.mdx | 153 +------
.../javascript.nuxt.mdx | 97 -----
.../javascript.remix.mdx | 182 --------
.../javascript.sveltekit.mdx | 120 +-----
.../javascript.nextjs.mdx | 110 +++++
.../getting-started-node/javascript.nuxt.mdx | 130 ++++++
.../javascript.sveltekit.mdx | 2 +-
.../javascript.nextjs.mdx | 143 +++++++
redirects.js | 39 +-
src/components/docPage/index.tsx | 2 +
src/components/runtimeLinks.spec.ts | 70 ++++
src/components/runtimeLinks.ts | 61 +++
src/components/runtimeSelector.tsx | 66 +++
src/components/sidebar/dynamicNav.tsx | 5 +-
src/components/sidebar/platformSidebar.tsx | 4 +
src/types/frontmatter.ts | 6 +
48 files changed, 2260 insertions(+), 1116 deletions(-)
rename docs/platforms/javascript/guides/{cloudflare/frameworks/astro.mdx => astro/cloudflare.mdx} (95%)
delete mode 100644 docs/platforms/javascript/guides/cloudflare/frameworks/index.mdx
delete mode 100644 docs/platforms/javascript/guides/cloudflare/frameworks/nextjs.mdx
delete mode 100644 docs/platforms/javascript/guides/cloudflare/frameworks/nuxt.mdx
rename docs/platforms/javascript/guides/{cloudflare/frameworks/hono.mdx => hono/cloudflare.mdx} (96%)
delete mode 100644 docs/platforms/javascript/guides/nextjs/best-practices/deploying-on-cloudflare.mdx
create mode 100644 docs/platforms/javascript/guides/nextjs/cloudflare.mdx
create mode 100644 docs/platforms/javascript/guides/nuxt/cloudflare.mdx
rename docs/platforms/javascript/guides/{cloudflare/frameworks/hydrogen-react-router.mdx => react-router/hydrogen.mdx} (97%)
rename docs/platforms/javascript/guides/{cloudflare/frameworks/remix.mdx => remix/cloudflare.mdx} (68%)
delete mode 100644 docs/platforms/javascript/guides/remix/frameworks/index.mdx
rename docs/platforms/javascript/guides/{cloudflare/frameworks/hydrogen-remix.mdx => remix/hydrogen.mdx} (96%)
rename docs/platforms/javascript/guides/{cloudflare/frameworks/sveltekit.mdx => sveltekit/cloudflare.mdx} (55%)
rename docs/platforms/javascript/guides/{cloudflare/frameworks/tanstack-start.mdx => tanstackstart-react/cloudflare.mdx} (89%)
create mode 100644 platform-includes/getting-started-cloudflare/javascript.astro.mdx
create mode 100644 platform-includes/getting-started-cloudflare/javascript.nextjs.mdx
create mode 100644 platform-includes/getting-started-cloudflare/javascript.nuxt.mdx
create mode 100644 platform-includes/getting-started-cloudflare/javascript.remix.mdx
create mode 100644 platform-includes/getting-started-cloudflare/javascript.sveltekit.mdx
create mode 100644 platform-includes/getting-started-node/javascript.nextjs.mdx
create mode 100644 platform-includes/getting-started-node/javascript.nuxt.mdx
create mode 100644 platform-includes/getting-started-wizard-files/javascript.nextjs.mdx
create mode 100644 src/components/runtimeLinks.spec.ts
create mode 100644 src/components/runtimeLinks.ts
create mode 100644 src/components/runtimeSelector.tsx
diff --git a/AGENTS.md b/AGENTS.md
index 0c692c1be4f92..90f746d72ed98 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -98,6 +98,7 @@ When writing requirements in `develop-docs/`:
- **ALWAYS** run `/brand-guidelines` to audit any user-facing content before committing. See `.agents/skills/brand-guidelines/SKILL.md`
- Use `docs-review` skill for Sentry style and voice review. See `.claude/skills/docs-review/SKILL.md`
- Use `technical-docs` skill when writing or reviewing SDK documentation. See `.claude/skills/technical-docs/SKILL.md`
+- Quick starts set `runtime` (for example `node` or `cloudflare`) in their frontmatter. The page then shows a runtime selector at the top that links the quick starts of the same guide for the other runtimes
## LLM-Friendly MD Exports
diff --git a/docs/platforms/javascript/common/troubleshooting/index.mdx b/docs/platforms/javascript/common/troubleshooting/index.mdx
index 1fb9a9adef7e9..e97f66b03a2b2 100644
--- a/docs/platforms/javascript/common/troubleshooting/index.mdx
+++ b/docs/platforms/javascript/common/troubleshooting/index.mdx
@@ -636,7 +636,7 @@ Learn more about fixing these caching issues in the
-
+
diff --git a/docs/platforms/javascript/guides/astro/index.mdx b/docs/platforms/javascript/guides/astro/index.mdx
index 85729298541b1..8e03a67597c9b 100644
--- a/docs/platforms/javascript/guides/astro/index.mdx
+++ b/docs/platforms/javascript/guides/astro/index.mdx
@@ -5,6 +5,7 @@ sdk: sentry.javascript.astro
categories:
- browser
- server
+runtime: node
---
## Prerequisites
@@ -18,7 +19,7 @@ You need:
-This SDK currently only works on Node runtimes, such as Node adapter or Vercel with Lambda functions. If you use Cloudflare Workers or Cloudflare Pages, refer to our [Astro on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/astro/). Other non-Node runtimes, like Vercel's Edge runtime, are currently **not supported**.
+This SDK currently only works on Node runtimes, such as Node adapter or Vercel with Lambda functions. If you use Cloudflare Workers or Cloudflare Pages, refer to our [Astro on Cloudflare guide](/platforms/javascript/guides/astro/cloudflare/). Other non-Node runtimes, like Vercel's Edge runtime, are currently **not supported**.
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/index.mdx b/docs/platforms/javascript/guides/cloudflare/frameworks/index.mdx
deleted file mode 100644
index 91bb3bbe66db2..0000000000000
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/index.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: Frameworks on Cloudflare
-description: "Learn how to set up the Cloudflare SDK with popular frameworks like Astro, SvelteKit, and Remix."
----
-
-You can use the Sentry Cloudflare SDK in combination with Sentry meta-framework SDKs like SvelteKit or Remix to instrument your Cloudflare Pages applications that use these frameworks.
-
-
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/nextjs.mdx b/docs/platforms/javascript/guides/cloudflare/frameworks/nextjs.mdx
deleted file mode 100644
index 6d4f78393a76a..0000000000000
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/nextjs.mdx
+++ /dev/null
@@ -1,127 +0,0 @@
----
-title: Next.js on Cloudflare
-description: "Learn how to configure Sentry for your Next.js application deployed on Cloudflare Workers."
----
-
-The Sentry Next.js SDK supports Next.js applications deployed on Cloudflare Workers, but requires additional configuration to run in this environment.
-
-## Prerequisites
-
-Before you begin, make sure you have:
-
-- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
-- A [Cloudflare Workers project](https://dash.cloudflare.com/workers/overview)
-- A Next.js application configured for Cloudflare Workers with [OpenNext](https://opennext.js.org/cloudflare) or [vinext](https://github.com/cloudflare/vinext)
-- The Sentry SDK [installed and configured](/platforms/javascript/guides/nextjs/) in your Next.js application
-
-
- If you haven't deployed a Next.js app to Cloudflare Workers before, follow
- Cloudflare's [Next.js deployment
- guide](https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/)
- to get started.
-
-
-## Configure Wrangler
-
-Once you've set up Sentry in your Next.js application following the [installation guide](/platforms/javascript/guides/nextjs/), you'll need to configure [Wrangler](https://developers.cloudflare.com/workers/wrangler/) with the required compatibility settings.
-
-First, add the `nodejs_compat` [compatibility flag](https://developers.cloudflare.com/workers/runtime-apis/nodejs/) to configure the Cloudflare Workers runtime to provide the Node.js APIs required by the Sentry SDK.
-
-```json {tabTitle:wrangler.jsonc}
-{
- "compatibility_flags": ["nodejs_compat"]
-}
-```
-
-```toml {tabTitle:wrangler.toml}
-compatibility_flags = ["nodejs_compat"]
-```
-
-Then, set the [compatibility date](https://developers.cloudflare.com/workers/configuration/compatibility-dates/) to `2025-08-16` or later. This is required to introduce `https.request` to the Cloudflare Workers runtime, which the Sentry SDK needs to send data.
-
-Your final configuration should look like this:
-
-```json {tabTitle:wrangler.jsonc}
-{
- "compatibility_flags": ["nodejs_compat"],
- "compatibility_date": "2025-08-16"
-}
-```
-
-```toml {tabTitle:wrangler.toml}
-compatibility_flags = ["nodejs_compat"]
-compatibility_date = "2025-08-16"
-```
-
-## Wrap the Worker Entry
-
-
-
-If you build your app with vinext, skip to [Wrap the Worker Entry With vinext](#wrap-the-worker-entry-with-vinext).
-
-On Cloudflare Workers, your Next.js app runs inside the Worker entry that OpenNext generates (`.open-next/worker.js`). Wrap this entry with `withSentry` from `@sentry/nextjs/cloudflare` to get the same Next.js spans as on Node.js, plus Cloudflare data such as spans for D1 queries. Each request gets one `http.server` span with the name of the Next.js route, and the Next.js spans become its children.
-
-`@sentry/nextjs` depends on `@sentry/cloudflare`, so you don't need to install another package.
-
-First, create a [custom Worker](https://opennext.js.org/cloudflare/howtos/custom-worker) that imports the handler of OpenNext and wraps it with `withSentry`. Pass your Sentry options to `withSentry`:
-
-```typescript {filename:worker.ts}
-import * as Sentry from "@sentry/nextjs/cloudflare";
-// @ts-ignore `.open-next/worker.js` is generated at build time
-import handler from "./.open-next/worker.js";
-
-// Re-export the Durable Objects your app uses, for example for the DO Queue and DO Tag Cache of OpenNext
-// @ts-ignore `.open-next/worker.js` is generated at build time
-export { DOQueueHandler, DOShardedTagCache } from "./.open-next/worker.js";
-
-export default Sentry.withSentry(
- () => ({
- dsn: "___PUBLIC_DSN___",
-
- // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
- // Learn more at
- // https://docs.sentry.io/platforms/javascript/guides/cloudflare/configuration/options/#tracesSampleRate
- tracesSampleRate: 1.0,
- }),
- handler
-);
-```
-
-Then, point `main` in your Wrangler configuration to this file:
-
-```json {tabTitle:wrangler.jsonc}
-{
- "main": "./worker.ts"
-}
-```
-
-```toml {tabTitle:wrangler.toml}
-main = "./worker.ts"
-```
-
-### Wrap the Worker Entry With vinext
-
-
-
-With [vinext](https://github.com/cloudflare/vinext), you don't need a custom Worker. Add the Sentry Vite plugin to your Vite config, and it wraps your Worker entry with `withSentry` from `@sentry/nextjs/cloudflare` automatically.
-
-### Server and Edge Configuration in the Worker
-
-In the Worker, `withSentry` creates the Sentry client. `Sentry.init()` in `sentry.server.config.ts` and `sentry.edge.config.ts` still runs, but it creates no client and only applies the `release` option. Set all other options in `withSentry`.
-
-On Workers, these two files are optional. Keep them if you use `next dev`, which runs on Node.js and doesn't use the Worker entry. They also pass on the release that `withSentryConfig` sets at build time.
-
-Keep `instrumentation.ts`, because Next.js reports server errors, for example from Server Components and route handlers, through its `onRequestError` hook.
-
-The SDK takes the release from the first of these sources that has a value:
-
-1. The `release` option of `withSentry`
-2. The `SENTRY_RELEASE` environment variable
-3. The ID of the `CF_VERSION_METADATA` binding
-4. The `release` option of `Sentry.init()` in `sentry.server.config.ts` or `sentry.edge.config.ts`, or else the release that `withSentryConfig` sets at build time
-
-On Node.js, the build release comes before `SENTRY_RELEASE`.
-
-## Deploy
-
-Build and deploy your Next.js application to Cloudflare Workers. You should start seeing error events, traces, and logs appear in Sentry.
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/nuxt.mdx b/docs/platforms/javascript/guides/cloudflare/frameworks/nuxt.mdx
deleted file mode 100644
index 3b3444b1cf8a7..0000000000000
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/nuxt.mdx
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: Nuxt on Cloudflare
-description: "Learn how to instrument your Nuxt app on Cloudflare Workers and Pages and capture your first errors with Sentry."
----
-
-This guide will show you how to set up the SDK with Nitro's `cloudflare_module` (or their deprecated `cloudflare-pages`) deployment preset.
-
-
diff --git a/docs/platforms/javascript/guides/cloudflare/index.mdx b/docs/platforms/javascript/guides/cloudflare/index.mdx
index 76049c2c54552..51632e610ec6b 100644
--- a/docs/platforms/javascript/guides/cloudflare/index.mdx
+++ b/docs/platforms/javascript/guides/cloudflare/index.mdx
@@ -14,14 +14,14 @@ This guide covers Cloudflare Workers. If you're deploying a Cloudflare Pages app
If you're using any of the listed frameworks, follow their specific setup instructions:
-- **[Astro](/platforms/javascript/guides/cloudflare/frameworks/astro/)**
-- **[Hono](/platforms/javascript/guides/hono/)** (with @sentry/hono)
-- **[Hydrogen](/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/)**
-- **[Next.js](/platforms/javascript/guides/cloudflare/frameworks/nextjs/)**
-- **[Nuxt](/platforms/javascript/guides/cloudflare/frameworks/nuxt/)**
-- **[Remix](/platforms/javascript/guides/cloudflare/frameworks/remix/)**
-- **[SvelteKit](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)**
-- **[TanStack Start](/platforms/javascript/guides/cloudflare/frameworks/tanstack-start/)**
+- **[Astro](/platforms/javascript/guides/astro/cloudflare/)**
+- **[Hono](/platforms/javascript/guides/hono/cloudflare/)** (with @sentry/hono)
+- **[Hydrogen](/platforms/javascript/guides/react-router/hydrogen/)**
+- **[Next.js](/platforms/javascript/guides/nextjs/cloudflare/)**
+- **[Nuxt](/platforms/javascript/guides/nuxt/cloudflare/)**
+- **[Remix](/platforms/javascript/guides/remix/cloudflare/)**
+- **[SvelteKit](/platforms/javascript/guides/sveltekit/cloudflare/)**
+- **[TanStack Start](/platforms/javascript/guides/tanstackstart-react/cloudflare/)**
The Cloudflare Workers runtime has some platform-specific limitations that
@@ -178,7 +178,7 @@ At this point, you should have integrated Sentry into your Cloudflare Worker. He
-- Check out setup instructions for popular [frameworks on Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/)
+- Using a framework? Follow its setup instructions, linked at the top of this page
- Find various support topics in troubleshooting
- [Get support](https://www.sentry.help/en/)
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/hono.mdx b/docs/platforms/javascript/guides/hono/cloudflare.mdx
similarity index 96%
rename from docs/platforms/javascript/guides/cloudflare/frameworks/hono.mdx
rename to docs/platforms/javascript/guides/hono/cloudflare.mdx
index 6a7df59814d50..a07aa937e23da 100644
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/hono.mdx
+++ b/docs/platforms/javascript/guides/hono/cloudflare.mdx
@@ -1,6 +1,9 @@
---
title: Hono on Cloudflare
description: "Learn how to instrument your Hono app on Cloudflare Workers with Sentry."
+sidebar_title: Quick Start (Cloudflare)
+sidebar_order: 0.5
+runtime: cloudflare
---
Hono has its own dedicated SDK (`@sentry/hono`) with first-class support for Cloudflare Workers, Node.js, Bun, and Deno. It works as Hono middleware, so you can drop it into an existing app.
diff --git a/docs/platforms/javascript/guides/nextjs/best-practices/deploying-on-cloudflare.mdx b/docs/platforms/javascript/guides/nextjs/best-practices/deploying-on-cloudflare.mdx
deleted file mode 100644
index 2fc24a8629806..0000000000000
--- a/docs/platforms/javascript/guides/nextjs/best-practices/deploying-on-cloudflare.mdx
+++ /dev/null
@@ -1,7 +0,0 @@
----
-title: Deploying on Cloudflare Workers
-description: "Learn how to configure Sentry for your Next.js application deployed on Cloudflare Workers."
-sidebar_section: configuration
----
-
-For instructions on deploying your Next.js application with Sentry on Cloudflare Workers, see the [Next.js on Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/nextjs/) guide.
diff --git a/docs/platforms/javascript/guides/nextjs/cloudflare.mdx b/docs/platforms/javascript/guides/nextjs/cloudflare.mdx
new file mode 100644
index 0000000000000..c12cffdcce951
--- /dev/null
+++ b/docs/platforms/javascript/guides/nextjs/cloudflare.mdx
@@ -0,0 +1,9 @@
+---
+title: Next.js on Cloudflare
+sidebar_title: Quick Start (Cloudflare)
+sidebar_order: 0.5
+description: "Learn how to set up Sentry in your Next.js application deployed on Cloudflare Workers and capture your first errors."
+runtime: cloudflare
+---
+
+
diff --git a/docs/platforms/javascript/guides/nextjs/index.mdx b/docs/platforms/javascript/guides/nextjs/index.mdx
index 71fff4aae652d..3086deec71c81 100644
--- a/docs/platforms/javascript/guides/nextjs/index.mdx
+++ b/docs/platforms/javascript/guides/nextjs/index.mdx
@@ -5,256 +5,9 @@ sdk: sentry.javascript.nextjs
categories:
- browser
- server
+runtime: node
---
-
-
-
-
-## Install
-
-### Run the Installation Wizard
-
-Run the Sentry wizard to automatically install the SDK and configure Sentry in your Next.js application:
-
-```bash
-npx @sentry/wizard@latest -i nextjs
-```
-
-The wizard asks whether you want to enable **Tracing** and **Session Replay**, route browser requests through your server to avoid ad blockers, and create an example page. To match the configuration in this guide, answer **Yes** to each.
-
-Prefer to set things up yourself? Check out the [Manual Setup](/platforms/javascript/guides/nextjs/manual-setup/) guide.
-
-## Configure
-
-**Error Monitoring** starts working as soon as you call `Sentry.init()`. **Logs** and **Application Metrics** need no extra configuration, and you'll learn how to send them in steps [#3](#send-logs) and [#4](#send-application-metrics-).
-This guide also enables **Tracing**, **Session Replay**, and **User Feedback**.
-
-
-
-### Initialize the SDK
-
-Next.js runs code in different environments, so the wizard creates a separate initialization file for each in your project's root directory (or `src` folder):
-
-- `instrumentation-client.ts`: runs in the browser
-- `sentry.server.config.ts`: runs in the Node.js runtime
-- `sentry.edge.config.ts`: runs in the Edge runtime
-
-Use the tabs in the code box below to view each file.
-
-The snippets also turn on:
-
-- Tracing: via `tracesSampleRate` in all three files
-- Session Replay: via `replayIntegration()`, sampled with `replaysSessionSampleRate` and `replaysOnErrorSampleRate`
-- User Feedback: via `feedbackIntegration()`. The wizard doesn't add this integration, so add it to `instrumentation-client.ts` yourself.
-
-Don't need a feature? Remove its integration and options from the snippets.
-
-```typescript {tabTitle:Client} {mdExpandTabs} {filename:instrumentation-client.ts}
-import * as Sentry from "@sentry/nextjs";
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- integrations: [
- // enables Session Replay
- Sentry.replayIntegration(),
- // enables User Feedback
- Sentry.feedbackIntegration({
- // Additional integration configuration goes in here
- colorScheme: "system",
- }),
- ],
-
- // Enables Tracing.
- // Set to 1.0 to capture 100% of spans for tracing.
- // We recommend reducing this value in production.
- tracesSampleRate: 1.0,
-
- // Capture replays for 10% of all sessions,
- // plus for 100% of sessions with an error
- // Requires Sentry.replayIntegration()
- replaysSessionSampleRate: 0.1,
- replaysOnErrorSampleRate: 1.0,
-});
-
-// Instruments client-side navigations
-export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;
-```
-
-```typescript {tabTitle:Server} {filename:sentry.server.config.ts}
-import * as Sentry from "@sentry/nextjs";
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
-
- // Enables Tracing.
- // Set to 1.0 to capture 100% of spans for tracing.
- // We recommend reducing this value in production.
- tracesSampleRate: 1.0,
-});
-```
-
-```typescript {tabTitle:Edge} {filename:sentry.edge.config.ts}
-import * as Sentry from "@sentry/nextjs";
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
-
- // Enables Tracing.
- // Set to 1.0 to capture 100% of spans for tracing.
- // We recommend reducing this value in production.
- tracesSampleRate: 1.0,
-});
-```
-
-### Register the Server-Side Configuration
-
-The wizard creates a [Next.js instrumentation file](https://nextjs.org/docs/app/guides/instrumentation) named `instrumentation.ts`. It loads your server and edge configurations, and exports `onRequestError` to capture errors from Server Components, route handlers, and middleware.
-
-```typescript {filename:instrumentation.ts}
-import * as Sentry from "@sentry/nextjs";
-
-export async function register() {
- if (process.env.NEXT_RUNTIME === "nodejs") {
- await import("./sentry.server.config");
- }
-
- if (process.env.NEXT_RUNTIME === "edge") {
- await import("./sentry.edge.config");
- }
-}
-
-export const onRequestError = Sentry.captureRequestError;
-```
-
-### Capture React Render Errors
-
-If you use the App Router, the wizard adds Sentry to `app/global-error.tsx` to capture React rendering errors. If you use the Pages Router, it adds Sentry to `pages/_error.tsx` instead.
-
-
-
-### Apply Instrumentation to Your App
-
-The wizard wraps your Next.js configuration with `withSentryConfig`. This instruments your app at build time, uploads source maps, and, if you said yes in the wizard, routes browser requests to Sentry through your server to avoid ad blockers.
-
-To forward only the request body to Sentry, add a tunnel route handler (SDK version `10.77.1` and later on v10, `11.9.0` and later on v11). Use the handler if Vercel Deployment Protection or another login protects your app.
-Learn more about the [`tunnelRoute` option](/platforms/javascript/guides/nextjs/configuration/build/#tunnelRoute).
-
-```typescript {filename:next.config.ts}
-import type { NextConfig } from "next";
-import { withSentryConfig } from "@sentry/nextjs/config";
-
-const nextConfig: NextConfig = {
- // Your existing Next.js configuration
-};
-
-export default withSentryConfig(nextConfig, {
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
-
- // Only print logs for uploading source maps in CI
- silent: !process.env.CI,
-
- // Upload a larger set of source maps for prettier stack traces (increases build time)
- widenClientFileUpload: true,
-
- // Route browser requests to Sentry through a Next.js rewrite to avoid ad blockers.
- // This can increase your server load as well as your hosting bill.
- tunnelRoute: "/monitoring",
-});
-```
-
-### Add Readable Stack Traces With Source Maps
-
-The wizard stores your auth token in `.env.sentry-build-plugin` and adds the file to `.gitignore`. The Sentry build plugin uses this token to upload source maps when you build your app locally.
-
-For CI/CD builds, set the `SENTRY_AUTH_TOKEN` environment variable in your build system instead.
-
-
-
-```bash {filename:.env.sentry-build-plugin}
-SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
-```
-
-### Control the Data You Send to Sentry
-
-
-
-## Send Logs
-
-
-
-If you're already logging with another library, use an integration to capture those logs as Sentry Logs automatically:
-
-- `consoleLoggingIntegration` for `console` calls
-- Consola
-- Pino
-- Winston
-
-## Send Application Metrics
-
-
-
-In the Node.js runtime, `nodeRuntimeMetricsIntegration` also collects runtime health metrics automatically.
-
-## Verify Your Setup
-
-Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
-
-The wizard created an example page that sends a test error from both your frontend and your backend:
-
-1. Start your development server:
-
- ```bash
- npm run dev
- ```
-
-2. Open [localhost:3000/sentry-example-page](http://localhost:3000/sentry-example-page) in your browser.
-3. Click **Throw Sample Error**.
-
-If you skipped the example page, add a test button to one of your pages instead. Clicking it will trigger an error for Sentry to capture.
-
-```tsx {filename:app/page.tsx}
-"use client";
-
-export default function Page() {
- return (
-
- );
-}
-```
-
-
-
-### View Captured Data in Sentry
-
-Now, head over to your project on [Sentry.io](https://sentry.io/) to view the collected data (it takes a couple of moments for the data to appear).
-
-
-
-## Next Steps
-
-At this point, you should have integrated Sentry into your Next.js application. Here's what to explore next:
-
-- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Set up Agent Tracing to monitor agents built with the Vercel AI SDK, LangChain, and more
-- Set up tunneling to avoid ad blockers blocking Sentry events, if you didn't enable it in the wizard
-
-
-
-- If you encountered issues with our installation wizard, try [setting up Sentry manually](/platforms/javascript/guides/nextjs/manual-setup/)
-- Find various topics in Troubleshooting
-- [Get support](https://www.sentry.help/en/)
-
-
-
-
+
diff --git a/docs/platforms/javascript/guides/nuxt/cloudflare.mdx b/docs/platforms/javascript/guides/nuxt/cloudflare.mdx
new file mode 100644
index 0000000000000..312a366e6a20c
--- /dev/null
+++ b/docs/platforms/javascript/guides/nuxt/cloudflare.mdx
@@ -0,0 +1,11 @@
+---
+title: Nuxt on Cloudflare
+sidebar_title: Quick Start (Cloudflare)
+sidebar_order: 0.5
+description: "Learn how to instrument your Nuxt app on Cloudflare Workers and Pages and capture your first errors with Sentry."
+runtime: cloudflare
+---
+
+This guide shows how to set up the SDK with Nitro's `cloudflare_module` deployment preset, or with the deprecated `cloudflare-pages` preset.
+
+
diff --git a/docs/platforms/javascript/guides/nuxt/features/nitro-deployment-presets.mdx b/docs/platforms/javascript/guides/nuxt/features/nitro-deployment-presets.mdx
index 945f878d90816..ca23844d62a0d 100644
--- a/docs/platforms/javascript/guides/nuxt/features/nitro-deployment-presets.mdx
+++ b/docs/platforms/javascript/guides/nuxt/features/nitro-deployment-presets.mdx
@@ -8,4 +8,4 @@ The Sentry Nuxt SDK provides support for different Nitro deployment presets, mos
## Cloudflare Pages
-Using the Cloudflare Nitro plugin of Sentry enables Sentry monitoring on Cloudflare Workers and Pages. Go and see the [Cloudflare Nitro plugin documentation](/platforms/javascript/guides/cloudflare/frameworks/nuxt/).
+Using the Cloudflare Nitro plugin of Sentry enables Sentry monitoring on Cloudflare Workers and Pages. Go and see the [Cloudflare Nitro plugin documentation](/platforms/javascript/guides/nuxt/cloudflare/).
diff --git a/docs/platforms/javascript/guides/nuxt/index.mdx b/docs/platforms/javascript/guides/nuxt/index.mdx
index 0fd2306ca119c..939e36f930dc8 100644
--- a/docs/platforms/javascript/guides/nuxt/index.mdx
+++ b/docs/platforms/javascript/guides/nuxt/index.mdx
@@ -5,108 +5,7 @@ sdk: sentry.javascript.nuxt
categories:
- browser
- server
+runtime: node
---
-
-
-
-
-## Install
-
-
-
-
-
-
-
-
-
-## Avoid Ad Blockers With Tunneling (Optional)
-
-
-
-## Control the Data You Send to Sentry (Optional)
-
-
-
-## Verify Your Setup
-
-The `sentry init` command checks the integration files it creates or modifies before it finishes. To confirm runtime events are reaching Sentry, start your Nuxt app, exercise the parts of your app that should send events, and then check your Sentry project.
-
-If you used the Nuxt installation wizard instead, you can also verify your setup with the example page or component it creates.
-
-
-The wizard creates a `SentryErrorButton` component when it fails to add an example page to your project. This usually happens if you don't have a `app.vue` file or if that file does not contain the `NuxtPage` component. To verify your setup, follow these steps before continuing with the next section, "View Captured Data in Sentry":
-
-1. Add the `SentryErrorButton` component to a page and open it in your browser. For most Nuxt applications, this will be at localhost.
-2. Click the "Throw Sample Error" button, which triggers an error and starts a performance trace on the client side.
-
-To test the server side as well, refer to the "Verify" section in the [Manual setup guide](/platforms/javascript/guides/nuxt/manual-setup/).
-
-
-
-To test Sentry, you can run your Nuxt application in either production or development mode.
-We **recommend testing in production mode** as it most closely resembles your deployed application's environment.
-
-The SDK bundles `sentry.server.config.ts` into the Nitro server build and initializes Sentry when the server starts. To learn more, see Server-Side Installation.
-
-### Run in Production Mode (Recommended)
-
-Build your project with `nuxi build`, then start the server.
-
-```bash
-# Start your app after building your project with `nuxi build`
-node .output/server/index.mjs
-```
-
-### Run in Development Mode
-
-Sentry also monitors the server side during development. Start the dev server as usual.
-
-Spans from some libraries, such as database clients, can be missing in development mode.
-Errors and request traces always work. To learn more, see Development Mode.
-
-```bash
-nuxt dev
-```
-
-If you used the Nuxt installation wizard, after building and running your project:
-
-1. Open the example page `/sentry-example-page` in your browser. For most Nuxt applications, this will be at localhost.
-2. Click the "Throw sample error" button. This triggers two errors:
- - a frontend error
- - an error within the API route
-
-Sentry captures both of these errors for you. Additionally, the button click starts a performance trace to measure the time it takes for the API request to complete.
-
-
-
-### View Captured Data in Sentry
-
-Now, head over to your project on [Sentry.io](https://sentry.io/) to view the collected data (it takes a couple of moments for the data to appear).
-
-
-
-
-
-## Next Steps
-
-At this point, you should have integrated Sentry into your Nuxt application and should already be sending error and performance data to your Sentry project.
-
-Now's a good time to customize your setup and look into more advanced topics. Our next recommended steps for you are:
-
-- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Learn how to [manually capture errors](/platforms/javascript/guides/nuxt/usage/)
-- Continue to [customize your configuration](/platforms/javascript/guides/nuxt/configuration/)
-- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
-- Learn how to [track your Vue components or your Pinia store](/platforms/javascript/guides/nuxt/features/)
-- Learn how to [add support for different Nitro deployment presets](/platforms/javascript/guides/nuxt/features/nitro-deployment-presets/) (like Cloudflare)
-
-
-
-- If you encountered issues with our installation wizard, try [setting up Sentry manually](/platforms/javascript/guides/nuxt/manual-setup/)
-- [Get support](https://www.sentry.help/en/)
-
-
-
-
+
diff --git a/docs/platforms/javascript/guides/nuxt/install/index.mdx b/docs/platforms/javascript/guides/nuxt/install/index.mdx
index 298c08d02db09..4f11e711aea48 100644
--- a/docs/platforms/javascript/guides/nuxt/install/index.mdx
+++ b/docs/platforms/javascript/guides/nuxt/install/index.mdx
@@ -38,7 +38,7 @@ The SDK doesn't initialize Sentry while Nitro prerenders your pages at build tim
### Cloudflare
-With a Cloudflare Nitro preset, the SDK doesn't use `sentry.server.config.ts`. Set up the SDK with the [Cloudflare Nitro plugin](/platforms/javascript/guides/cloudflare/frameworks/nuxt/) instead.
+With a Cloudflare Nitro preset, the SDK doesn't use `sentry.server.config.ts`. Set up the SDK with the [Cloudflare Nitro plugin](/platforms/javascript/guides/nuxt/cloudflare/) instead.
## Upgrade to SDK Version 11
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router.mdx b/docs/platforms/javascript/guides/react-router/hydrogen.mdx
similarity index 97%
rename from docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router.mdx
rename to docs/platforms/javascript/guides/react-router/hydrogen.mdx
index 1c8207e0757e1..3bba22f1b5596 100644
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router.mdx
+++ b/docs/platforms/javascript/guides/react-router/hydrogen.mdx
@@ -1,11 +1,14 @@
---
title: Hydrogen with React Router
+h1_title: Hydrogen with React Router
+sidebar_title: Quick Start (Hydrogen)
+sidebar_order: 0.5
description: Learn how to instrument your Hydrogen app on Shopify Oxygen and capture your first errors and traces.
---
-This guide applies to Hydrogen versions **2025.5.0 and later** that use React Router 7 (framework mode). For older versions of Hydrogen that use Remix v2, see our [Remix on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix/).
+This guide applies to Hydrogen versions **2025.5.0 and later** that use React Router 7 (framework mode). For older versions of Hydrogen that use Remix v2, see the [Hydrogen with Remix guide](/platforms/javascript/guides/remix/hydrogen/).
@@ -367,7 +370,7 @@ Now, head over to your project on [Sentry.io](https://sentry.io) to view the col
## Next Steps
-At this point, you should have integrated Sentry into your React Router Framework application and should already be sending data to your Sentry project.
+At this point, you should have integrated Sentry into your Hydrogen application and should already be sending data to your Sentry project.
Now's a good time to customize your setup and look into more advanced topics.
Our next recommended steps for you are:
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/remix.mdx b/docs/platforms/javascript/guides/remix/cloudflare.mdx
similarity index 68%
rename from docs/platforms/javascript/guides/cloudflare/frameworks/remix.mdx
rename to docs/platforms/javascript/guides/remix/cloudflare.mdx
index dc987930018ab..af5ff202c54c0 100644
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/remix.mdx
+++ b/docs/platforms/javascript/guides/remix/cloudflare.mdx
@@ -1,12 +1,18 @@
---
title: Remix on Cloudflare
+sidebar_title: Quick Start (Cloudflare)
+sidebar_order: 0.5
description: "Learn how to instrument your Remix app on Cloudflare Workers and Pages and capture your first errors with Sentry."
+runtime: cloudflare
---
-
+
+
+Using Shopify Hydrogen? Follow the [Hydrogen with React Router](/platforms/javascript/guides/react-router/hydrogen/) guide for Hydrogen 2025.5.0 and later, or the [Hydrogen with Remix](/platforms/javascript/guides/remix/hydrogen/) guide for older versions.
+
+
+
+
@@ -43,9 +49,6 @@ yarn add @sentry/remix @sentry/cloudflare
pnpm add @sentry/remix @sentry/cloudflare
```
-
+
diff --git a/docs/platforms/javascript/guides/remix/frameworks/index.mdx b/docs/platforms/javascript/guides/remix/frameworks/index.mdx
deleted file mode 100644
index a72e5adcc00f7..0000000000000
--- a/docs/platforms/javascript/guides/remix/frameworks/index.mdx
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: Cloudflare SDK Guide
-description: "Learn how to set up the Remix SDK or Hydrogen with Cloudflare."
----
-
-You can use the Sentry Remix SDK to set up Sentry with frameworks like Shopify's Hydrogen. The following guides will help you get started with the Sentry Remix SDK on Cloudflare:
-
-- **[Remix on Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/remix/)**
-- **[Hydrogen on Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/)**
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix.mdx b/docs/platforms/javascript/guides/remix/hydrogen.mdx
similarity index 96%
rename from docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix.mdx
rename to docs/platforms/javascript/guides/remix/hydrogen.mdx
index 1a8dcd0432c7d..b9be1f785653b 100644
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix.mdx
+++ b/docs/platforms/javascript/guides/remix/hydrogen.mdx
@@ -1,11 +1,13 @@
---
title: Hydrogen with Remix (Legacy)
+sidebar_title: Hydrogen (Legacy)
+sidebar_order: 1.5
description: Learn how to use the Sentry Remix SDK to instrument your Hydrogen app (versions before 2025.5.0).
---
-This guide applies to Hydrogen versions **before 2025.5.0** that use Remix v2. For newer versions of Hydrogen (2025.5.0+) that use React Router 7, see the [React Router guide](/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/).
+This guide applies to Hydrogen versions **before 2025.5.0** that use Remix v2. For newer versions of Hydrogen (2025.5.0+) that use React Router 7, see the [Hydrogen with React Router guide](/platforms/javascript/guides/react-router/hydrogen/).
@@ -39,7 +41,7 @@ On Shopify Oxygen, never import anything directly from `@sentry/cloudflare`. Onl
-`wrapRequestHandler` doesn't isolate requests from each other. Scope data you set during a request, for example with `setTag` or `setUser`, can show up on events from other concurrent or later requests in the same isolate. Use `wrapRequestHandler` only on runtimes that can't enable `nodejs_compat`, such as Shopify Oxygen. For Remix on Cloudflare Workers, follow the [Remix on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/remix/) instead.
+`wrapRequestHandler` doesn't isolate requests from each other. Scope data you set during a request, for example with `setTag` or `setUser`, can show up on events from other concurrent or later requests in the same isolate. Use `wrapRequestHandler` only on runtimes that can't enable `nodejs_compat`, such as Shopify Oxygen. For Remix on Cloudflare Workers, follow the [Remix on Cloudflare guide](/platforms/javascript/guides/remix/cloudflare/) instead.
diff --git a/docs/platforms/javascript/guides/remix/index.mdx b/docs/platforms/javascript/guides/remix/index.mdx
index cd0ddc7968c5e..57df3cf6f3d06 100644
--- a/docs/platforms/javascript/guides/remix/index.mdx
+++ b/docs/platforms/javascript/guides/remix/index.mdx
@@ -5,6 +5,7 @@ sdk: sentry.javascript.remix
categories:
- browser
- server
+runtime: node
---
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/sveltekit.mdx b/docs/platforms/javascript/guides/sveltekit/cloudflare.mdx
similarity index 55%
rename from docs/platforms/javascript/guides/cloudflare/frameworks/sveltekit.mdx
rename to docs/platforms/javascript/guides/sveltekit/cloudflare.mdx
index 340bf50fa9f29..884a4c005303f 100644
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/sveltekit.mdx
+++ b/docs/platforms/javascript/guides/sveltekit/cloudflare.mdx
@@ -1,9 +1,9 @@
---
title: SvelteKit on Cloudflare
+sidebar_title: Quick Start (Cloudflare)
+sidebar_order: 0.5
description: "Learn how to instrument your SvelteKit app on Cloudflare Workers and Pages and capture your first errors with Sentry."
+runtime: cloudflare
---
-
+
diff --git a/docs/platforms/javascript/guides/sveltekit/index.mdx b/docs/platforms/javascript/guides/sveltekit/index.mdx
index 02bb0201d9913..67b2a730cd6f1 100644
--- a/docs/platforms/javascript/guides/sveltekit/index.mdx
+++ b/docs/platforms/javascript/guides/sveltekit/index.mdx
@@ -5,6 +5,7 @@ sdk: sentry.javascript.sveltekit
categories:
- browser
- server
+runtime: node
---
@@ -70,7 +71,7 @@ Our next recommended steps for you are:
- Learn how to [manually capture errors](/platforms/javascript/guides/sveltekit/usage/)
- Continue to [customize your configuration](/platforms/javascript/guides/sveltekit/configuration/)
- Learn how to [manually instrument](/platforms/javascript/guides/sveltekit/apis/#load-function-instrumentation) SvelteKit-specific features
-- Learn more about [deploying SvelteKit apps to Cloudflare Pages](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)
+- Learn more about [deploying SvelteKit apps to Cloudflare Pages](/platforms/javascript/guides/sveltekit/cloudflare/)
- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
diff --git a/docs/platforms/javascript/guides/sveltekit/manual-setup__v10.7.0.mdx b/docs/platforms/javascript/guides/sveltekit/manual-setup__v10.7.0.mdx
index 11ff9ddc7ae5f..f83502f74828c 100644
--- a/docs/platforms/javascript/guides/sveltekit/manual-setup__v10.7.0.mdx
+++ b/docs/platforms/javascript/guides/sveltekit/manual-setup__v10.7.0.mdx
@@ -27,7 +27,7 @@ Here's an overview of the current support:
- [Adapter-vercel](https://kit.svelte.dev/docs/adapter-vercel) when used with Vercel's Node.js Lambda runtime
- [Adapter-node](https://kit.svelte.dev/docs/adapter-node)
- **Supported non-Node.js runtimes**
- - [Adapter-cloudflare](https://kit.svelte.dev/docs/adapter-cloudflare) requires [additional setup](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)
+ - [Adapter-cloudflare](https://kit.svelte.dev/docs/adapter-cloudflare) requires [additional setup](/platforms/javascript/guides/sveltekit/cloudflare/)
- **Currently not supported**
- Non-Node.js server runtimes, such as Vercel's edge runtime, are not yet supported.
- **Other adapters**
@@ -326,7 +326,7 @@ Our next recommended steps for you are:
- Learn how to [manually capture errors](/platforms/javascript/guides/sveltekit/usage/)
- Continue to [customize your configuration](/platforms/javascript/guides/sveltekit/configuration/)
- Learn how to [manually instrument](/platforms/javascript/guides/sveltekit/apis/#load-function-instrumentation) SvelteKit-specific features
-- Learn more about [deploying SvelteKit apps to Cloudflare Pages](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)
+- Learn more about [deploying SvelteKit apps to Cloudflare Pages](/platforms/javascript/guides/sveltekit/cloudflare/)
- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
diff --git a/docs/platforms/javascript/guides/cloudflare/frameworks/tanstack-start.mdx b/docs/platforms/javascript/guides/tanstackstart-react/cloudflare.mdx
similarity index 89%
rename from docs/platforms/javascript/guides/cloudflare/frameworks/tanstack-start.mdx
rename to docs/platforms/javascript/guides/tanstackstart-react/cloudflare.mdx
index 11fb6d6d40330..fa90ff7c0bb6e 100644
--- a/docs/platforms/javascript/guides/cloudflare/frameworks/tanstack-start.mdx
+++ b/docs/platforms/javascript/guides/tanstackstart-react/cloudflare.mdx
@@ -1,13 +1,16 @@
---
-title: TanStack Start on Cloudflare
+title: TanStack Start React on Cloudflare
+sidebar_title: Quick Start (Cloudflare)
+sidebar_order: 0.5
description: "Learn how to instrument your TanStack Start app on Cloudflare Workers and capture your first errors with Sentry."
+runtime: cloudflare
---
-This guide is for TanStack Start deployed to **Cloudflare Workers** using the `@cloudflare/vite-plugin`. For Node.js-based deployments, see our [TanStack Start guide](/platforms/javascript/guides/tanstackstart-react/).
+This guide is for TanStack Start deployed to **Cloudflare Workers** using the `@cloudflare/vite-plugin`.
@@ -30,9 +33,19 @@ Choose the features you want to configure, and this guide will show you how:
### Install the Sentry SDK
-Run the command for your preferred package manager to add the Sentry SDK to your application:
+Run the command for your preferred package manager to add the Sentry TanStack Start and Cloudflare SDKs to your application:
-
+```bash {tabTitle:npm}
+npm install @sentry/tanstackstart-react @sentry/cloudflare --save
+```
+
+```bash {tabTitle:yarn}
+yarn add @sentry/tanstackstart-react @sentry/cloudflare
+```
+
+```bash {tabTitle:pnpm}
+pnpm add @sentry/tanstackstart-react @sentry/cloudflare
+```
## Configure
@@ -42,7 +55,7 @@ When deploying TanStack Start to Cloudflare Workers, you need to wrap the server
### Create a Custom Server Entry
@@ -166,8 +179,8 @@ export const startInstance = createStart(() => {
### Add Readable Stack Traces With Source Maps (Optional)
### Control the Data You Send to Sentry (Optional)
@@ -223,8 +236,8 @@ Now's a good time to customize your setup and look into more advanced topics. Ou
-- Check out setup instructions for other popular [frameworks on Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/)
-- Find various support topics in troubleshooting
+- Check out setup instructions for other popular [frameworks on Cloudflare](/platforms/javascript/guides/cloudflare/#framework-selector)
+- Find various support topics in [Cloudflare troubleshooting](/platforms/javascript/guides/cloudflare/troubleshooting/)
- [Get support](https://www.sentry.help/en/)
diff --git a/docs/platforms/javascript/guides/tanstackstart-react/index.mdx b/docs/platforms/javascript/guides/tanstackstart-react/index.mdx
index 88566aa84c18e..8258b94d3ac1e 100644
--- a/docs/platforms/javascript/guides/tanstackstart-react/index.mdx
+++ b/docs/platforms/javascript/guides/tanstackstart-react/index.mdx
@@ -5,6 +5,7 @@ sdk: sentry.javascript.tanstackstart-react
categories:
- server
- browser
+runtime: node
---
diff --git a/platform-includes/distributed-tracing/how-to-use/javascript.remix.mdx b/platform-includes/distributed-tracing/how-to-use/javascript.remix.mdx
index 41f2df3b033b6..ca6db1c7d0af6 100644
--- a/platform-includes/distributed-tracing/how-to-use/javascript.remix.mdx
+++ b/platform-includes/distributed-tracing/how-to-use/javascript.remix.mdx
@@ -25,7 +25,7 @@ if (serverTimingValue) {
return response;
```
-See the [Hydrogen on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix/#trace-propagation) for a complete example.
+See the [Hydrogen with Remix guide](/platforms/javascript/guides/remix/hydrogen/#trace-propagation) for a complete example.
diff --git a/platform-includes/getting-started-cloudflare/javascript.astro.mdx b/platform-includes/getting-started-cloudflare/javascript.astro.mdx
new file mode 100644
index 0000000000000..d28113db03d3f
--- /dev/null
+++ b/platform-includes/getting-started-cloudflare/javascript.astro.mdx
@@ -0,0 +1,258 @@
+### Install the Sentry SDKs
+
+Install both `@sentry/astro` and `@sentry/cloudflare`:
+
+```bash {tabTitle:npm}
+npm install @sentry/astro @sentry/cloudflare
+```
+
+```bash {tabTitle:yarn}
+yarn add @sentry/astro @sentry/cloudflare
+```
+
+```bash {tabTitle:pnpm}
+pnpm add @sentry/astro @sentry/cloudflare
+```
+
+## Configure
+
+### Wrangler Configuration
+
+
+
+### Configure Custom Entry Point
+
+Astro 6 with `@astrojs/cloudflare` v13+ supports custom entry points directly from `wrangler.jsonc`. Update your wrangler configuration to point to a custom Sentry entry point:
+
+```jsonc {filename:wrangler.jsonc}
+{
+ "main": "./sentry.server.config.ts",
+ // ... other configuration
+}
+```
+
+Create a `sentry.server.config.ts` file in the root of your project that wraps the Astro Cloudflare handler with Sentry:
+
+```typescript {filename:sentry.server.config.ts}
+import * as Sentry from "@sentry/cloudflare";
+import handler from "@astrojs/cloudflare/entrypoints/server";
+
+export default Sentry.withSentry(
+ (env) => ({
+ dsn: env.SENTRY_DSN,
+ // ___PRODUCT_OPTION_START___ performance
+ // Define how likely traces are sampled. Adjust this value in production,
+ // or use tracesSampler for greater control.
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+ }),
+ handler
+);
+```
+
+### Register the Sentry Integration
+
+Follow [Astro's Cloudflare deployment guide](https://docs.astro.build/en/guides/deploy/cloudflare/) if you haven't already. Then add the Sentry integration to your `astro.config.mjs` alongside the Cloudflare adapter.
+
+```javascript {filename:astro.config.mjs}
+import { defineConfig } from "astro/config";
+import cloudflare from "@astrojs/cloudflare";
+import sentry from "@sentry/astro";
+
+export default defineConfig({
+ adapter: cloudflare(),
+ integrations: [sentry()],
+});
+```
+
+### Configure Client-side Sentry
+
+Create a `sentry.client.config.(ts|js)` file in the root of your project. In this file, import and initialize Sentry for the client:
+
+```javascript {filename:sentry.client.config.(ts|js)}
+import * as Sentry from "@sentry/astro";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+
+ integrations: [
+ // ___PRODUCT_OPTION_START___ performance
+ Sentry.browserTracingIntegration(),
+ // ___PRODUCT_OPTION_END___ performance
+ // ___PRODUCT_OPTION_START___ session-replay
+ Sentry.replayIntegration(),
+ // ___PRODUCT_OPTION_END___ session-replay
+ // ___PRODUCT_OPTION_START___ user-feedback
+ Sentry.feedbackIntegration({
+ // Additional SDK configuration goes in here, for example:
+ colorScheme: "system",
+ }),
+ // ___PRODUCT_OPTION_END___ user-feedback
+ ],
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Define how likely traces are sampled. Adjust this value in production,
+ // or use tracesSampler for greater control.
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+ // ___PRODUCT_OPTION_START___ session-replay
+
+ // This sets the sample rate to be 10%. You may want this to be 100% while
+ // in development and sample at a lower rate in production
+ replaysSessionSampleRate: 0.1,
+
+ // If the entire session is not sampled, use the below sample rate to sample
+ // sessions when an error occurs.
+ replaysOnErrorSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ session-replay
+});
+```
+
+### Configure Server-side Sentry
+
+Server-side Sentry is already configured in your custom entry point file (`sentry.server.config.ts`) created in the previous step.
+
+### Add Readable Stack Traces With Source Maps
+
+To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slugs in the `sentry` options inside `astro.config.mjs`:
+
+```javascript {filename:astro.config.mjs}
+import { defineConfig } from "astro/config";
+import cloudflare from "@astrojs/cloudflare";
+import sentry from "@sentry/astro";
+
+export default defineConfig({
+ adapter: cloudflare(),
+ integrations: [
+ sentry({
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ // store your auth token in an environment variable
+ authToken: process.env.SENTRY_AUTH_TOKEN,
+ }),
+ ],
+});
+```
+
+To keep your auth token secure, set the `SENTRY_AUTH_TOKEN` environment variable in your build environment:
+
+
+
+```bash {filename:.env.sentry-build-plugin}
+SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
+```
+
+
+
+### Control the Data You Send to Sentry (Optional)
+
+
+
+## Verify Your Setup
+
+Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
+
+### Issues
+
+
+To verify that Sentry captures errors and creates issues in your Sentry project,
+create a test page, for example, at `src/pages/test.astro` with two buttons.
+
+```html {filename: test.astro}
+
+
+
+
+```
+
+Then also create the route we're calling in our test page, like `src/pages/api/test-error.(js|ts)`:
+
+Next, open your test page in a browser and click the buttons to trigger a frontend error and an error in the API route.
+
+```javascript {filename: test-error.(js|ts)}
+export async function GET() {
+ throw new Error("Sentry Example API Route Error");
+}
+```
+
+
+
+### Tracing
+
+To test tracing, create a custom span to measure the time it takes for the API request to complete:
+
+```html {filename: test.astro}
+
+
+
+```
+
+
+
+
+
+
+
+
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your Astro application and should already be sending data to your Sentry project.
+
+Now's a good time to customize your setup and look into more advanced topics.
+Our next recommended steps for you are:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- Continue to customize your configuration
+- Learn how to manually capture errors
+- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
+
+
+
+- Find various topics in Troubleshooting
+- [Get support](https://www.sentry.help/en/)
+
+
diff --git a/platform-includes/getting-started-cloudflare/javascript.nextjs.mdx b/platform-includes/getting-started-cloudflare/javascript.nextjs.mdx
new file mode 100644
index 0000000000000..ed8427c5febad
--- /dev/null
+++ b/platform-includes/getting-started-cloudflare/javascript.nextjs.mdx
@@ -0,0 +1,209 @@
+## Prerequisites
+
+You need:
+
+- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
+- A Next.js application that runs on Cloudflare Workers with the [OpenNext Cloudflare adapter](https://opennext.js.org/cloudflare) or [vinext](https://github.com/cloudflare/vinext)
+
+
+ If you haven't deployed a Next.js app to Cloudflare Workers before, follow
+ Cloudflare's [Next.js deployment
+ guide](https://developers.cloudflare.com/workers/framework-guides/web-apps/nextjs/)
+ first.
+
+
+
+
+## Install
+
+### Run the Installation Wizard
+
+Run the Sentry wizard to automatically install the SDK and configure Sentry in your Next.js application:
+
+```bash
+npx @sentry/wizard@latest -i nextjs
+```
+
+The wizard asks whether you want to enable **Tracing** and **Session Replay**, route browser requests through your server to avoid ad blockers, and create an example page. To match the configuration in this guide, answer **Yes** to each.
+
+Prefer to set things up yourself? Check out the [Manual Setup](/platforms/javascript/guides/nextjs/manual-setup/) guide.
+
+## Configure
+
+**Error Monitoring** starts working as soon as you call `Sentry.init()`. **Logs** and **Application Metrics** need no extra configuration, and you'll learn how to send them in steps [#3](#send-logs) and [#4](#send-application-metrics-).
+This guide also enables **Tracing**, **Session Replay**, and **User Feedback**.
+
+
+
+The wizard creates the files below. On Cloudflare Workers, you set the server options in the Worker entry instead, as the [Wrap the Worker Entry](#wrap-the-worker-entry) step shows.
+
+
+
+### Configure Wrangler
+
+The SDK uses Node.js APIs that the Workers runtime only provides with the `nodejs_compat` [compatibility flag](https://developers.cloudflare.com/workers/runtime-apis/nodejs/). Set the [compatibility date](https://developers.cloudflare.com/workers/configuration/compatibility-dates/) to `2025-08-16` or later, which adds the `https.request` API that the SDK uses to send data:
+
+```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
+{
+ "compatibility_flags": ["nodejs_compat"],
+ "compatibility_date": "2025-08-16",
+}
+```
+
+```toml {tabTitle:Toml} {filename:wrangler.toml}
+compatibility_flags = ["nodejs_compat"]
+compatibility_date = "2025-08-16"
+```
+
+### Wrap the Worker Entry
+
+
+
+If you build your app with vinext, skip to [Wrap the Worker Entry With vinext](#wrap-the-worker-entry-with-vinext).
+
+On Cloudflare Workers, your Next.js app runs inside the Worker entry that OpenNext generates (`.open-next/worker.js`). Wrap this entry with `withSentry` from `@sentry/nextjs/cloudflare` to get the same Next.js spans as on Node.js, plus Cloudflare data such as spans for D1 queries. Each request gets one `http.server` span with the name of the Next.js route, and the Next.js spans become its children.
+
+`@sentry/nextjs` depends on `@sentry/cloudflare`, so you don't need to install another package.
+
+First, create a [custom Worker](https://opennext.js.org/cloudflare/howtos/custom-worker) that imports the handler of OpenNext and wraps it with `withSentry`. Pass your Sentry options to `withSentry`:
+
+```typescript {filename:worker.ts}
+import * as Sentry from "@sentry/nextjs/cloudflare";
+// @ts-ignore `.open-next/worker.js` is generated at build time
+import handler from "./.open-next/worker.js";
+
+// Re-export the Durable Objects your app uses, for example for the DO Queue and DO Tag Cache of OpenNext
+// @ts-ignore `.open-next/worker.js` is generated at build time
+export { DOQueueHandler, DOShardedTagCache } from "./.open-next/worker.js";
+
+export default Sentry.withSentry(
+ () => ({
+ dsn: "___PUBLIC_DSN___",
+
+ // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/guides/cloudflare/configuration/options/#tracesSampleRate
+ tracesSampleRate: 1.0,
+ }),
+ handler
+);
+```
+
+Then, point `main` in your Wrangler configuration to this file:
+
+```jsonc {tabTitle:JSON} {filename:wrangler.jsonc}
+{
+ "main": "./worker.ts",
+}
+```
+
+```toml {tabTitle:Toml} {filename:wrangler.toml}
+main = "./worker.ts"
+```
+
+#### Wrap the Worker Entry With vinext
+
+With [vinext](https://github.com/cloudflare/vinext), you don't need a custom Worker. Add the [Sentry Vite plugin](/platforms/javascript/guides/cloudflare/install/vite-plugin/) to your Vite config, and it wraps your Worker entry with `withSentry` from `@sentry/nextjs/cloudflare` automatically.
+
+#### Server and Edge Configuration in the Worker
+
+In the Worker, `withSentry` creates the Sentry client. `Sentry.init()` in `sentry.server.config.ts` and `sentry.edge.config.ts` still runs, but it creates no client and only applies the `release` option. Set all other options in `withSentry`.
+
+On Workers, these two files are optional. Keep them if you use `next dev`, which runs on Node.js and doesn't use the Worker entry. They also pass on the release that `withSentryConfig` sets at build time.
+
+Keep `instrumentation.ts`, because Next.js reports server errors, for example from Server Components and route handlers, through its `onRequestError` hook.
+
+The SDK takes the release from the first of these sources that has a value:
+
+1. The `release` option of `withSentry`
+2. The `SENTRY_RELEASE` environment variable
+3. The ID of the `CF_VERSION_METADATA` binding
+4. The `release` option of `Sentry.init()` in `sentry.server.config.ts` or `sentry.edge.config.ts`, or else the release that `withSentryConfig` sets at build time
+
+On Node.js, the build release comes before `SENTRY_RELEASE`.
+
+### Control the Data You Send to Sentry
+
+
+
+## Send Logs
+
+
+
+If you're already logging with `console` or Consola, use an integration to capture those logs as Sentry Logs automatically:
+
+- `consoleLoggingIntegration` for `console` calls
+- Consola
+
+## Send Application Metrics
+
+
+
+## Verify Your Setup
+
+Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
+
+The wizard created an example page that sends a test error from both your frontend and your backend:
+
+1. Build your app and run it in the Workers runtime on your machine:
+
+ ```bash
+ npx opennextjs-cloudflare build && npx opennextjs-cloudflare preview
+ ```
+
+2. Open `/sentry-example-page` on the URL that the preview command prints.
+3. Click **Throw Sample Error**.
+
+If you skipped the example page, add a test button to one of your pages instead. Clicking it will trigger an error for Sentry to capture.
+
+```tsx {filename:app/page.tsx}
+"use client";
+
+export default function Page() {
+ return (
+
+ );
+}
+```
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io/) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your Next.js application on Cloudflare Workers. Here's what to explore next:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- [Distributed Tracing](/platforms/javascript/guides/nextjs/tracing/distributed-tracing/) to trace requests across services
+- Set up tunneling to avoid ad blockers blocking Sentry events, if you didn't enable it in the wizard
+
+
+
+- If you encountered issues with our installation wizard, try [setting up Sentry manually](/platforms/javascript/guides/nextjs/manual-setup/)
+- Find various topics in Troubleshooting
+- [Get support](https://www.sentry.help/en/)
+
+
+
+
diff --git a/platform-includes/getting-started-cloudflare/javascript.nuxt.mdx b/platform-includes/getting-started-cloudflare/javascript.nuxt.mdx
new file mode 100644
index 0000000000000..b1d5b083fcdcb
--- /dev/null
+++ b/platform-includes/getting-started-cloudflare/javascript.nuxt.mdx
@@ -0,0 +1,314 @@
+
+
+
+
+## Install
+
+Choose the features you want to configure, and this guide will show you how:
+
+
+
+
+
+### Install the Sentry SDK
+
+Run the command for your preferred package manager to add the Sentry SDK to your application:
+
+```bash {tabTitle:npm}
+npm install @sentry/nuxt --save
+```
+
+```bash {tabTitle:yarn}
+yarn add @sentry/nuxt
+```
+
+```bash {tabTitle:pnpm}
+pnpm add @sentry/nuxt
+```
+
+## Configure
+
+### Apply Instrumentation to Your App
+
+Add the Sentry Nuxt module to your `nuxt.config.ts` file:
+
+```javascript {filename:nuxt.config.ts}
+export default defineNuxtConfig({
+ modules: ["@sentry/nuxt/module"],
+});
+```
+
+### Configure Client-Side Sentry
+
+Add a `sentry.client.config.ts` file to the root of your project (this is probably the same level as the `package.json`). In this file, import and initialize Sentry, specifying any SDK options for the client:
+
+```javascript {filename:sentry.client.config.ts}
+import * as Sentry from "@sentry/nuxt";
+
+Sentry.init({
+ // If set up, you can use the Nuxt runtime config here
+ // dsn: useRuntimeConfig().public.sentry.dsn
+ // modify depending on your custom runtime config
+ dsn: "___PUBLIC_DSN___",
+
+ // ___PRODUCT_OPTION_START___ session-replay
+
+ // Replay may only be enabled for the client-side
+ integrations: [
+ Sentry.replayIntegration(),
+ // ___PRODUCT_OPTION_START___ user-feedback
+ Sentry.feedbackIntegration({
+ // Additional SDK configuration goes in here, for example:
+ colorScheme: "system",
+ }),
+ // ___PRODUCT_OPTION_END___ user-feedback
+ ],
+ // ___PRODUCT_OPTION_END___ session-replay
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of transactions for tracing.
+ // We recommend adjusting this value in production
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+ // ___PRODUCT_OPTION_START___ session-replay
+
+ // Capture Replay for 10% of all sessions,
+ // plus for 100% of sessions with an error
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
+ replaysSessionSampleRate: 0.1,
+ replaysOnErrorSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ session-replay
+});
+```
+
+We recommend you store your Sentry [Data Source Name](/concepts/key-terms/dsn-explainer/) (DSN) in an environment variable and configure it via the Nuxt runtime config.
+
+This allows you to access the DSN using `useRuntimeConfig().public.sentry.dsn`.
+
+```javascript {filename:nuxt.config.ts}
+export default defineNuxtConfig({
+ modules: ["@sentry/nuxt/module"],
+ runtimeConfig: {
+ public: {
+ sentry: {
+ dsn: process.env.NUXT_PUBLIC_SENTRY_DSN, // Use a public environment variable for the DSN
+ },
+ },
+ },
+});
+```
+
+### Configure Cloudflare for Sentry
+
+
+
+#### Add the Nitro Plugin
+
+
+ If you have an existing `sentry.server.config.ts` file, delete it, as it will
+ conflict with the Cloudflare setup.
+
+
+To enable Sentry for your Nuxt app on Cloudflare, create a new file in `server/plugins` and add the following code to it:
+
+```TypeScript {filename:server/plugins/sentry-cloudflare-plugin.ts}
+import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'
+
+export default defineNitroPlugin(sentryCloudflareNitroPlugin({
+ dsn: '___PUBLIC_DSN___',
+ tracesSampleRate: 1.0,
+}))
+```
+
+Or, if you need access to `nitroApp`:
+
+```TypeScript {filename:server/plugins/sentry-cloudflare-plugin.ts}
+import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'
+
+export default defineNitroPlugin(sentryCloudflareNitroPlugin((nitroApp: NitroApp) => {
+ // You can access `nitroApp` here if needed
+ return {
+ dsn: '___PUBLIC_DSN___',
+ tracesSampleRate: 1.0,
+ }
+}))
+```
+
+### Add Readable Stack Traces With Source Maps (Optional)
+
+To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slugs in the `sentry` options inside your configuration file:
+
+These `sentry` options only affect the **build time** of the SDK.
+
+```javascript {filename:nuxt.config.ts} {3-10}
+export default defineNuxtConfig({
+ modules: ["@sentry/nuxt/module"],
+ sentry: {
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ // store your auth token in an environment variable
+ authToken: process.env.SENTRY_AUTH_TOKEN,
+ },
+});
+```
+
+To keep your auth token secure, always store it in an environment variable instead of directly in your files:
+
+
+
+```bash {filename:.env}
+SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
+```
+
+#### Enable Client-Side Source Maps
+
+While Nuxt generates source maps on the server side by default, you need to explicitly enable client-side source maps in your Nuxt configuration.
+
+The `hidden` option enables source map generation while preventing source map reference comments that would normally appear at the end of each generated file in the build output.
+
+```javascript {filename:nuxt.config.ts} {2}
+export default defineNuxtConfig({
+ sourcemap: { client: "hidden" },
+});
+```
+
+### Control the Data You Send to Sentry (Optional)
+
+
+
+## Verify Your Setup
+
+Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
+
+### Issues
+
+To verify that Sentry captures errors and creates issues in your Sentry project, create a test page with a button.
+
+
+
+```html {tabTitle:Vue} {filename:pages/example-error.vue}
+
+
+
+
+
+```
+
+
+### Tracing
+
+To test tracing, create a test API route `server/api/sentry-example.get.ts`:
+
+```js {tabTitle:Nitro} {filename:server/api/sentry-example.get.ts}
+export default defineEventHandler((event) => {
+ throw new Error("Sentry Example API Route Error");
+});
+```
+
+Then update the test page by including a new button that executes a function to fetch your API route:
+
+```html {tabTitle:Vue} {filename:pages/example-error.vue}
+
+
+
+
+
+
+```
+
+
+
+
+
+
+
+
+
+
+
+
+ Once you have your test code in place, open the page in a browser and click
+ the button to trigger an error.
+
+
+
+
+Once you have your test code in place, build and run your project.
+
+After running your project, open your test page in a browser and click the buttons.
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your Nuxt application and should already be sending data to your Sentry project.
+
+Now's a good time to customize your setup and look into more advanced topics. Our next recommended steps for you are:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- Learn how to [manually capture errors](/platforms/javascript/guides/nuxt/usage/)
+- Continue to [customize your configuration](/platforms/javascript/guides/nuxt/configuration/)
+- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
+- Learn how to [track your Vue components or your Pinia store](/platforms/javascript/guides/nuxt/features/)
+
+
+
+- Find various support topics in [Cloudflare troubleshooting](/platforms/javascript/guides/cloudflare/troubleshooting/) and [Nuxt troubleshooting](/platforms/javascript/guides/nuxt/troubleshooting/)
+- [Get support](https://www.sentry.help/en/)
+
+
+
+
diff --git a/platform-includes/getting-started-cloudflare/javascript.remix.mdx b/platform-includes/getting-started-cloudflare/javascript.remix.mdx
new file mode 100644
index 0000000000000..ee817b2c68666
--- /dev/null
+++ b/platform-includes/getting-started-cloudflare/javascript.remix.mdx
@@ -0,0 +1,388 @@
+## Configure
+
+### Configure Client-Side Sentry
+
+Create a client file `entry.client.tsx` in the `app` folder of your project if you don't have one already. In this file, import and initialize the Sentry SDK:
+
+```typescript {tabTitle:Client} {filename: entry.client.tsx}
+import { useLocation, useMatches } from "@remix-run/react";
+import * as Sentry from "@sentry/remix";
+import { useEffect } from "react";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+
+ integrations: [
+ // ___PRODUCT_OPTION_START___ performance
+ Sentry.browserTracingIntegration({
+ useEffect,
+ useLocation,
+ useMatches,
+ }),
+ // ___PRODUCT_OPTION_END___ performance
+ // ___PRODUCT_OPTION_START___ session-replay
+ // Replay is only available in the client
+ Sentry.replayIntegration(),
+ // ___PRODUCT_OPTION_END___ session-replay
+ // ___PRODUCT_OPTION_START___ user-feedback
+ Sentry.feedbackIntegration({
+ // Additional SDK configuration goes in here, for example:
+ colorScheme: "system",
+ }),
+ // ___PRODUCT_OPTION_END___ user-feedback
+ ],
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of transactions for tracing.
+ // We recommend adjusting this value in production
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
+ tracesSampleRate: 1.0,
+
+ // Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
+ tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
+ // ___PRODUCT_OPTION_END___ performance
+ // ___PRODUCT_OPTION_START___ session-replay
+
+ // Capture Replay for 10% of all sessions,
+ // plus for 100% of sessions with an error
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
+ replaysSessionSampleRate: 0.1,
+ replaysOnErrorSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ session-replay
+});
+```
+
+#### Remix ErrorBoundary
+
+To capture errors from your [ErrorBoundary](https://remix.run/docs/en/main/route/error-boundary), define it in `root.tsx` to act as a fallback for all routes or create route-specific error boundaries in your route components.
+
+In your `ErrorBoundary` component, use `Sentry.captureRemixErrorBoundaryError` to send the captured error to Sentry:
+
+```tsx {filename: root.tsx}
+import { captureRemixErrorBoundaryError } from "@sentry/remix";
+
+export const ErrorBoundary = () => {
+ const error = useRouteError();
+
+ captureRemixErrorBoundaryError(error);
+
+ return
...
;
+};
+```
+
+#### Performance Monitoring
+
+Wrap your Remix root component with `withSentry` to capture performance data:
+
+```tsx {filename: root.tsx}
+import {
+ Links,
+ LiveReload,
+ Meta,
+ Outlet,
+ Scripts,
+ ScrollRestoration,
+} from "@remix-run/react";
+
+import { withSentry } from "@sentry/remix";
+
+function App() {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+}
+
+export default withSentry(App);
+```
+
+### Configure Server-Side Sentry
+
+Create a Worker entry file, for example `server.ts` in your project's root folder, and set it as `main` in your wrangler config.
+
+In this file, instrument your Remix server build with `instrumentBuild` from `@sentry/remix/cloudflare`, pass it to `createRequestHandler`, and wrap the exported handler with `Sentry.withSentry()` from `@sentry/cloudflare`. `withSentry` isolates each request, so scope data like tags and users stays on the request that set it.
+
+
+
+Don't also wrap `createRequestHandler` with `makeWrappedCreateRequestHandler`. Combined with `withSentry`, it reports every request twice, as two `http.server` transactions in two different traces.
+
+
+
+```typescript {filename:server.ts}
+import { createRequestHandler } from "@remix-run/cloudflare";
+import * as Sentry from "@sentry/cloudflare";
+import { instrumentBuild } from "@sentry/remix/cloudflare";
+// The server build produced by `remix vite:build`
+import * as remixBuild from "./build/server/index.js";
+
+const handleRequest = createRequestHandler(instrumentBuild(remixBuild));
+
+export default Sentry.withSentry(
+ (env) => ({
+ dsn: "___PUBLIC_DSN___",
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of transactions for tracing.
+ // We recommend adjusting this value in production
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+ }),
+ {
+ async fetch(request, env, ctx) {
+ return handleRequest(request, { env, ctx });
+ },
+ }
+);
+```
+
+
+
+
+
+```javascript {filename:functions/_middleware.js}
+import * as Sentry from "@sentry/cloudflare";
+
+export const onRequest = [
+ // Make sure Sentry is the first middleware
+ Sentry.sentryPagesPlugin((context) => ({
+ dsn: "___PUBLIC_DSN___",
+
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of transactions for tracing.
+ // We recommend adjusting this value in production
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+
+ // Optionally limit which action formData fields are captured.
+ // Without this option, all fields are captured.
+ captureActionFormDataKeys: {
+ key_x: true,
+ key_y: true,
+ },
+ })),
+ // Add more middlewares here
+];
+```
+
+
+
+### Capture Server-Side Errors
+
+To automatically capture server-side errors, export `sentryHandleError` as the [`handleError`](https://remix.run/docs/en/main/file-conventions/entry.server#handleerror) function from your server entry point (`entry.server.tsx`). Without this export, Remix handles errors thrown in loaders and actions itself, and Sentry doesn't receive them.
+
+
+
+Import from `@sentry/remix/cloudflare`, not from `@sentry/remix`. In a Cloudflare server build, `sentryHandleError` from `@sentry/remix` is `undefined`, and no errors are captured.
+
+
+
+```typescript {filename: entry.server.tsx}
+import { sentryHandleError } from "@sentry/remix/cloudflare";
+
+export const handleError = sentryHandleError;
+```
+
+### Configure Cloudflare for Sentry
+
+
+
+### Configure Vite
+
+Add two Sentry plugins to your `vite.config.ts`, next to the Remix plugin:
+
+- `sentryRemixVitePlugin` from `@sentry/remix/vite` parameterizes transaction names with your route patterns, for example `/users/:id`.
+- `sentryCloudflareVitePlugin` from `@sentry/cloudflare/vite` instruments supported bundled dependencies at build time, so you get spans for database clients like `mysql`. Without it, database calls produce no spans and no warning.
+
+Set `ssr.target` to `webworker` and bundle the Sentry packages and any database client you want traced with `ssr.noExternal`. Setting `noExternal: true` bundles every dependency, which works too.
+
+```typescript {filename:vite.config.ts} {2-3, 11-12, 14-17}
+import { vitePlugin as remix } from "@remix-run/dev";
+import { sentryCloudflareVitePlugin } from "@sentry/cloudflare/vite";
+import { sentryRemixVitePlugin } from "@sentry/remix/vite";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ plugins: [
+ remix({
+ // ... your Remix plugin options
+ }),
+ sentryRemixVitePlugin(),
+ sentryCloudflareVitePlugin(),
+ ],
+ ssr: {
+ target: "webworker",
+ noExternal: ["mysql", /^@sentry\//, "@opentelemetry/api"],
+ },
+});
+```
+
+Build your app with `remix vite:build`. Under Vite 6, a plain `vite build` only builds the client and skips `build/server`, without an error.
+
+```bash
+npx remix vite:build
+```
+
+### Add Readable Stack Traces With Source Maps (Optional)
+
+To upload source maps for clear error stack traces, pass your Sentry organization, project, and auth token to `sentryRemixVitePlugin` from the previous step. It injects debug IDs, uploads the source maps during your production build, and deletes them from your build output afterwards.
+
+The plugin also turns on hidden source maps for you, unless you set `build.sourcemap` yourself.
+
+
+
+Check our [Source Maps documentation](/platforms/javascript/guides/remix/sourcemaps/) for
+alternative setup options.
+
+
+
+```javascript {filename:vite.config.ts} {10-16}
+import { vitePlugin as remix } from "@remix-run/dev";
+import { sentryRemixVitePlugin } from "@sentry/remix/vite";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ plugins: [
+ remix({
+ // ... your Remix plugin options
+ }),
+ sentryRemixVitePlugin({
+ // If you use environment variables,
+ // you don't need to specify these options
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ // store your auth token in an environment variable
+ authToken: process.env.SENTRY_AUTH_TOKEN,
+ }),
+ // ... other plugins
+ ],
+});
+```
+
+To keep your auth token secure, always store it in an environment variable instead of directly in your files:
+
+
+
+```bash {filename:.env}
+SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
+```
+
+
+
+### Control the Data You Send to Sentry (Optional)
+
+
+
+## Verify Your Setup
+
+Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
+
+### Issues
+
+
+
+To verify that Sentry captures errors and creates issues in your Sentry project, add a test button to one of your pages.
+
+
+
+Open the page in a browser and click the button to trigger a frontend error.
+
+
+
+```javascript
+
+```
+
+
+
+### Tracing
+
+To test your tracing configuration, update the previous code snippet by calling a non-existing route and starting a trace to measure the time it takes for the execution of your code.
+
+Open the page in a browser and click the button to trigger the frontend error and a trace.
+
+```javascript
+
+```
+
+
+
+
+
+
+
+
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your Remix application and should already be sending error and performance data to your Sentry project.
+
+Now's a good time to customize your setup and look into more advanced topics. Our next recommended steps for you are:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- Learn how to manually capture errors
+- Continue to customize your configuration
+- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
+
+
+
+- If you encountered issues with the manual setup, try our installation wizard
+- Find various support topics in [Cloudflare troubleshooting](/platforms/javascript/guides/cloudflare/troubleshooting/) and [Remix troubleshooting](/platforms/javascript/guides/remix/troubleshooting/)
+- [Get support](https://www.sentry.help/en/)
+
+
diff --git a/platform-includes/getting-started-cloudflare/javascript.sveltekit.mdx b/platform-includes/getting-started-cloudflare/javascript.sveltekit.mdx
new file mode 100644
index 0000000000000..e5f5b3efe3bdd
--- /dev/null
+++ b/platform-includes/getting-started-cloudflare/javascript.sveltekit.mdx
@@ -0,0 +1,358 @@
+## Prerequisites
+
+You need:
+
+- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
+- Your application up and running
+- SvelteKit version `2.0.0+` (we recommend `2.31.0` or higher for best support)
+- Vite version `4.2` or newer
+
+
+
+Version `2.31.0` of SvelteKit introduces [official support for observability and tracing](https://svelte.dev/docs/kit/observability).
+This means that Sentry can now follow the official best practice for how the SDK should be set up:
+
+- The Sentry SDK will be initialized at the correct, earliest possible time on the server, allowing for all its auto-instrumentation to work correctly.
+ This means, you will now get spans from auto instrumentation (e.g. database queries) automatically.
+- The Sentry SDK picks up spans emitted from SvelteKit directly.
+ You'll get more accurate insights into the performance of your handlers, server actions, `load`, and remote functions.
+
+SvelteKit observability is still an experimental feature in SvelteKit 2.x, but we recommend giving it a try.
+The Sentry wizard, as well as this guide, will use it as the default way of setting up the SDK.
+
+
+
+
+
+## Install
+
+Choose the features you want to configure, and this guide will show you how:
+
+
+
+
+
+### Install the Sentry SDK
+
+Run the command for your preferred package manager to add the Sentry SDK to your application:
+
+If you're updating your Sentry SDK to the latest version, check out our migration guide to learn more about breaking changes.
+
+```bash {tabTitle:npm}
+npm install @sentry/sveltekit --save
+```
+
+```bash {tabTitle:yarn}
+yarn add @sentry/sveltekit
+```
+
+```bash {tabTitle:pnpm}
+pnpm add @sentry/sveltekit
+```
+
+## Configure
+
+You need to initialize and configure the Sentry SDK in three places: the client side, the server side, and your Vite config.
+
+### Configure Client-Side Sentry
+
+Create a client hooks file `src/hooks.client.(js|ts)` in your project if you don't have one already. In this file, import and initialize the Sentry SDK and add the `handleErrorWithSentry` function to the [`handleError` hook](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError).
+
+```javascript {filename:src/hooks.client.(js|ts)} {1, 3-37, 43}
+import * as Sentry from "@sentry/sveltekit";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of transactions for tracing.
+ // We recommend adjusting this value in production
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+ integrations: [
+ // ___PRODUCT_OPTION_START___ session-replay
+ Sentry.replayIntegration(),
+ // ___PRODUCT_OPTION_END___ session-replay
+ // ___PRODUCT_OPTION_START___ user-feedback
+ Sentry.feedbackIntegration({
+ // Additional SDK configuration goes in here, for example:
+ colorScheme: "system",
+ }),
+ // ___PRODUCT_OPTION_END___ user-feedback
+ ],
+
+ // ___PRODUCT_OPTION_START___ session-replay
+ // Capture Replay for 10% of all sessions,
+ // plus for 100% of sessions with an error
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/session-replay/configuration/#general-integration-configuration
+ replaysSessionSampleRate: 0.1,
+ replaysOnErrorSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ session-replay
+});
+
+const myErrorHandler = ({ error, event }) => {
+ console.error("An error occurred on the client side:", error, event);
+};
+
+export const handleError = Sentry.handleErrorWithSentry(myErrorHandler);
+
+// or alternatively, if you don't have a custom error handler:
+// export const handleError = handleErrorWithSentry();
+```
+
+### Configure Server-Side Sentry
+
+_Requires SvelteKit `2.31.0` or higher and `@sentry/sveltekit` `10.8.0` or higher._
+
+Configure server-side instrumentation and tracing. Where this config lives depends on your SvelteKit version — SvelteKit 2 uses `svelte.config.js`, while SvelteKit 3 moved it into the `sveltekit()` Vite plugin options in `vite.config.(js|ts)` instead (see [Configure Vite](#configure-vite) below). SvelteKit 3 no longer needs an instrumentation flag, so the only option to set there is `tracing`.
+
+```js {tabTitle:SvelteKit 2} {mdExpandTabs} {filename:svelte.config.js} {3-12}
+const config = {
+ kit: {
+ experimental: {
+ instrumentation: {
+ server: true,
+ },
+ // ___PRODUCT_OPTION_START___ performance
+ tracing: {
+ server: true,
+ },
+ // ___PRODUCT_OPTION_END___ performance
+ },
+ },
+};
+
+export default config;
+```
+
+```js {tabTitle:SvelteKit 3} {filename:vite.config.(js|ts)}
+import { sveltekit } from "@sveltejs/kit/vite";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ plugins: [
+ sveltekit({
+ // ___PRODUCT_OPTION_START___ performance
+ tracing: {
+ server: true,
+ },
+ // ___PRODUCT_OPTION_END___ performance
+ // ... rest of your SvelteKit config
+ }),
+ ],
+ // ... rest of your Vite config
+});
+```
+
+Create a server hooks file `src/hooks.server.(js|ts)` in your project if you don't have one already. In this file, import and initialize the Sentry SDK and add the `handleErrorWithSentry` function to the [`handleError` hook](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) and Sentry's Cloudflare request handler to the [`handle` hook](https://kit.svelte.dev/docs/hooks#server-hooks-handle).
+
+```javascript {filename:src/hooks.server.(js|ts)}
+import {
+ handleErrorWithSentry,
+ sentryHandle,
+ initCloudflareSentryHandle,
+} from "@sentry/sveltekit";
+import { sequence } from "@sveltejs/kit/hooks";
+import * as Sentry from "@sentry/sveltekit";
+
+export const handle = sequence(
+ initCloudflareSentryHandle({
+ dsn: "___PUBLIC_DSN___",
+
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of transactions for tracing.
+ // We recommend adjusting this value in production
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+ }),
+ sentryHandle()
+);
+
+const myErrorHandler = ({ error, event }) => {
+ console.error("An error occurred on the server side:", error, event);
+};
+
+export const handleError = Sentry.handleErrorWithSentry(myErrorHandler);
+// or alternatively, if you don't have a custom error handler:
+// export const handleError = handleErrorWithSentry();
+```
+
+### Configure Vite
+
+Add the `sentrySvelteKit` plugin **before** `sveltekit` in your `vite.config.(js|ts)` file to automatically upload source maps to Sentry and instrument `load` functions for tracing if it's configured.
+
+```javascript {filename:vite.config.(js|ts)} {2,6}
+import { sveltekit } from "@sveltejs/kit/vite";
+import { sentrySvelteKit } from "@sentry/sveltekit/vite";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+ plugins: [sentrySvelteKit(), sveltekit()],
+ // ... rest of your Vite config
+});
+```
+
+### Configure Cloudflare for Sentry
+
+
+
+### Add Readable Stack Traces With Source Maps (Optional)
+
+To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slug in your `vite.config.(js|ts)` file:
+
+```javascript {filename:vite.config.(js|ts)} {6-13}
+import { sveltekit } from "@sveltejs/kit/vite";
+import { sentrySvelteKit } from "@sentry/sveltekit/vite";
+
+export default {
+ plugins: [
+ sentrySvelteKit({
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+ // store your auth token in an environment variable
+ authToken: process.env.SENTRY_AUTH_TOKEN,
+ }),
+ sveltekit(),
+ ],
+ // ... rest of your Vite config
+};
+```
+
+To keep your auth token secure, always store it in an environment variable instead of directly in your files:
+
+
+
+```bash {filename:.env}
+SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
+```
+
+
+
+### Control the Data You Send to Sentry (Optional)
+
+
+
+## Verify Your Setup
+
+Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
+
+### Issues
+
+To verify that Sentry captures errors and creates issues in your Sentry project, create a test page, for example, at `src/routes/sentry-example/+page.svelte` with a button that throws an error when clicked.
+
+
+ Open the page `sentry-example` in a browser and click the button to trigger a
+ frontend error.
+
+
+
+
+```html {filename:+page.svelte}
+
+
+
+```
+
+
+### Tracing
+
+To test tracing, create a test API route like `src/routes/sentry-example/+server.(js|ts)`.
+
+```javascript {filename:+server.(js|ts)}
+export const GET = async () => {
+ throw new Error("Sentry Example API Route Error");
+};
+```
+
+Next, update your test button to call this route and throw an error if the response isn't `ok`.
+
+Open the page `sentry-example` in a browser and click the button to trigger two errors:
+
+- a frontend error
+- an error within the API route
+
+Additionally, this starts a trace to measure the time it takes for the API request to complete.
+
+```html {filename:+page.svelte}
+
+
+
+```
+
+
+
+
+
+
+
+
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your SvelteKit application and should already be sending data to your Sentry project.
+
+Now's a good time to customize your setup and look into more advanced topics.
+Our next recommended steps for you are:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- Learn how to [manually capture errors](/platforms/javascript/guides/cloudflare/usage/)
+- Continue to [customize your configuration](/platforms/javascript/guides/cloudflare/configuration/)
+- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
+- Learn how to [manually instrument](/platforms/javascript/guides/sveltekit/apis/#load-function-instrumentation) SvelteKit-specific features
+
+
+
+- Find various support topics in [Cloudflare troubleshooting](/platforms/javascript/guides/cloudflare/troubleshooting/) and [SvelteKit troubleshooting](/platforms/javascript/guides/sveltekit/troubleshooting/)
+- [Get support](https://www.sentry.help/en/)
+
+
+
+
diff --git a/platform-includes/getting-started-complete/javascript.astro.mdx b/platform-includes/getting-started-complete/javascript.astro.mdx
index 064dff9974b45..fb3cac04de9db 100644
--- a/platform-includes/getting-started-complete/javascript.astro.mdx
+++ b/platform-includes/getting-started-complete/javascript.astro.mdx
@@ -1,5 +1,3 @@
-
-
### Install the Sentry SDK
Install and add the Sentry integration using the `astro` CLI:
@@ -34,88 +32,8 @@ pnpm add @sentry/profiling-node
-
-
-
-
-### Install the Sentry SDKs
-
-Install both `@sentry/astro` and `@sentry/cloudflare`:
-
-```bash {tabTitle:npm}
-npm install @sentry/astro @sentry/cloudflare
-```
-
-```bash {tabTitle:yarn}
-yarn add @sentry/astro @sentry/cloudflare
-```
-
-```bash {tabTitle:pnpm}
-pnpm add @sentry/astro @sentry/cloudflare
-```
-
-
-
## Configure
-
-
-### Wrangler Configuration
-
-
-
-### Configure Custom Entry Point
-
-Astro 6 with `@astrojs/cloudflare` v13+ supports custom entry points directly from `wrangler.jsonc`. Update your wrangler configuration to point to a custom Sentry entry point:
-
-```jsonc {filename:wrangler.jsonc}
-{
- "main": "./sentry.server.config.ts",
- // ... other configuration
-}
-```
-
-Create a `sentry.server.config.ts` file in the root of your project that wraps the Astro Cloudflare handler with Sentry:
-
-```typescript {filename:sentry.server.config.ts}
-import * as Sentry from "@sentry/cloudflare";
-import handler from "@astrojs/cloudflare/entrypoints/server";
-
-export default Sentry.withSentry(
- (env) => ({
- dsn: env.SENTRY_DSN,
- // ___PRODUCT_OPTION_START___ performance
- // Define how likely traces are sampled. Adjust this value in production,
- // or use tracesSampler for greater control.
- tracesSampleRate: 1.0,
- // ___PRODUCT_OPTION_END___ performance
- }),
- handler
-);
-```
-
-### Register the Sentry Integration
-
-Follow [Astro's Cloudflare deployment guide](https://docs.astro.build/en/guides/deploy/cloudflare/) if you haven't already. Then add the Sentry integration to your `astro.config.mjs` alongside the Cloudflare adapter.
-
-```javascript {filename:astro.config.mjs}
-import { defineConfig } from "astro/config";
-import cloudflare from "@astrojs/cloudflare";
-import sentry from "@sentry/astro";
-
-export default defineConfig({
- adapter: cloudflare(),
- integrations: [sentry()],
-});
-```
-
-
-
-
-
### Apply Instrumentation to Your App
Register the Sentry integration in your `astro.config.mjs` file:
@@ -129,8 +47,6 @@ export default defineConfig({
});
```
-
-
### Configure Client-side Sentry
Create a `sentry.client.config.(ts|js)` file in the root of your project. In this file, import and initialize Sentry for the client:
@@ -174,8 +90,6 @@ Sentry.init({
});
```
-
-
Sentry automatically detects configuration files named `sentry.(client|server).config.(ts|js)` in the root of your project. You can rename these files or move them to a custom folder within your project.
@@ -195,12 +109,8 @@ export default defineConfig({
-
-
### Configure Server-side Sentry
-
-
Create a `sentry.server.config.(ts|js)` file in the root of your project. In this file, import and initialize Sentry for the server:
```javascript {filename:sentry.server.config.(ts|js)}
@@ -233,27 +143,15 @@ Sentry.init({
});
```
-
-
-
-
-Server-side Sentry is already configured in your custom entry point file (`sentry.server.config.ts`) created in the previous step.
-
-
-
### Add Readable Stack Traces With Source Maps
To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slugs in the `sentry` options inside `astro.config.mjs`:
-
-
```javascript {filename:astro.config.mjs}
import { defineConfig } from "astro/config";
-import cloudflare from "@astrojs/cloudflare";
import sentry from "@sentry/astro";
export default defineConfig({
- adapter: cloudflare(),
integrations: [
sentry({
org: "___ORG_SLUG___",
@@ -265,28 +163,6 @@ export default defineConfig({
});
```
-
-
-
-
-```javascript {filename:astro.config.mjs}
-import { defineConfig } from "astro/config";
-import sentry from "@sentry/astro";
-
-export default defineConfig({
- integrations: [
- sentry({
- org: "___ORG_SLUG___",
- project: "___PROJECT_SLUG___",
- // store your auth token in an environment variable
- authToken: process.env.SENTRY_AUTH_TOKEN,
- }),
- ],
-});
-```
-
-
-
To keep your auth token secure, set the `SENTRY_AUTH_TOKEN` environment variable in your build environment:
@@ -297,14 +173,10 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
-
-
### Avoid Ad Blockers With Tunneling (Optional)
-
-
### Control the Data You Send to Sentry (Optional)
@@ -394,18 +266,8 @@ To test tracing, create a custom span to measure the time it takes for the API r
Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
-
-
-
-
-
-
-
-
-
-
## Next Steps
At this point, you should have integrated Sentry into your Astro application and should already be sending data to your Sentry project.
@@ -413,25 +275,12 @@ At this point, you should have integrated Sentry into your Astro application and
Now's a good time to customize your setup and look into more advanced topics.
Our next recommended steps for you are:
-
-
-- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Continue to customize your configuration
-- Learn how to manually capture errors
-- Learn more about [deploying Astro apps to Cloudflare](/platforms/javascript/guides/cloudflare/frameworks/astro/)
-- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
-
-
-
-
-
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
- Continue to customize your configuration
- Learn how to manually capture errors
+- Learn more about [deploying Astro apps to Cloudflare](/platforms/javascript/guides/astro/cloudflare/)
- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
-
-
- Find various topics in Troubleshooting
diff --git a/platform-includes/getting-started-complete/javascript.nuxt.mdx b/platform-includes/getting-started-complete/javascript.nuxt.mdx
index 8847328ac123f..ca94d38d99c5c 100644
--- a/platform-includes/getting-started-complete/javascript.nuxt.mdx
+++ b/platform-includes/getting-started-complete/javascript.nuxt.mdx
@@ -18,18 +18,8 @@ Choose the features you want to configure, and this guide will show you how:
]}
/>
-
-
-
-
-
-
-
-
-
-
### Install the Sentry SDK
Run the command for your preferred package manager to add the Sentry SDK to your application:
@@ -122,7 +112,6 @@ export default defineNuxtConfig({
});
```
-
### Configure Server-Side Sentry
Add a `sentry.server.config.ts` file to the root of your project and initialize Sentry in it.
@@ -177,51 +166,6 @@ To learn more, see [Server-Side Installation](/platforms/javascript/guides/nuxt/
node .output/server/index.mjs
```
-
-
-
-
-### Configure Cloudflare for Sentry
-
-
-
-#### Add the Nitro Plugin
-
-
- If you have an existing `sentry.server.config.ts` file, delete it, as it will
- conflict with the Cloudflare setup.
-
-
-To enable Sentry for your Nuxt app on Cloudflare, create a new file in `server/plugins` and add the following code to it:
-
-```TypeScript {filename:server/plugins/sentry-cloudflare-plugin.ts}
-import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'
-
-export default defineNitroPlugin(sentryCloudflareNitroPlugin({
- dsn: '___PUBLIC_DSN___',
- tracesSampleRate: 1.0,
-}))
-```
-
-Or, if you need access to `nitroApp`:
-
-```TypeScript {filename:server/plugins/sentry-cloudflare-plugin.ts}
-import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'
-
-export default defineNitroPlugin(sentryCloudflareNitroPlugin((nitroApp: NitroApp) => {
- // You can access `nitroApp` here if needed
- return {
- dsn: '___PUBLIC_DSN___',
- tracesSampleRate: 1.0,
- }
-}))
-```
-
-
-
### Add Readable Stack Traces With Source Maps (Optional)
To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slugs in the `sentry` options inside your configuration file:
@@ -260,14 +204,12 @@ export default defineNuxtConfig({
});
```
-
### Avoid Ad Blockers With Tunneling (Optional)
-
### Control the Data You Send to Sentry (Optional)
@@ -354,18 +296,8 @@ Then update the test page by including a new button that executes a function to
-
-
-Once you have your test code in place, build and run your project.
-
-
-
-
-
Once you have your test code in place, run your project in production mode (`nuxi build`, then `node .output/server/index.mjs`) or in development mode (`nuxt dev`).
-
-
After running your project, open your test page in a browser and click the buttons.
@@ -374,25 +306,14 @@ After running your project, open your test page in a browser and click the butto
Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
-
-
-
-
-
-
-
-
-
-
## Next Steps
At this point, you should have integrated Sentry into your Nuxt application and should already be sending data to your Sentry project.
Now's a good time to customize your setup and look into more advanced topics. Our next recommended steps for you are:
-
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
- Learn how to [manually capture errors](/platforms/javascript/guides/nuxt/usage/)
- Continue to [customize your configuration](/platforms/javascript/guides/nuxt/configuration/)
@@ -409,22 +330,4 @@ Now's a good time to customize your setup and look into more advanced topics. Ou
-
-
-
-- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Learn how to [manually capture errors](/platforms/javascript/guides/nuxt/usage/)
-- Continue to [customize your configuration](/platforms/javascript/guides/nuxt/configuration/)
-- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
-- Learn how to [track your Vue components or your Pinia store](/platforms/javascript/guides/nuxt/features/)
-
-
-
-- Find various support topics in Cloudflare troubleshooting and [Nuxt troubleshooting](/platforms/javascript/guides/nuxt/troubleshooting/)
-- [Get support](https://www.sentry.help/en/)
-
-
-
-
-
diff --git a/platform-includes/getting-started-complete/javascript.remix.mdx b/platform-includes/getting-started-complete/javascript.remix.mdx
index d3507e2ad8fa6..db074eb1a0887 100644
--- a/platform-includes/getting-started-complete/javascript.remix.mdx
+++ b/platform-includes/getting-started-complete/javascript.remix.mdx
@@ -111,8 +111,6 @@ export default withSentry(App);
### Configure Server-Side Sentry
-
-
Create an instrumentation file `instrument.server.mjs` in your project's root folder and initialize the Sentry SDK within it:
```typescript {tabTitle:Server} {filename: instrument.server.mjs}
@@ -178,91 +176,8 @@ const app = express();
- PlatformSection>
-
-
-
-Create a Worker entry file, for example `server.ts` in your project's root folder, and set it as `main` in your wrangler config.
-
-In this file, instrument your Remix server build with `instrumentBuild` from `@sentry/remix/cloudflare`, pass it to `createRequestHandler`, and wrap the exported handler with `Sentry.withSentry()` from `@sentry/cloudflare`. `withSentry` isolates each request, so scope data like tags and users stays on the request that set it.
-
-
-
-Don't also wrap `createRequestHandler` with `makeWrappedCreateRequestHandler`. Combined with `withSentry`, it reports every request twice, as two `http.server` transactions in two different traces.
-
-
-
-```typescript {filename:server.ts}
-import { createRequestHandler } from "@remix-run/cloudflare";
-import * as Sentry from "@sentry/cloudflare";
-import { instrumentBuild } from "@sentry/remix/cloudflare";
-// The server build produced by `remix vite:build`
-import * as remixBuild from "./build/server/index.js";
-
-const handleRequest = createRequestHandler(instrumentBuild(remixBuild));
-
-export default Sentry.withSentry(
- (env) => ({
- dsn: "___PUBLIC_DSN___",
- // ___PRODUCT_OPTION_START___ performance
-
- // Set tracesSampleRate to 1.0 to capture 100%
- // of transactions for tracing.
- // We recommend adjusting this value in production
- // Learn more at
- // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
- tracesSampleRate: 1.0,
- // ___PRODUCT_OPTION_END___ performance
- }),
- {
- async fetch(request, env, ctx) {
- return handleRequest(request, { env, ctx });
- },
- }
-);
-```
-
-
-
-
-
-```javascript {filename:functions/_middleware.js}
-import * as Sentry from "@sentry/cloudflare";
-
-export const onRequest = [
- // Make sure Sentry is the first middleware
- Sentry.sentryPagesPlugin((context) => ({
- dsn: "___PUBLIC_DSN___",
-
- // ___PRODUCT_OPTION_START___ performance
-
- // Set tracesSampleRate to 1.0 to capture 100%
- // of transactions for tracing.
- // We recommend adjusting this value in production
- // Learn more at
- // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
- tracesSampleRate: 1.0,
- // ___PRODUCT_OPTION_END___ performance
-
- // Optionally limit which action formData fields are captured.
- // Without this option, all fields are captured.
- captureActionFormDataKeys: {
- key_x: true,
- key_y: true,
- },
- })),
- // Add more middlewares here
-];
-```
-
-
-
- PlatformSection>
-
### Capture Server-Side Errors
-
-
To automatically capture server-side errors, export a [`handleError`](https://remix.run/docs/en/main/file-conventions/entry.server#handleerror) function from your server entry point (`entry.server.tsx`). Choose one of the two options:
- Wrap your custom error handler with `wrapHandleErrorWithSentry`.
@@ -290,41 +205,8 @@ import * as Sentry from "@sentry/remix";
export const handleError = Sentry.sentryHandleError;
```
-
-
-
-
-To automatically capture server-side errors, export `sentryHandleError` as the [`handleError`](https://remix.run/docs/en/main/file-conventions/entry.server#handleerror) function from your server entry point (`entry.server.tsx`). Without this export, Remix handles errors thrown in loaders and actions itself, and Sentry doesn't receive them.
-
-
-
-Import from `@sentry/remix/cloudflare`, not from `@sentry/remix`. In a Cloudflare server build, `sentryHandleError` from `@sentry/remix` is `undefined`, and no errors are captured.
-
-
-
-```typescript {filename: entry.server.tsx}
-import { sentryHandleError } from "@sentry/remix/cloudflare";
-
-export const handleError = sentryHandleError;
-```
-
-
-
-
-
-### Configure Cloudflare for Sentry
-
-
-
- PlatformSection>
-
### Configure Vite
-
-
Add `sentryRemixVitePlugin` from `@sentry/remix/vite` to your `vite.config.ts`. The plugin:
- Parameterizes client-side transaction names with your route patterns, for example `/users/:id`.
@@ -351,46 +233,6 @@ export default defineConfig({
});
```
-
-
-
-
-Add two Sentry plugins to your `vite.config.ts`, next to the Remix plugin:
-
-- `sentryRemixVitePlugin` from `@sentry/remix/vite` parameterizes transaction names with your route patterns, for example `/users/:id`.
-- `sentryCloudflareVitePlugin` from `@sentry/cloudflare/vite` instruments supported bundled dependencies at build time, so you get spans for database clients like `mysql`. Without it, database calls produce no spans and no warning.
-
-Set `ssr.target` to `webworker` and bundle the Sentry packages and any database client you want traced with `ssr.noExternal`. Setting `noExternal: true` bundles every dependency, which works too.
-
-```typescript {filename:vite.config.ts} {2-3, 11-12, 14-17}
-import { vitePlugin as remix } from "@remix-run/dev";
-import { sentryCloudflareVitePlugin } from "@sentry/cloudflare/vite";
-import { sentryRemixVitePlugin } from "@sentry/remix/vite";
-import { defineConfig } from "vite";
-
-export default defineConfig({
- plugins: [
- remix({
- // ... your Remix plugin options
- }),
- sentryRemixVitePlugin(),
- sentryCloudflareVitePlugin(),
- ],
- ssr: {
- target: "webworker",
- noExternal: ["mysql", /^@sentry\//, "@opentelemetry/api"],
- },
-});
-```
-
-Build your app with `remix vite:build`. Under Vite 6, a plain `vite build` only builds the client and skips `build/server`, without an error.
-
-```bash
-npx remix vite:build
-```
-
-
-
### Add Readable Stack Traces With Source Maps (Optional)
To upload source maps for clear error stack traces, pass your Sentry organization, project, and auth token to `sentryRemixVitePlugin` from the previous step. It injects debug IDs, uploads the source maps during your production build, and deletes them from your build output afterwards.
@@ -437,13 +279,10 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
-
### Avoid Ad Blockers With Tunneling (Optional)
-
-
### Control the Data You Send to Sentry (Optional)
@@ -519,17 +358,8 @@ Open the page in a browser and click the button to trigger the frontend error an
Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
-
-
-
-
-
-
-
-
-
## Next Steps
At this point, you should have integrated Sentry into your Remix application and should already be sending error and performance data to your Sentry project.
@@ -541,7 +371,6 @@ Now's a good time to customize your setup and look into more advanced topics. Ou
- Continue to customize your configuration
- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
-
- If you encountered issues with the manual setup, try our installation wizard
@@ -549,14 +378,3 @@ Now's a good time to customize your setup and look into more advanced topics. Ou
- [Get support](https://www.sentry.help/en/)
-
-
-
-
-
-- If you encountered issues with the manual setup, try our installation wizard
-- Find various support topics in Cloudflare troubleshooting and [Remix troubleshooting](/platforms/javascript/guides/remix/troubleshooting/)
-- [Get support](https://www.sentry.help/en/)
-
-
-
diff --git a/platform-includes/getting-started-complete/javascript.sveltekit.mdx b/platform-includes/getting-started-complete/javascript.sveltekit.mdx
index c37251053054d..52fc145582743 100644
--- a/platform-includes/getting-started-complete/javascript.sveltekit.mdx
+++ b/platform-includes/getting-started-complete/javascript.sveltekit.mdx
@@ -20,18 +20,12 @@ This means that Sentry can now follow the official best practice for how the SDK
SvelteKit observability is still an experimental feature in SvelteKit 2.x, but we recommend giving it a try.
The Sentry wizard, as well as this guide, will use it as the default way of setting up the SDK.
-
-
If you've already set up the SDK and don't want to migrate to the new setup, or don't want to upgrade to SvelteKit `2.31.0` or higher, that's fine too.
Just follow this guide instead.
However, note that auto instrumentation (e.g. for database queries) will not work.
-
-
-
-
The SvelteKit Sentry SDK is designed to work out of the box with several SvelteKit adapters and their underlying server runtimes.
Here's an overview of the current support:
@@ -41,7 +35,7 @@ Here's an overview of the current support:
- [Adapter-vercel](https://kit.svelte.dev/docs/adapter-vercel) when used with Vercel's Node.js Lambda runtime
- [Adapter-node](https://kit.svelte.dev/docs/adapter-node)
- **Supported non-Node.js runtimes**
- - [Adapter-cloudflare](https://kit.svelte.dev/docs/adapter-cloudflare) requires [additional setup](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)
+ - [Adapter-cloudflare](https://kit.svelte.dev/docs/adapter-cloudflare) requires [additional setup](/platforms/javascript/guides/sveltekit/cloudflare/)
- **Currently not supported**
- Non-Node.js server runtimes, such as Vercel's edge runtime, are not yet supported.
- **Other adapters**
@@ -49,8 +43,6 @@ Here's an overview of the current support:
-
-
## Install
@@ -66,17 +58,8 @@ Choose the features you want to configure, and this guide will show you how:
]}
/>
-
-
-
-
-
-
-
-
-
### Install the Sentry SDK
Run the command for your preferred package manager to add the Sentry SDK to your application:
@@ -152,18 +135,8 @@ export const handleError = Sentry.handleErrorWithSentry(myErrorHandler);
### Configure Server-Side Sentry
-
-
_Requires SvelteKit `2.31.0` or higher and `@sentry/sveltekit` `10.8.0` or higher._ If you're using older versions, check out [this guide](../manual-setup__v10.7.0#configure-server-side-sentry) instead.
-
-
-
-
-_Requires SvelteKit `2.31.0` or higher and `@sentry/sveltekit` `10.8.0` or higher._
-
-
-
Configure server-side instrumentation and tracing. Where this config lives depends on your SvelteKit version — SvelteKit 2 uses `svelte.config.js`, while SvelteKit 3 moved it into the `sveltekit()` Vite plugin options in `vite.config.(js|ts)` instead (see [Configure Vite](#configure-vite) below). SvelteKit 3 no longer needs an instrumentation flag, so the only option to set there is `tracing`.
```js {tabTitle:SvelteKit 2} {mdExpandTabs} {filename:svelte.config.js} {3-12}
@@ -204,8 +177,6 @@ export default defineConfig({
});
```
-
-
Create a `src/instrumentation.server.(js|ts)` file (if you don't have one already) to initialize the server-side SDK:
```js {filename:src/instrumentation.server.(js|ts)} {1, 3-15}
@@ -250,49 +221,6 @@ If you're using SvelteKit versions older than `2.16.0` and encounter Content Sec
-
-
-
-
-Create a server hooks file `src/hooks.server.(js|ts)` in your project if you don't have one already. In this file, import and initialize the Sentry SDK and add the `handleErrorWithSentry` function to the [`handleError` hook](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) and Sentry's Cloudflare request handler to the [`handle` hook](https://kit.svelte.dev/docs/hooks#server-hooks-handle).
-
-```javascript {filename:src/hooks.server.(js|ts)}
-import {
- handleErrorWithSentry,
- sentryHandle,
- initCloudflareSentryHandle,
-} from "@sentry/sveltekit";
-import { sequence } from "@sveltejs/kit/hooks";
-import * as Sentry from "@sentry/sveltekit";
-
-export const handle = sequence(
- initCloudflareSentryHandle({
- dsn: "___PUBLIC_DSN___",
-
- // ___PRODUCT_OPTION_START___ performance
-
- // Set tracesSampleRate to 1.0 to capture 100%
- // of transactions for tracing.
- // We recommend adjusting this value in production
- // Learn more at
- // https://docs.sentry.io/platforms/javascript/configuration/options/#traces-sample-rate
- tracesSampleRate: 1.0,
- // ___PRODUCT_OPTION_END___ performance
- }),
- sentryHandle()
-);
-
-const myErrorHandler = ({ error, event }) => {
- console.error("An error occurred on the server side:", error, event);
-};
-
-export const handleError = Sentry.handleErrorWithSentry(myErrorHandler);
-// or alternatively, if you don't have a custom error handler:
-// export const handleError = handleErrorWithSentry();
-```
-
-
-
### Configure Vite
Add the `sentrySvelteKit` plugin **before** `sveltekit` in your `vite.config.(js|ts)` file to automatically upload source maps to Sentry and instrument `load` functions for tracing if it's configured.
@@ -308,17 +236,6 @@ export default defineConfig({
});
```
-
-
-### Configure Cloudflare for Sentry
-
-
-
-
-
### Add Readable Stack Traces With Source Maps (Optional)
To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slug in your `vite.config.(js|ts)` file:
@@ -351,7 +268,6 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
-
### Override Adapter Detection
`sentrySvelteKit` tries to auto-detect your SvelteKit adapter to configure source maps upload correctly. If you're using an unsupported adapter or the wrong one is detected, set it using the `adapter` option:
@@ -371,15 +287,10 @@ export default {
};
```
-
-
-
### Avoid Ad Blockers With Tunneling (Optional)
-
-
### Control the Data You Send to Sentry (Optional)
@@ -466,17 +377,8 @@ Additionally, this starts a trace to measure the time it takes for the API reque
Now, head over to your project on [Sentry.io](https://sentry.io) to view the collected data (it takes a couple of moments for the data to appear).
-
-
-
-
-
-
-
-
-
## Next Steps
At this point, you should have integrated Sentry into your SvelteKit application and should already be sending data to your Sentry project.
@@ -484,12 +386,11 @@ At this point, you should have integrated Sentry into your SvelteKit application
Now's a good time to customize your setup and look into more advanced topics.
Our next recommended steps for you are:
-
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
- Learn how to [manually capture errors](/platforms/javascript/guides/sveltekit/usage/)
- Continue to [customize your configuration](/platforms/javascript/guides/sveltekit/configuration/)
- Learn how to [manually instrument](/platforms/javascript/guides/sveltekit/apis/#load-function-instrumentation) SvelteKit-specific features
-- Learn more about [deploying SvelteKit apps to Cloudflare Workers and Pages](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)
+- Learn more about [deploying SvelteKit apps to Cloudflare Workers and Pages](/platforms/javascript/guides/sveltekit/cloudflare/)
- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
@@ -500,21 +401,4 @@ Our next recommended steps for you are:
-
-
-
-- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
-- Learn how to [manually capture errors](/platforms/javascript/guides/cloudflare/usage/)
-- Continue to [customize your configuration](/platforms/javascript/guides/cloudflare/configuration/)
-- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
-- Learn how to [manually instrument](/platforms/javascript/guides/sveltekit/apis/#load-function-instrumentation) SvelteKit-specific features
-
-
-
-- Find various support topics in Cloudflare troubleshooting and [SvelteKit troubleshooting](/platforms/javascript/guides/sveltekit/troubleshooting/)
-- [Get support](https://www.sentry.help/en/)
-
-
-
-
diff --git a/platform-includes/getting-started-node/javascript.nextjs.mdx b/platform-includes/getting-started-node/javascript.nextjs.mdx
new file mode 100644
index 0000000000000..1ce1e7b97b13f
--- /dev/null
+++ b/platform-includes/getting-started-node/javascript.nextjs.mdx
@@ -0,0 +1,110 @@
+
+
+
+
+## Install
+
+### Run the Installation Wizard
+
+Run the Sentry wizard to automatically install the SDK and configure Sentry in your Next.js application:
+
+```bash
+npx @sentry/wizard@latest -i nextjs
+```
+
+The wizard asks whether you want to enable **Tracing** and **Session Replay**, route browser requests through your server to avoid ad blockers, and create an example page. To match the configuration in this guide, answer **Yes** to each.
+
+Prefer to set things up yourself? Check out the [Manual Setup](/platforms/javascript/guides/nextjs/manual-setup/) guide.
+
+## Configure
+
+**Error Monitoring** starts working as soon as you call `Sentry.init()`. **Logs** and **Application Metrics** need no extra configuration, and you'll learn how to send them in steps [#3](#send-logs) and [#4](#send-application-metrics-).
+This guide also enables **Tracing**, **Session Replay**, and **User Feedback**.
+
+
+
+
+
+### Control the Data You Send to Sentry
+
+
+
+## Send Logs
+
+
+
+If you're already logging with another library, use an integration to capture those logs as Sentry Logs automatically:
+
+- `consoleLoggingIntegration` for `console` calls
+- Consola
+- Pino
+- Winston
+
+## Send Application Metrics
+
+
+
+In the Node.js runtime, `nodeRuntimeMetricsIntegration` also collects runtime health metrics automatically.
+
+## Verify Your Setup
+
+Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
+
+The wizard created an example page that sends a test error from both your frontend and your backend:
+
+1. Start your development server:
+
+ ```bash
+ npm run dev
+ ```
+
+2. Open [localhost:3000/sentry-example-page](http://localhost:3000/sentry-example-page) in your browser.
+3. Click **Throw Sample Error**.
+
+If you skipped the example page, add a test button to one of your pages instead. Clicking it will trigger an error for Sentry to capture.
+
+```tsx {filename:app/page.tsx}
+"use client";
+
+export default function Page() {
+ return (
+
+ );
+}
+```
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io/) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your Next.js application. Here's what to explore next:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- Set up Agent Tracing to monitor agents built with the Vercel AI SDK, LangChain, and more
+- Set up tunneling to avoid ad blockers blocking Sentry events, if you didn't enable it in the wizard
+
+
+
+- If you encountered issues with our installation wizard, try [setting up Sentry manually](/platforms/javascript/guides/nextjs/manual-setup/)
+- Find various topics in Troubleshooting
+- [Get support](https://www.sentry.help/en/)
+
+
+
+
diff --git a/platform-includes/getting-started-node/javascript.nuxt.mdx b/platform-includes/getting-started-node/javascript.nuxt.mdx
new file mode 100644
index 0000000000000..dbf7c4ea86950
--- /dev/null
+++ b/platform-includes/getting-started-node/javascript.nuxt.mdx
@@ -0,0 +1,130 @@
+
+
+
+
+## Install
+
+
+
+
+
+
+
+
+
+## Avoid Ad Blockers With Tunneling (Optional)
+
+
+
+## Control the Data You Send to Sentry (Optional)
+
+
+
+## Verify Your Setup
+
+The `sentry init` command checks the integration files it creates or modifies before it finishes. To confirm runtime events are reaching Sentry, start your Nuxt app, exercise the parts of your app that should send events, and then check your Sentry project.
+
+If you used the Nuxt installation wizard instead, you can also verify your setup with the example page or component it creates.
+
+
+The wizard creates a `SentryErrorButton` component when it fails to add an example page to your project. This usually happens if you don't have a `app.vue` file or if that file does not contain the `NuxtPage` component. To verify your setup, follow these steps before continuing with the next section, "View Captured Data in Sentry":
+
+1. Add the `SentryErrorButton` component to a page and open it in your browser. For most Nuxt applications, this will be at localhost.
+2. Click the "Throw Sample Error" button, which triggers an error and starts a performance trace on the client side.
+
+To test the server side as well, refer to the "Verify" section in the [Manual setup guide](/platforms/javascript/guides/nuxt/manual-setup/).
+
+
+
+To test Sentry, you can run your Nuxt application in either production or development mode.
+We **recommend testing in production mode** as it most closely resembles your deployed application's environment.
+
+The SDK bundles `sentry.server.config.ts` into the Nitro server build and initializes Sentry when the server starts. To learn more, see Server-Side Installation.
+
+### Run in Production Mode (Recommended)
+
+Build your project with `nuxi build`, then start the server.
+
+```bash
+# Start your app after building your project with `nuxi build`
+node .output/server/index.mjs
+```
+
+### Run in Development Mode
+
+Sentry also monitors the server side during development. Start the dev server as usual.
+
+Spans from some libraries, such as database clients, can be missing in development mode.
+Errors and request traces always work. To learn more, see Development Mode.
+
+```bash
+nuxt dev
+```
+
+If you used the Nuxt installation wizard, after building and running your project:
+
+1. Open the example page `/sentry-example-page` in your browser. For most Nuxt applications, this will be at localhost.
+2. Click the "Throw sample error" button. This triggers two errors:
+ - a frontend error
+ - an error within the API route
+
+Sentry captures both of these errors for you. Additionally, the button click starts a performance trace to measure the time it takes for the API request to complete.
+
+
+
+### View Captured Data in Sentry
+
+Now, head over to your project on [Sentry.io](https://sentry.io/) to view the collected data (it takes a couple of moments for the data to appear).
+
+
+
+
+
+## Next Steps
+
+At this point, you should have integrated Sentry into your Nuxt application and should already be sending error and performance data to your Sentry project.
+
+Now's a good time to customize your setup and look into more advanced topics. Our next recommended steps for you are:
+
+- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
+- Learn how to [manually capture errors](/platforms/javascript/guides/nuxt/usage/)
+- Continue to [customize your configuration](/platforms/javascript/guides/nuxt/configuration/)
+- Get familiar with [Sentry's product features](/product/) like tracing, insights, and alerts
+- Learn how to [track your Vue components or your Pinia store](/platforms/javascript/guides/nuxt/features/)
+- Learn how to [add support for different Nitro deployment presets](/platforms/javascript/guides/nuxt/features/nitro-deployment-presets/) (like Cloudflare)
+
+
+
+- If you encountered issues with our installation wizard, try [setting up Sentry manually](/platforms/javascript/guides/nuxt/manual-setup/)
+- [Get support](https://www.sentry.help/en/)
+
+
+
+
diff --git a/platform-includes/getting-started-prerequisites/javascript.sveltekit.mdx b/platform-includes/getting-started-prerequisites/javascript.sveltekit.mdx
index d042a382ab607..8d099e46eb8d6 100644
--- a/platform-includes/getting-started-prerequisites/javascript.sveltekit.mdx
+++ b/platform-includes/getting-started-prerequisites/javascript.sveltekit.mdx
@@ -36,7 +36,7 @@ Here's an overview of the current support:
- [Adapter-vercel](https://kit.svelte.dev/docs/adapter-vercel) when used with Vercel's Node.js Lambda runtime
- [Adapter-node](https://kit.svelte.dev/docs/adapter-node)
- **Supported non-Node.js runtimes**
- - [Adapter-cloudflare](https://kit.svelte.dev/docs/adapter-cloudflare) requires [additional setup](/platforms/javascript/guides/cloudflare/frameworks/sveltekit/)
+ - [Adapter-cloudflare](https://kit.svelte.dev/docs/adapter-cloudflare) requires [additional setup](/platforms/javascript/guides/sveltekit/cloudflare/)
- **Currently not supported**
- Non-Node.js server runtimes, such as Vercel's edge runtime, are not yet supported.
- **Other adapters**
diff --git a/platform-includes/getting-started-wizard-files/javascript.nextjs.mdx b/platform-includes/getting-started-wizard-files/javascript.nextjs.mdx
new file mode 100644
index 0000000000000..d3b92a08b86ab
--- /dev/null
+++ b/platform-includes/getting-started-wizard-files/javascript.nextjs.mdx
@@ -0,0 +1,143 @@
+### Initialize the SDK
+
+Next.js runs code in different environments, so the wizard creates a separate initialization file for each in your project's root directory (or `src` folder):
+
+- `instrumentation-client.ts`: runs in the browser
+- `sentry.server.config.ts`: runs in the Node.js runtime
+- `sentry.edge.config.ts`: runs in the Edge runtime
+
+Use the tabs in the code box below to view each file.
+
+The snippets also turn on:
+
+- Tracing: via `tracesSampleRate` in all three files
+- Session Replay: via `replayIntegration()`, sampled with `replaysSessionSampleRate` and `replaysOnErrorSampleRate`
+- User Feedback: via `feedbackIntegration()`. The wizard doesn't add this integration, so add it to `instrumentation-client.ts` yourself.
+
+Don't need a feature? Remove its integration and options from the snippets.
+
+```typescript {tabTitle:Client} {mdExpandTabs} {filename:instrumentation-client.ts}
+import * as Sentry from "@sentry/nextjs";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [
+ // enables Session Replay
+ Sentry.replayIntegration(),
+ // enables User Feedback
+ Sentry.feedbackIntegration({
+ // Additional integration configuration goes in here
+ colorScheme: "system",
+ }),
+ ],
+
+ // Enables Tracing.
+ // Set to 1.0 to capture 100% of spans for tracing.
+ // We recommend reducing this value in production.
+ tracesSampleRate: 1.0,
+
+ // Capture replays for 10% of all sessions,
+ // plus for 100% of sessions with an error
+ // Requires Sentry.replayIntegration()
+ replaysSessionSampleRate: 0.1,
+ replaysOnErrorSampleRate: 1.0,
+});
+
+// Instruments client-side navigations
+export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;
+```
+
+```typescript {tabTitle:Server} {filename:sentry.server.config.ts}
+import * as Sentry from "@sentry/nextjs";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+
+ // Enables Tracing.
+ // Set to 1.0 to capture 100% of spans for tracing.
+ // We recommend reducing this value in production.
+ tracesSampleRate: 1.0,
+});
+```
+
+```typescript {tabTitle:Edge} {filename:sentry.edge.config.ts}
+import * as Sentry from "@sentry/nextjs";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+
+ // Enables Tracing.
+ // Set to 1.0 to capture 100% of spans for tracing.
+ // We recommend reducing this value in production.
+ tracesSampleRate: 1.0,
+});
+```
+
+### Register the Server-Side Configuration
+
+The wizard creates a [Next.js instrumentation file](https://nextjs.org/docs/app/guides/instrumentation) named `instrumentation.ts`. It loads your server and edge configurations, and exports `onRequestError` to capture errors from Server Components, route handlers, and middleware.
+
+```typescript {filename:instrumentation.ts}
+import * as Sentry from "@sentry/nextjs";
+
+export async function register() {
+ if (process.env.NEXT_RUNTIME === "nodejs") {
+ await import("./sentry.server.config");
+ }
+
+ if (process.env.NEXT_RUNTIME === "edge") {
+ await import("./sentry.edge.config");
+ }
+}
+
+export const onRequestError = Sentry.captureRequestError;
+```
+
+### Capture React Render Errors
+
+If you use the App Router, the wizard adds Sentry to `app/global-error.tsx` to capture React rendering errors. If you use the Pages Router, it adds Sentry to `pages/_error.tsx` instead.
+
+
+
+### Apply Instrumentation to Your App
+
+The wizard wraps your Next.js configuration with `withSentryConfig`. This instruments your app at build time, uploads source maps, and, if you said yes in the wizard, routes browser requests to Sentry through your server to avoid ad blockers.
+
+To forward only the request body to Sentry, add a tunnel route handler (SDK version `10.77.1` and later on v10, `11.9.0` and later on v11). Use the handler if Vercel Deployment Protection or another login protects your app.
+Learn more about the [`tunnelRoute` option](/platforms/javascript/guides/nextjs/configuration/build/#tunnelRoute).
+
+```typescript {filename:next.config.ts}
+import type { NextConfig } from "next";
+import { withSentryConfig } from "@sentry/nextjs/config";
+
+const nextConfig: NextConfig = {
+ // Your existing Next.js configuration
+};
+
+export default withSentryConfig(nextConfig, {
+ org: "___ORG_SLUG___",
+ project: "___PROJECT_SLUG___",
+
+ // Only print logs for uploading source maps in CI
+ silent: !process.env.CI,
+
+ // Upload a larger set of source maps for prettier stack traces (increases build time)
+ widenClientFileUpload: true,
+
+ // Route browser requests to Sentry through a Next.js rewrite to avoid ad blockers.
+ // This can increase your server load as well as your hosting bill.
+ tunnelRoute: "/monitoring",
+});
+```
+
+### Add Readable Stack Traces With Source Maps
+
+The wizard stores your auth token in `.env.sentry-build-plugin` and adds the file to `.gitignore`. The Sentry build plugin uses this token to upload source maps when you build your app locally.
+
+For CI/CD builds, set the `SENTRY_AUTH_TOKEN` environment variable in your build system instead.
+
+
+
+```bash {filename:.env.sentry-build-plugin}
+SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
+```
diff --git a/redirects.js b/redirects.js
index b047758e4359a..d79bbd296af08 100644
--- a/redirects.js
+++ b/redirects.js
@@ -1046,7 +1046,38 @@ const userDocsRedirects = [
{
// The Nuxt SDK links to this path in its Cloudflare build warning
source: '/platforms/javascript/guides/nuxt/install/cloudflare-workers/',
- destination: '/platforms/javascript/guides/cloudflare/frameworks/nuxt/',
+ destination: '/platforms/javascript/guides/nuxt/cloudflare/',
+ },
+ // The Cloudflare quick starts of these frameworks moved from the Cloudflare guide into the framework guides.
+ {
+ source:
+ '/platforms/javascript/guides/cloudflare/frameworks/:framework(astro|hono|nextjs|nuxt|remix|sveltekit)/',
+ destination: '/platforms/javascript/guides/:framework/cloudflare/',
+ },
+ {
+ source: '/platforms/javascript/guides/cloudflare/frameworks/tanstack-start/',
+ destination: '/platforms/javascript/guides/tanstackstart-react/cloudflare/',
+ },
+ {
+ source: '/platforms/javascript/guides/remix/frameworks/',
+ destination: '/platforms/javascript/guides/remix/cloudflare/',
+ },
+ {
+ source: '/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/',
+ destination: '/platforms/javascript/guides/react-router/hydrogen/',
+ },
+ {
+ source: '/platforms/javascript/guides/cloudflare/frameworks/hydrogen-remix/',
+ destination: '/platforms/javascript/guides/remix/hydrogen/',
+ },
+ {
+ // The Cloudflare quick start links to every framework page.
+ source: '/platforms/javascript/guides/cloudflare/frameworks/',
+ destination: '/platforms/javascript/guides/cloudflare/',
+ },
+ {
+ source: '/platforms/javascript/guides/nextjs/best-practices/deploying-on-cloudflare/',
+ destination: '/platforms/javascript/guides/nextjs/cloudflare/',
},
{
source: '/platforms/javascript/guides/connect/',
@@ -2107,13 +2138,11 @@ const userDocsRedirects = [
},
{
source: '/platforms/javascript/guides/remix/frameworks/hydrogen/',
- destination:
- '/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/',
+ destination: '/platforms/javascript/guides/react-router/hydrogen/',
},
{
source: '/platforms/javascript/guides/cloudflare/frameworks/hydrogen/',
- destination:
- '/platforms/javascript/guides/cloudflare/frameworks/hydrogen-react-router/',
+ destination: '/platforms/javascript/guides/react-router/hydrogen/',
},
// Removed /product/onboarding/ section (content was orphaned and duplicated elsewhere)
{
diff --git a/src/components/docPage/index.tsx b/src/components/docPage/index.tsx
index 22e6c5e301a9e..014f3bb37904c 100644
--- a/src/components/docPage/index.tsx
+++ b/src/components/docPage/index.tsx
@@ -29,6 +29,7 @@ import Mermaid from '../mermaid';
import {PaginationNav} from '../paginationNav';
import {PlatformSdkDetail} from '../platformSdkDetail';
import {getSdkPackageName} from '../platformSdkPackageName';
+import {RuntimeSelector} from '../runtimeSelector';
import {Sidebar} from '../sidebar';
import {SidebarTableOfContents} from '../sidebarTableOfContents';
import {ReaderDepthTracker} from '../track-reader-depth';
@@ -123,6 +124,7 @@ export async function DocPage({
{/* This exact id is important for Algolia indexing */}
+ {frontMatter.runtime && }
{children}
diff --git a/src/components/runtimeLinks.spec.ts b/src/components/runtimeLinks.spec.ts
new file mode 100644
index 0000000000000..0989ac44cbca0
--- /dev/null
+++ b/src/components/runtimeLinks.spec.ts
@@ -0,0 +1,70 @@
+import {describe, expect, it} from 'vitest';
+
+import {getQuickStartTitle, getRuntimeLinks} from './runtimeLinks';
+
+const G = 'platforms/javascript/guides';
+
+type Page = {children: Page[]; frontmatter: {runtime?: string}; path: string};
+
+const page = (path: string, runtime?: string, children: Page[] = []): Page => ({
+ path,
+ frontmatter: runtime ? {runtime} : {},
+ children,
+});
+
+const piDurable = page(`${G}/pi-durable`, 'node', [
+ page(`${G}/pi-durable/cloudflare`, 'cloudflare'),
+ page(`${G}/pi-durable/deno`, 'deno'),
+ page(`${G}/pi-durable/bun`, 'bun'),
+ page(`${G}/pi-durable/configuration`),
+]);
+
+const path = (p: string) => p.split('/');
+
+describe('getRuntimeLinks', () => {
+ it('links the guide page and its child pages with a runtime, in doc tree order', () => {
+ expect(getRuntimeLinks(piDurable, path(`${G}/pi-durable`))?.map(l => l.url)).toEqual([
+ `/${G}/pi-durable/`,
+ `/${G}/pi-durable/cloudflare/`,
+ `/${G}/pi-durable/deno/`,
+ `/${G}/pi-durable/bun/`,
+ ]);
+ });
+
+ it('selects the runtime of the current page', () => {
+ const selected = (p: string) =>
+ getRuntimeLinks(piDurable, path(p))
+ ?.filter(l => l.selected)
+ .map(l => l.runtime);
+
+ expect(selected(`${G}/pi-durable`)).toEqual(['node']);
+ expect(selected(`${G}/pi-durable/deno`)).toEqual(['deno']);
+ expect(selected(`${G}/pi-durable/configuration/options`)).toEqual([]);
+ });
+
+ it('returns null for a guide with quick starts for fewer than two runtimes', () => {
+ expect(getRuntimeLinks(page(`${G}/node`, 'node'), path(`${G}/node`))).toBeNull();
+ expect(getRuntimeLinks(page(`${G}/eve`), path(`${G}/eve`))).toBeNull();
+ expect(getRuntimeLinks(undefined, path('product/agents'))).toBeNull();
+ });
+});
+
+describe('getQuickStartTitle', () => {
+ it('names the runtime of the guide page if the guide has quick starts for more runtimes', () => {
+ expect(getQuickStartTitle(piDurable)).toBe('Quick Start (Node.js)');
+ });
+
+ it('returns "Quick Start" for a guide with quick starts for fewer than two runtimes', () => {
+ expect(getQuickStartTitle(page(`${G}/node`, 'node'))).toBe('Quick Start');
+ expect(getQuickStartTitle(page(`${G}/eve`))).toBe('Quick Start');
+ expect(getQuickStartTitle(undefined)).toBe('Quick Start');
+ });
+
+ it('returns "Quick Start" if only the child pages set a runtime', () => {
+ const hono = page(`${G}/hono`, undefined, [
+ page(`${G}/hono/cloudflare`, 'cloudflare'),
+ page(`${G}/hono/bun`, 'bun'),
+ ]);
+ expect(getQuickStartTitle(hono)).toBe('Quick Start');
+ });
+});
diff --git a/src/components/runtimeLinks.ts b/src/components/runtimeLinks.ts
new file mode 100644
index 0000000000000..d2c448466c00d
--- /dev/null
+++ b/src/components/runtimeLinks.ts
@@ -0,0 +1,61 @@
+const RUNTIME_TITLES: Record = {
+ node: 'Node.js',
+ cloudflare: 'Cloudflare',
+ deno: 'Deno',
+ bun: 'Bun',
+};
+
+export type RuntimeLink = {
+ runtime: string;
+ selected: boolean;
+ title: string;
+ url: string;
+};
+
+type QuickStartNode = {
+ frontmatter: {runtime?: string};
+ path: string;
+ children?: QuickStartNode[];
+};
+
+/**
+ * Returns the links to the quick starts of `guide`: the guide page and its child pages that
+ * set `runtime` in their frontmatter, in doc tree order. The page at `path` is selected.
+ * Returns `null` if the guide has quick starts for fewer than two runtimes.
+ */
+export function getRuntimeLinks(
+ guide: QuickStartNode | undefined,
+ path: string[]
+): RuntimeLink[] | null {
+ if (!guide) {
+ return null;
+ }
+
+ const current = path.join('/');
+ const links = [guide, ...(guide.children ?? [])].flatMap(page => {
+ const runtime = page.frontmatter.runtime;
+ return runtime
+ ? [
+ {
+ runtime,
+ selected: page.path === current,
+ title: RUNTIME_TITLES[runtime] ?? runtime,
+ url: `/${page.path}/`,
+ },
+ ]
+ : [];
+ });
+ return links.length < 2 ? null : links;
+}
+
+/**
+ * Returns the sidebar title of the guide page of `guide`: "Quick Start", or
+ * "Quick Start ()", for example "Quick Start (Node.js)", if the guide has quick
+ * starts for more than one runtime.
+ */
+export function getQuickStartTitle(guide: QuickStartNode | undefined): string {
+ const runtime = getRuntimeLinks(guide, [])?.find(
+ link => link.url === `/${guide?.path}/`
+ )?.title;
+ return runtime ? `Quick Start (${runtime})` : 'Quick Start';
+}
diff --git a/src/components/runtimeSelector.tsx b/src/components/runtimeSelector.tsx
new file mode 100644
index 0000000000000..e03e6cb2fa50d
--- /dev/null
+++ b/src/components/runtimeSelector.tsx
@@ -0,0 +1,66 @@
+import {Button} from '@radix-ui/themes';
+import Link from 'next/link';
+import {nodeForPath} from 'sentry-docs/docTree';
+import {serverContext} from 'sentry-docs/serverContext';
+
+import {PlatformIcon} from './platformIcon';
+import {getRuntimeLinks} from './runtimeLinks';
+
+/**
+ * Links the quick starts of the current guide for each runtime: the guide page and its child
+ * pages that set `runtime` in their frontmatter. `DocPage` renders it on each page that sets
+ * `runtime`. The links are plain anchors, so they are also in the page's Markdown export for
+ * AI agents.
+ */
+export function RuntimeSelector() {
+ const {rootNode, path} = serverContext();
+ const links = getRuntimeLinks(nodeForPath(rootNode, path.slice(0, 4)), path);
+ if (!links) {
+ return null;
+ }
+
+ return (
+
+ );
+}
diff --git a/src/components/sidebar/dynamicNav.tsx b/src/components/sidebar/dynamicNav.tsx
index 11ca96b607909..7ab25c73fb834 100644
--- a/src/components/sidebar/dynamicNav.tsx
+++ b/src/components/sidebar/dynamicNav.tsx
@@ -290,6 +290,8 @@ type Props = {
collapsible?: boolean;
exclude?: string[];
extraLinks?: ExternalSidebarLink[];
+ /** The title of the link to the `root` page in a platform sidebar. */
+ quickStartTitle?: string;
title?: string;
};
@@ -300,6 +302,7 @@ export function DynamicNav({
collapsible = false,
exclude = [],
extraLinks,
+ quickStartTitle = 'Quick Start',
}: Props) {
if (root.startsWith('/')) {
root = root.substring(1);
@@ -363,7 +366,7 @@ export function DynamicNav({
{isPlatformSidebar && (
);
diff --git a/src/types/frontmatter.ts b/src/types/frontmatter.ts
index fd9a5557eef19..47943ef95f842 100644
--- a/src/types/frontmatter.ts
+++ b/src/types/frontmatter.ts
@@ -97,6 +97,12 @@ export interface FrontMatter {
*/
previousPage?: PaginationNavNode;
+ /**
+ * The runtime of a quick start, for example `node` or `cloudflare`. The page then shows a
+ * runtime selector that links the quick starts of the same guide for the other runtimes.
+ */
+ runtime?: string;
+
/**
* Set this to true to show a separator/divider below this item in the sidebar
* @deprecated Use sidebar_section instead
From c9ed9059e033fe17776756a59bd70e7aeed8d78b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Peer=20St=C3=B6cklmair?=
Date: Tue, 10 Nov 2026 11:15:13 -0500
Subject: [PATCH 011/141] feat(js): Add a framework selector to the Node.js,
Bun and Deno quick starts (#19974)
## DESCRIBE YOUR PR
This turns the Express, Fastify, Hapi and Koa guides into landing pages
that link to the Node.js, Bun and Deno quick starts, because the runtime
SDKs instrument these frameworks automatically. Their subpages redirect
to the Node.js guide.
The runtime quick starts get a "Framework" dropdown with 2 groups:
- **Set up with this guide** (Express, Fastify, Koa, Hapi): swaps in the
framework's snippets, such as error capture and the test route, and
labels each changed block. A line under the dropdown links to the
changed steps. The selection is kept in `?framework=express`.
- **Set up with its own guide** (Next.js, Nuxt, Hono, Elysia and
others): opens that framework's guide. On Cloudflare, the dropdown
replaces the list of framework guides.
FWIW the dropdown is onkly for humans. Agents already find everything in
the respective guide, such as Express. Meta frameworks, that are not
based on an integration are baked-in into the markdown, so agents finds
it too:
https://sentry-docs-git-jp-poc-selector-2-all-frameworks.sentry.dev/platforms/javascript/guides/node.md
In addition, `/platform-redirect/` links for these guides go to the
Node.js page when the guide does not have the requested page.
The selector is ported from #19683.
## Known issues
- Express, Fastify, Koa and Hapi are not in the Cloudflare dropdown,
because they have no tested setup on Workers.
- The table of contents does not show headings that only exist in a
swapped-in snippet.
- The framework snippets load in the browser, so the `.md` export and
agents get only the runtime steps. The setup code is the same for every
framework, only the examples differ.
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Francesco Novy
Co-authored-by: Claude Opus 5.5
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
---
.../[framework]/[...includePath]/route.ts | 161 +++++
app/platform-redirect/page.tsx | 10 +-
app/platform-redirect/utils.spec.ts | 45 +-
app/platform-redirect/utils.ts | 22 +
docs/contributing/pages/components.mdx | 23 +
.../configuration/integrations/fastify.mdx | 41 ++
.../data-management/sensitive-data/index.mdx | 2 +-
.../common/sourcemaps/uploading/rollup.mdx | 2 +-
.../platforms/javascript/guides/bun/index.mdx | 12 +-
.../javascript/guides/cloudflare/index.mdx | 13 +-
.../data-management/sensitive-data/index.mdx | 2 +-
.../cordova/sourcemaps/uploading/rollup.mdx | 2 +-
.../javascript/guides/deno/index.mdx | 12 +-
.../integrations/contextlines.mdx | 20 -
.../javascript/guides/express/index.mdx | 44 +-
.../javascript/guides/express/index__v7.x.mdx | 14 -
.../automatic-instrumentation.mdx | 6 -
.../guides/fastify/features/error-handler.mdx | 57 --
.../guides/fastify/features/index.mdx | 9 -
.../javascript/guides/fastify/index.mdx | 27 +-
.../automatic-instrumentation.mdx | 6 -
.../integrations/contextlines.mdx | 20 -
.../javascript/guides/hapi/index.mdx | 25 +-
.../automatic-instrumentation.mdx | 6 -
.../integrations/contextlines.mdx | 20 -
.../platforms/javascript/guides/koa/index.mdx | 25 +-
.../automatic-instrumentation.mdx | 6 -
.../javascript/guides/node/index.mdx | 4 +
docs/product/logs/getting-started/index.mdx | 8 +-
.../product/metrics/getting-started/index.mdx | 8 +-
.../javascript.fastify.mdx | 2 +-
.../javascript.koa.mdx | 31 -
.../getting-started-node/javascript.mdx | 14 +-
.../javascript.bun.mdx | 7 +
.../javascript.deno.mdx | 7 +
.../javascript.express.mdx | 0
.../javascript.fastify.mdx | 0
.../javascript.hapi.mdx | 0
.../javascript.koa.mdx | 0
.../javascript.mdx | 11 +
.../javascript.node.mdx | 12 +-
redirects.js | 22 +-
.../frameworkSelector/frameworks.spec.ts | 88 +++
.../frameworkSelector/frameworks.ts | 125 ++++
src/components/frameworkSelector/index.tsx | 557 ++++++++++++++++++
.../frameworkSelector/style.module.scss | 69 +++
src/components/migrationGuide/index.tsx | 7 +-
src/components/platformContent.tsx | 35 +-
src/components/platformIcon.tsx | 7 +
src/mdxComponents.ts | 2 +
50 files changed, 1375 insertions(+), 273 deletions(-)
create mode 100644 app/api/platform-content/[platform]/[runtime]/[framework]/[...includePath]/route.ts
delete mode 100644 docs/platforms/javascript/guides/express/configuration/integrations/contextlines.mdx
delete mode 100644 docs/platforms/javascript/guides/express/index__v7.x.mdx
delete mode 100644 docs/platforms/javascript/guides/express/tracing/instrumentation/automatic-instrumentation.mdx
delete mode 100644 docs/platforms/javascript/guides/fastify/features/error-handler.mdx
delete mode 100644 docs/platforms/javascript/guides/fastify/features/index.mdx
delete mode 100644 docs/platforms/javascript/guides/fastify/tracing/instrumentation/automatic-instrumentation.mdx
delete mode 100644 docs/platforms/javascript/guides/hapi/configuration/integrations/contextlines.mdx
delete mode 100644 docs/platforms/javascript/guides/hapi/tracing/instrumentation/automatic-instrumentation.mdx
delete mode 100644 docs/platforms/javascript/guides/koa/configuration/integrations/contextlines.mdx
delete mode 100644 docs/platforms/javascript/guides/koa/tracing/instrumentation/automatic-instrumentation.mdx
delete mode 100644 platform-includes/getting-started-install/javascript.koa.mdx
create mode 100644 platform-includes/getting-started-verify-issues-tracing/javascript.bun.mdx
create mode 100644 platform-includes/getting-started-verify-issues-tracing/javascript.deno.mdx
rename platform-includes/{getting-started-verify => getting-started-verify-issues-tracing}/javascript.express.mdx (100%)
rename platform-includes/{getting-started-verify => getting-started-verify-issues-tracing}/javascript.fastify.mdx (100%)
rename platform-includes/{getting-started-verify => getting-started-verify-issues-tracing}/javascript.hapi.mdx (100%)
rename platform-includes/{getting-started-verify => getting-started-verify-issues-tracing}/javascript.koa.mdx (100%)
create mode 100644 platform-includes/getting-started-verify-issues-tracing/javascript.mdx
create mode 100644 src/components/frameworkSelector/frameworks.spec.ts
create mode 100644 src/components/frameworkSelector/frameworks.ts
create mode 100644 src/components/frameworkSelector/index.tsx
create mode 100644 src/components/frameworkSelector/style.module.scss
diff --git a/app/api/platform-content/[platform]/[runtime]/[framework]/[...includePath]/route.ts b/app/api/platform-content/[platform]/[runtime]/[framework]/[...includePath]/route.ts
new file mode 100644
index 0000000000000..acfaca67ac4f3
--- /dev/null
+++ b/app/api/platform-content/[platform]/[runtime]/[framework]/[...includePath]/route.ts
@@ -0,0 +1,161 @@
+import {
+ PlatformContentPayload,
+ RUNTIMES,
+} from 'sentry-docs/components/frameworkSelector/frameworks';
+import {resolvePlatformContent} from 'sentry-docs/components/platformContent';
+import {getFileBySlugWithCache} from 'sentry-docs/mdx';
+
+/**
+ * Serves the compiled MDX of a `` include as it applies to a framework running
+ * on a runtime, so a runtime's page can swap in framework snippets client-side
+ * (see ``).
+ *
+ * Only the combinations from `generateStaticParams` are built; there is no runtime rendering.
+ */
+
+export const dynamic = 'force-static';
+export const dynamicParams = false;
+
+export function generateStaticParams() {
+ return Object.entries(RUNTIMES).flatMap(([runtime, {frameworks, includePaths}]) =>
+ frameworks.flatMap(({key: framework}) =>
+ includePaths.map(includePath => ({
+ platform: 'javascript',
+ runtime,
+ framework,
+ includePath: includePath.split('/'),
+ }))
+ )
+ );
+}
+
+type SlugFile = Awaited>;
+
+async function tryGetFile(slug: string): Promise {
+ try {
+ return await getFileBySlugWithCache(slug);
+ } catch {
+ return undefined;
+ }
+}
+
+/**
+ * Resolves an include for a framework on a runtime:
+ * 1. `..`, for snippets specific to both
+ * 2. On Node.js, the framework guide's content, which falls back to Node.js
+ * Elsewhere, only a `.` snippet, to not pull in Node.js content
+ * 3. The runtime guide's own content
+ */
+async function resolveForFramework(
+ includePath: string,
+ platform: string,
+ runtime: string,
+ framework: string
+): Promise {
+ const base = `platform-includes/${includePath}/${platform}`;
+
+ const doc = await tryGetFile(`${base}.${runtime}.${framework}`);
+ if (doc) {
+ return doc;
+ }
+
+ if (runtime === 'node') {
+ return resolvePlatformContent({
+ includePath,
+ path: ['platforms', platform, 'guides', framework],
+ });
+ }
+
+ return (
+ (await tryGetFile(`${base}.${framework}`)) ??
+ resolvePlatformContent({
+ includePath,
+ path: ['platforms', platform, 'guides', runtime],
+ })
+ );
+}
+
+const INCLUDE_RE = / Promise,
+ payload: PlatformContentPayload
+) {
+ for (const [, rawName] of source.matchAll(INCLUDE_RE)) {
+ const name = rawName.replace(/\.mdx$/, '');
+ if (name in payload.includes) {
+ continue;
+ }
+ // Missing includes render nothing, same as .
+ const doc = await tryGetFile(`includes/${name}`);
+ if (doc) {
+ payload.includes[name] = doc.mdxSource;
+ await collectNested(doc.matter.content, resolve, payload);
+ }
+ }
+
+ for (const [, includePath] of source.matchAll(PLATFORM_CONTENT_RE)) {
+ if (includePath in payload.platformContents) {
+ continue;
+ }
+ const doc = await resolve(includePath);
+ payload.platformContents[includePath] = doc?.mdxSource ?? null;
+ if (doc) {
+ await collectNested(doc.matter.content, resolve, payload);
+ }
+ }
+}
+
+async function buildPayload(
+ includePath: string,
+ resolve: (includePath: string) => Promise
+): Promise {
+ const doc = await resolve(includePath);
+ const payload: PlatformContentPayload = {
+ changed: false,
+ code: doc?.mdxSource ?? null,
+ includes: {},
+ platformContents: {},
+ };
+ if (doc) {
+ await collectNested(doc.matter.content, resolve, payload);
+ }
+ return payload;
+}
+
+export async function GET(
+ _request: Request,
+ {
+ params,
+ }: {
+ params: Promise<{
+ framework: string;
+ includePath: string[];
+ platform: string;
+ runtime: string;
+ }>;
+ }
+) {
+ const {platform, runtime, framework, includePath} = await params;
+ const resolve = (path: string) =>
+ resolveForFramework(path, platform, runtime, framework);
+
+ const resolveForRuntime = (path: string) =>
+ resolvePlatformContent({
+ includePath: path,
+ path: ['platforms', platform, 'guides', runtime],
+ });
+
+ const [payload, runtimePayload] = await Promise.all([
+ buildPayload(includePath.join('/'), resolve),
+ buildPayload(includePath.join('/'), resolveForRuntime),
+ ]);
+ payload.changed =
+ payload.code !== runtimePayload.code ||
+ JSON.stringify(payload.platformContents) !==
+ JSON.stringify(runtimePayload.platformContents);
+
+ return Response.json(payload);
+}
diff --git a/app/platform-redirect/page.tsx b/app/platform-redirect/page.tsx
index 8ae7d7f0d7a64..858edc12f0828 100644
--- a/app/platform-redirect/page.tsx
+++ b/app/platform-redirect/page.tsx
@@ -7,7 +7,7 @@ import {SmartLink} from 'sentry-docs/components/smartLink';
import {extractPlatforms, getDocsRootNode, nodeForPath} from 'sentry-docs/docTree';
import {setServerContext} from 'sentry-docs/serverContext';
-import {platformUrlFor, sanitizeNext} from './utils';
+import {landingPageFallbackGuide, platformUrlFor, sanitizeNext} from './utils';
export const metadata: Metadata = {
robots: 'noindex',
@@ -142,9 +142,11 @@ export default async function Page(props: {
const requestedPlatform = Array.isArray(platform) ? platform[0] : platform;
if (requestedPlatform) {
- const validPlatform = platformOrGuideList.find(
- p => p.key === requestedPlatform?.toLowerCase()
- );
+ const requestedKey = requestedPlatform.toLowerCase();
+ const fallbackKey = landingPageFallbackGuide(rootNode, requestedKey);
+ const validPlatform =
+ platformOrGuideList.find(p => p.key === requestedKey) ??
+ platformOrGuideList.find(p => p.key === fallbackKey);
if (validPlatform) {
return redirect(platformUrlFor(validPlatform.url, sanitized));
}
diff --git a/app/platform-redirect/utils.spec.ts b/app/platform-redirect/utils.spec.ts
index 3b14c5b7f79df..a55e6f20f5e43 100644
--- a/app/platform-redirect/utils.spec.ts
+++ b/app/platform-redirect/utils.spec.ts
@@ -1,11 +1,54 @@
+import type {DocNode} from 'sentry-docs/docTree';
import {describe, expect, it} from 'vitest';
-import {platformUrlFor, sanitizeNext} from './utils';
+import {landingPageFallbackGuide, platformUrlFor, sanitizeNext} from './utils';
const path = (next: string) => sanitizeNext(next).pathname;
const hash = (next: string) => sanitizeNext(next).hash;
const REJECTED = {pathname: '', hash: ''};
+describe('landingPageFallbackGuide', () => {
+ const node = (
+ slug: string,
+ frontmatter: Record = {},
+ children: DocNode[] = []
+ ) => ({slug, frontmatter, children, missing: false, path: slug}) as unknown as DocNode;
+
+ const rootNode = node('', {}, [
+ node('platforms', {}, [
+ node('javascript', {}, [
+ node('guides', {}, [
+ node('express', {
+ inheritCommonContent: false,
+ fallbackGuide: 'javascript.node',
+ }),
+ node('nestjs', {fallbackGuide: 'javascript.node'}),
+ node('cordova', {inheritCommonContent: false}),
+ ]),
+ ]),
+ ]),
+ ]);
+
+ it('returns the fallback guide of a landing page guide', () => {
+ expect(landingPageFallbackGuide(rootNode, 'javascript.express')).toBe(
+ 'javascript.node'
+ );
+ });
+
+ it('returns nothing for a guide that inherits the common content', () => {
+ expect(landingPageFallbackGuide(rootNode, 'javascript.nestjs')).toBeUndefined();
+ });
+
+ it('returns nothing for a landing page guide without a fallback guide', () => {
+ expect(landingPageFallbackGuide(rootNode, 'javascript.cordova')).toBeUndefined();
+ });
+
+ it('returns nothing for a platform or an unknown guide', () => {
+ expect(landingPageFallbackGuide(rootNode, 'javascript')).toBeUndefined();
+ expect(landingPageFallbackGuide(rootNode, 'javascript.unknown')).toBeUndefined();
+ });
+});
+
describe('sanitizeNext', () => {
it('should return an empty string for external URLs', () => {
expect(sanitizeNext('http://example.com')).toEqual(REJECTED);
diff --git a/app/platform-redirect/utils.ts b/app/platform-redirect/utils.ts
index e646c519afcab..816318c19a356 100644
--- a/app/platform-redirect/utils.ts
+++ b/app/platform-redirect/utils.ts
@@ -1,3 +1,25 @@
+import {DocNode, nodeForPath} from 'sentry-docs/docTree';
+
+/**
+ * Returns the `fallbackGuide` key (e.g. `javascript.node`) of a guide that is a single
+ * landing page (`inheritCommonContent: false`), such as `javascript.express`. The pages
+ * that such a guide does not have are in its fallback guide.
+ */
+export function landingPageFallbackGuide(
+ rootNode: DocNode,
+ key: string
+): string | undefined {
+ const [platform, guide] = key.split('.');
+ if (!guide) {
+ return undefined;
+ }
+ const guideNode = nodeForPath(rootNode, ['platforms', platform, 'guides', guide]);
+ if (guideNode?.frontmatter.inheritCommonContent !== false) {
+ return undefined;
+ }
+ return guideNode.frontmatter.fallbackGuide;
+}
+
// Parse base only — never part of the return value, and only compared against itself
const PARSE_BASE = 'https://sanitize.invalid';
diff --git a/docs/contributing/pages/components.mdx b/docs/contributing/pages/components.mdx
index 130549944885f..06fe0522ac58f 100644
--- a/docs/contributing/pages/components.mdx
+++ b/docs/contributing/pages/components.mdx
@@ -360,6 +360,7 @@ Attributes:
- `includePath` (string) - the subfolder within `/includes` to map to
- `platform` (string) - defaults to the `platform` value from the page context
+- `switchable` (boolean) - lets a surrounding [`FrameworkSelector`](#frameworkselector) swap the include for the selected framework's version
Some notes:
@@ -371,6 +372,28 @@ Some notes:
Note: This currently causes issues with tableOfContents generation, so its recommended to disable the TOC when using it.
+## FrameworkSelector
+
+Adds a framework dropdown to a runtime's quick start, such as the Node.js, Bun, and Deno guides. Selecting a framework that doesn't have its own SDK (Express, Fastify, Koa, Hapi) swaps every `` inside the selector for that framework's version. Selecting a framework that has its own guide (Next.js, Nuxt, and others) opens that guide. The selection is kept in the `?framework=` query parameter.
+
+```markdown {tabTitle:Example}
+
+
+
+
+
+```
+
+The runtimes, their frameworks, and their switchable include paths are configured in `src/components/frameworkSelector/frameworks.ts`.
+
+The framework snippets are only shown after a reader selects the framework, so they're easy to miss when you change content:
+
+- `platform-includes//javascript..mdx` (for example, `javascript.express.mdx`) shows up on the Node.js, Bun, **and** Deno quick starts. Put snippets that only apply to one runtime in `javascript...mdx`, for example `javascript.node.express.mdx`.
+- On Node.js, a framework without its own file uses the Node.js content. On Bun and Deno, it uses the runtime's own content.
+- Every `switchable` include path has to be listed in the runtime's `includePaths` in `frameworks.ts`. If it isn't, the framework version isn't built and the page quietly keeps showing the runtime's content. `frameworks.spec.ts` fails when the two get out of sync.
+- The framework snippets aren't part of the runtime page's [Markdown export](/contributing/pages/llm-support/). Keep framework-specific guidance that agents need, such as error handling options, on the framework's own guide page too, for example `docs/platforms/javascript/guides/express/index.mdx`.
+- To review a change, open the quick start with the framework selected, for example `/platforms/javascript/guides/node/?framework=express`, for each runtime the file applies to.
+
## PlatformIdentifier
Render terms in the correct case within the body text of a page (not in code samples) based on the platform case_style setting:
diff --git a/docs/platforms/javascript/common/configuration/integrations/fastify.mdx b/docs/platforms/javascript/common/configuration/integrations/fastify.mdx
index f4ba56683c2d8..cf140e80b1134 100644
--- a/docs/platforms/javascript/common/configuration/integrations/fastify.mdx
+++ b/docs/platforms/javascript/common/configuration/integrations/fastify.mdx
@@ -19,6 +19,47 @@ Sentry.init({
});
```
+## Options
+
+### `shouldHandleError`
+
+A function that decides whether an error is captured. By default, errors with a 5xx status code (and errors with a 2xx status code or lower) are captured, and errors with a 3xx or 4xx status code aren't.
+
+```typescript
+declare function shouldHandleError(
+ error: Error,
+ request: FastifyRequest,
+ reply: FastifyReply
+): boolean;
+```
+
+```javascript
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [
+ Sentry.fastifyIntegration({
+ shouldHandleError(error, request, reply) {
+ return reply.statusCode >= 500;
+ },
+ }),
+ ],
+});
+```
+
+If you use TypeScript, cast the request and reply to get full type safety:
+
+```typescript
+import type { FastifyRequest, FastifyReply } from "fastify";
+
+Sentry.fastifyIntegration({
+ shouldHandleError(error, minimalRequest, minimalReply) {
+ const request = minimalRequest as FastifyRequest;
+ const reply = minimalReply as FastifyReply;
+ return reply.statusCode >= 500;
+ },
+});
+```
+
## Supported Versions
- `fastify`: `^3.21.0 || ^4.0.0`
diff --git a/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx b/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx
index b5c70dd09409f..dae753d55eacb 100644
--- a/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx
+++ b/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx
@@ -1,7 +1,7 @@
---
title: "Scrubbing Sensitive Data"
description: "Learn about filtering or scrubbing sensitive data within the Sentry JavaScript SDK, so that data is not sent with the event. You can also configure server-side scrubbing to ensure the data is not stored."
-customCanonicalTag: "/platforms/javascript/guides/koa/data-management/sensitive-data/"
+customCanonicalTag: "/platforms/javascript/guides/node/data-management/sensitive-data/"
sidebar_order: 100
keywords:
- pii
diff --git a/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx b/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx
index 1595ac6fcb59a..06aa5f958ffef 100644
--- a/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx
+++ b/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx
@@ -2,7 +2,7 @@
title: Rollup
description: "Upload your source maps with the Sentry Rollup Plugin."
sidebar_order: 5
-customCanonicalTag: "/platforms/javascript/guides/koa/sourcemaps/uploading/rollup/"
+customCanonicalTag: "/platforms/javascript/guides/node/sourcemaps/uploading/rollup/"
---
diff --git a/docs/platforms/javascript/guides/bun/index.mdx b/docs/platforms/javascript/guides/bun/index.mdx
index 953542c895b9e..4f18bafd063a0 100644
--- a/docs/platforms/javascript/guides/bun/index.mdx
+++ b/docs/platforms/javascript/guides/bun/index.mdx
@@ -7,6 +7,8 @@ categories:
- server-only
---
+
+
@@ -108,13 +110,7 @@ For Bun, `bunR
Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
-Add an intentional error to your main application file:
-
-```javascript
-setTimeout(() => {
- throw new Error("Sentry Test Error");
-}, 0);
-```
+
### View Captured Data in Sentry
@@ -137,3 +133,5 @@ At this point, you should have integrated Sentry into your Bun application. Here
+
+
diff --git a/docs/platforms/javascript/guides/cloudflare/index.mdx b/docs/platforms/javascript/guides/cloudflare/index.mdx
index 51632e610ec6b..cd9bfc16f52ed 100644
--- a/docs/platforms/javascript/guides/cloudflare/index.mdx
+++ b/docs/platforms/javascript/guides/cloudflare/index.mdx
@@ -12,16 +12,9 @@ categories:
This guide covers Cloudflare Workers. If you're deploying a Cloudflare Pages application, see Cloudflare Pages instead, which is set up with middleware rather than a wrapper.
-If you're using any of the listed frameworks, follow their specific setup instructions:
+If you're using a framework, select it to open its setup instructions:
-- **[Astro](/platforms/javascript/guides/astro/cloudflare/)**
-- **[Hono](/platforms/javascript/guides/hono/cloudflare/)** (with @sentry/hono)
-- **[Hydrogen](/platforms/javascript/guides/react-router/hydrogen/)**
-- **[Next.js](/platforms/javascript/guides/nextjs/cloudflare/)**
-- **[Nuxt](/platforms/javascript/guides/nuxt/cloudflare/)**
-- **[Remix](/platforms/javascript/guides/remix/cloudflare/)**
-- **[SvelteKit](/platforms/javascript/guides/sveltekit/cloudflare/)**
-- **[TanStack Start](/platforms/javascript/guides/tanstackstart-react/cloudflare/)**
+
The Cloudflare Workers runtime has some platform-specific limitations that
@@ -178,7 +171,7 @@ At this point, you should have integrated Sentry into your Cloudflare Worker. He
-- Using a framework? Follow its setup instructions, linked at the top of this page
+- Using a framework? Select it in the [framework selector](#framework-selector) at the top of this page
- Find various support topics in troubleshooting
- [Get support](https://www.sentry.help/en/)
diff --git a/docs/platforms/javascript/guides/cordova/data-management/sensitive-data/index.mdx b/docs/platforms/javascript/guides/cordova/data-management/sensitive-data/index.mdx
index 5045b48f990e1..5a280d3a5710c 100644
--- a/docs/platforms/javascript/guides/cordova/data-management/sensitive-data/index.mdx
+++ b/docs/platforms/javascript/guides/cordova/data-management/sensitive-data/index.mdx
@@ -1,7 +1,7 @@
---
title: "Scrubbing Sensitive Data"
description: "Learn about filtering or scrubbing sensitive data within the Sentry JavaScript SDK, so that data is not sent with the event. You can also configure server-side scrubbing to ensure the data is not stored."
-customCanonicalTag: "/platforms/javascript/guides/koa/data-management/sensitive-data/"
+customCanonicalTag: "/platforms/javascript/guides/node/data-management/sensitive-data/"
sidebar_order: 100
keywords:
- pii
diff --git a/docs/platforms/javascript/guides/cordova/sourcemaps/uploading/rollup.mdx b/docs/platforms/javascript/guides/cordova/sourcemaps/uploading/rollup.mdx
index 066d1b6ba87f4..c2f8ffb6e6b6d 100644
--- a/docs/platforms/javascript/guides/cordova/sourcemaps/uploading/rollup.mdx
+++ b/docs/platforms/javascript/guides/cordova/sourcemaps/uploading/rollup.mdx
@@ -2,7 +2,7 @@
title: Rollup
description: "Upload your source maps with the Sentry Rollup Plugin."
sidebar_order: 5
-customCanonicalTag: "/platforms/javascript/guides/koa/sourcemaps/uploading/rollup/"
+customCanonicalTag: "/platforms/javascript/guides/node/sourcemaps/uploading/rollup/"
---
diff --git a/docs/platforms/javascript/guides/deno/index.mdx b/docs/platforms/javascript/guides/deno/index.mdx
index 41329f9bb689a..87e356d892b3f 100644
--- a/docs/platforms/javascript/guides/deno/index.mdx
+++ b/docs/platforms/javascript/guides/deno/index.mdx
@@ -7,6 +7,8 @@ categories:
- server-only
---
+
+
This SDK is currently in **beta**. Beta features are still in progress and may have bugs. Please reach out on [GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns
@@ -122,13 +124,7 @@ For Deno, `de
Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
-Add an intentional error to your application:
-
-```javascript
-setTimeout(() => {
- throw new Error("Sentry Test Error");
-}, 0);
-```
+
### View Captured Data in Sentry
@@ -151,3 +147,5 @@ At this point, you should have integrated Sentry into your Deno application. Her
+
+
diff --git a/docs/platforms/javascript/guides/express/configuration/integrations/contextlines.mdx b/docs/platforms/javascript/guides/express/configuration/integrations/contextlines.mdx
deleted file mode 100644
index 7b3af58727490..0000000000000
--- a/docs/platforms/javascript/guides/express/configuration/integrations/contextlines.mdx
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: ContextLines
-description: "Adds source code to your stack frames. (default)"
----
-
-_Import name: `Sentry.contextLinesIntegration`_
-
-This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).
-
-This integration adds source code to your stack frames. It ensures that you can see the code that caused the error directly in the Sentry UI.
-
-
-
-## Options
-
-### `frameContextLines`
-
-_Type: `number`_
-
-The number of lines to collect around each stack frame's line number. Defaults to 7.
diff --git a/docs/platforms/javascript/guides/express/index.mdx b/docs/platforms/javascript/guides/express/index.mdx
index 059dcbfb2b745..222756abf18f0 100644
--- a/docs/platforms/javascript/guides/express/index.mdx
+++ b/docs/platforms/javascript/guides/express/index.mdx
@@ -1,11 +1,51 @@
---
title: Express
-description: "Learn how to manually set up Sentry in your Express app and capture your first events."
+description: "Learn how to set up Sentry in your Express app on Node.js, Bun, or Deno."
sdk: sentry.javascript.node
fallbackGuide: javascript.node
+inheritCommonContent: false
categories:
- server
- server-only
---
-
+[Express](https://expressjs.com/) doesn't need its own Sentry SDK. Set up Sentry for the runtime your app runs on, and the SDK instruments Express automatically: `expressIntegration` captures errors from your routes and middleware, and creates spans for incoming requests when tracing is enabled.
+
+## Set Up Sentry for Your Runtime
+
+-
+-
+-
+
+## Customize Error Capturing
+
+Errors with a 3xx or 4xx status code are skipped, since they're usually expected redirects or client errors. To change which errors are captured, pass a `shouldHandleError` callback to `expressIntegration()`:
+
+```javascript
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [
+ Sentry.expressIntegration({
+ shouldHandleError(error) {
+ const status = Number(error.status ?? error.statusCode ?? 500);
+ // Capture 401/403 in addition to the default 5xx errors
+ return status === 401 || status === 403 || status >= 500;
+ },
+ }),
+ ],
+});
+```
+
+If you capture errors yourself in your own error-handling middleware, set `shouldHandleError: false` to avoid duplicate events.
diff --git a/docs/platforms/javascript/guides/express/index__v7.x.mdx b/docs/platforms/javascript/guides/express/index__v7.x.mdx
deleted file mode 100644
index 76ef56f70dc76..0000000000000
--- a/docs/platforms/javascript/guides/express/index__v7.x.mdx
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: Express
-description: "Learn how to instrument the Sentry Express SDK."
-sdk: sentry.javascript.node
-fallbackGuide: javascript.node
-categories:
- - server
----
-
-
-
-This guide explains how to set up Sentry in your Express application.
-
-
diff --git a/docs/platforms/javascript/guides/express/tracing/instrumentation/automatic-instrumentation.mdx b/docs/platforms/javascript/guides/express/tracing/instrumentation/automatic-instrumentation.mdx
deleted file mode 100644
index c7b42fb602ab9..0000000000000
--- a/docs/platforms/javascript/guides/express/tracing/instrumentation/automatic-instrumentation.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Automatic Instrumentation
-description: "Learn what transactions are captured after tracing is enabled in the Sentry Express SDK."
----
-
-
diff --git a/docs/platforms/javascript/guides/fastify/features/error-handler.mdx b/docs/platforms/javascript/guides/fastify/features/error-handler.mdx
deleted file mode 100644
index 43e3c0f8cf935..0000000000000
--- a/docs/platforms/javascript/guides/fastify/features/error-handler.mdx
+++ /dev/null
@@ -1,57 +0,0 @@
----
-title: Fastify Error Handler
-description: "Learn how Sentry's Fastify integration captures errors and how to configure it."
----
-
-The `fastifyIntegration` captures errors in your Fastify application and sends them to Sentry. It's enabled by default, so you only need to add it to your `Sentry.init` call to configure it.
-
-By default, errors with status codes 5xx and above, as well as errors with status codes 2xx and below, are captured. Errors with 3xx and 4xx status codes aren't sent to Sentry.
-
-## Configuration
-
-To control which errors are captured, pass `shouldHandleError` to `Sentry.fastifyIntegration`:
-
-```javascript
-import * as Sentry from "@sentry/node";
-
-Sentry.init({
- dsn: "your-dsn",
- integrations: [
- Sentry.fastifyIntegration({
- shouldHandleError(error, request, reply) {
- return reply.statusCode >= 500;
- },
- }),
- ],
-});
-```
-
-## Options
-
-`Sentry.fastifyIntegration` accepts the following options:
-
-- `shouldHandleError`
-
-A function that determines whether an error should be captured.
-
-```typescript
-declare function shouldHandleError(
- error: Error,
- request: FastifyRequest,
- reply: FastifyReply
-): boolean;
-```
-
-If using TypeScript, you can cast the request and reply to get full type safety.
-
-```typescript
-import type { FastifyRequest, FastifyReply } from "fastify";
-
-Sentry.fastifyIntegration({
- shouldHandleError(error, minimalRequest, minimalReply) {
- const request = minimalRequest as FastifyRequest;
- const reply = minimalReply as FastifyReply;
- return reply.statusCode >= 500;
- },
-});
-```
diff --git a/docs/platforms/javascript/guides/fastify/features/index.mdx b/docs/platforms/javascript/guides/fastify/features/index.mdx
deleted file mode 100644
index b7fcfb338bb49..0000000000000
--- a/docs/platforms/javascript/guides/fastify/features/index.mdx
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: Fastify Features
-description: "Learn how Sentry's Node SDK exposes features for first class integration with Fastify."
-excerpt: ""
----
-
-The Sentry Node SDK offers Fastify-specific features for first class integration with the framework.
-
-
diff --git a/docs/platforms/javascript/guides/fastify/index.mdx b/docs/platforms/javascript/guides/fastify/index.mdx
index 8635ad6a08605..2e8735557adb6 100644
--- a/docs/platforms/javascript/guides/fastify/index.mdx
+++ b/docs/platforms/javascript/guides/fastify/index.mdx
@@ -1,13 +1,34 @@
---
title: Fastify
-description: "Learn how to manually set up Sentry in your Fastify app and capture your first events."
+description: "Learn how to set up Sentry in your Fastify app on Node.js, Bun, or Deno."
sdk: sentry.javascript.node
fallbackGuide: javascript.node
+inheritCommonContent: false
categories:
- server
- server-only
---
-
+[Fastify](https://fastify.dev/) doesn't need its own Sentry SDK. Set up Sentry for the runtime your app runs on, and the SDK instruments Fastify automatically: `fastifyIntegration` captures errors from your routes and hooks, and creates spans for incoming requests when tracing is enabled.
-
+## Set Up Sentry for Your Runtime
+
+-
+-
+-
+
+## Customize Error Capturing
+
+Errors with a 3xx or 4xx status code are skipped. To change which errors are captured, pass a `shouldHandleError` callback to `fastifyIntegration()`. See the [Fastify integration](/platforms/javascript/guides/node/configuration/integrations/fastify/#shouldhandleerror) for all options.
diff --git a/docs/platforms/javascript/guides/fastify/tracing/instrumentation/automatic-instrumentation.mdx b/docs/platforms/javascript/guides/fastify/tracing/instrumentation/automatic-instrumentation.mdx
deleted file mode 100644
index abc98b5bca4fd..0000000000000
--- a/docs/platforms/javascript/guides/fastify/tracing/instrumentation/automatic-instrumentation.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Automatic Instrumentation
-description: "Learn what transactions are captured after tracing is enabled in the Sentry Fastify SDK."
----
-
-
diff --git a/docs/platforms/javascript/guides/hapi/configuration/integrations/contextlines.mdx b/docs/platforms/javascript/guides/hapi/configuration/integrations/contextlines.mdx
deleted file mode 100644
index 7b3af58727490..0000000000000
--- a/docs/platforms/javascript/guides/hapi/configuration/integrations/contextlines.mdx
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: ContextLines
-description: "Adds source code to your stack frames. (default)"
----
-
-_Import name: `Sentry.contextLinesIntegration`_
-
-This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).
-
-This integration adds source code to your stack frames. It ensures that you can see the code that caused the error directly in the Sentry UI.
-
-
-
-## Options
-
-### `frameContextLines`
-
-_Type: `number`_
-
-The number of lines to collect around each stack frame's line number. Defaults to 7.
diff --git a/docs/platforms/javascript/guides/hapi/index.mdx b/docs/platforms/javascript/guides/hapi/index.mdx
index 9c3a092676880..147b858df193c 100644
--- a/docs/platforms/javascript/guides/hapi/index.mdx
+++ b/docs/platforms/javascript/guides/hapi/index.mdx
@@ -1,11 +1,32 @@
---
title: Hapi
-description: "Learn how to manually set up Sentry in your Hapi app and capture your first events."
+description: "Learn how to set up Sentry in your Hapi app on Node.js, Bun, or Deno."
sdk: sentry.javascript.node
fallbackGuide: javascript.node
+inheritCommonContent: false
categories:
- server
- server-only
---
-
+[Hapi](https://hapi.dev/) doesn't need its own Sentry SDK. Set up Sentry for the runtime your app runs on, and the SDK instruments Hapi automatically: `hapiIntegration` registers an error handler when your server starts, and creates spans for incoming requests when tracing is enabled.
+
+## Set Up Sentry for Your Runtime
+
+-
+-
+-
+
+To configure the integration, see the [Hapi integration](/platforms/javascript/guides/node/configuration/integrations/hapi/).
diff --git a/docs/platforms/javascript/guides/hapi/tracing/instrumentation/automatic-instrumentation.mdx b/docs/platforms/javascript/guides/hapi/tracing/instrumentation/automatic-instrumentation.mdx
deleted file mode 100644
index e749b53b702b1..0000000000000
--- a/docs/platforms/javascript/guides/hapi/tracing/instrumentation/automatic-instrumentation.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Automatic Instrumentation
-description: "Learn what transactions are captured after tracing is enabled in the Sentry Hapi SDK."
----
-
-
diff --git a/docs/platforms/javascript/guides/koa/configuration/integrations/contextlines.mdx b/docs/platforms/javascript/guides/koa/configuration/integrations/contextlines.mdx
deleted file mode 100644
index 7b3af58727490..0000000000000
--- a/docs/platforms/javascript/guides/koa/configuration/integrations/contextlines.mdx
+++ /dev/null
@@ -1,20 +0,0 @@
----
-title: ContextLines
-description: "Adds source code to your stack frames. (default)"
----
-
-_Import name: `Sentry.contextLinesIntegration`_
-
-This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).
-
-This integration adds source code to your stack frames. It ensures that you can see the code that caused the error directly in the Sentry UI.
-
-
-
-## Options
-
-### `frameContextLines`
-
-_Type: `number`_
-
-The number of lines to collect around each stack frame's line number. Defaults to 7.
diff --git a/docs/platforms/javascript/guides/koa/index.mdx b/docs/platforms/javascript/guides/koa/index.mdx
index 61f9b6d2450cb..33d7cff36ebad 100644
--- a/docs/platforms/javascript/guides/koa/index.mdx
+++ b/docs/platforms/javascript/guides/koa/index.mdx
@@ -1,11 +1,32 @@
---
title: Koa
-description: "Learn how to manually set up Sentry in your Koa app and capture your first events."
+description: "Learn how to set up Sentry in your Koa app on Node.js, Bun, or Deno."
sdk: sentry.javascript.node
fallbackGuide: javascript.node
+inheritCommonContent: false
categories:
- server
- server-only
---
-
+[Koa](https://koajs.com/) doesn't need its own Sentry SDK. Set up Sentry for the runtime your app runs on, and the SDK instruments Koa automatically: `koaIntegration` registers an error handler when your app starts, and creates spans for incoming requests and middleware when tracing is enabled.
+
+## Set Up Sentry for Your Runtime
+
+-
+-
+-
+
+To configure the integration, see the [Koa integration](/platforms/javascript/guides/node/configuration/integrations/koa/).
diff --git a/docs/platforms/javascript/guides/koa/tracing/instrumentation/automatic-instrumentation.mdx b/docs/platforms/javascript/guides/koa/tracing/instrumentation/automatic-instrumentation.mdx
deleted file mode 100644
index 4ad82b17e57af..0000000000000
--- a/docs/platforms/javascript/guides/koa/tracing/instrumentation/automatic-instrumentation.mdx
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Automatic Instrumentation
-description: "Learn what transactions are captured after tracing is enabled in the Sentry Koa SDK."
----
-
-
diff --git a/docs/platforms/javascript/guides/node/index.mdx b/docs/platforms/javascript/guides/node/index.mdx
index 989e9c7935797..0955371bf4511 100644
--- a/docs/platforms/javascript/guides/node/index.mdx
+++ b/docs/platforms/javascript/guides/node/index.mdx
@@ -7,8 +7,12 @@ categories:
- server-only
---
+
+
+
+
diff --git a/docs/product/logs/getting-started/index.mdx b/docs/product/logs/getting-started/index.mdx
index abe253815930a..22a2b112a8ae4 100644
--- a/docs/product/logs/getting-started/index.mdx
+++ b/docs/product/logs/getting-started/index.mdx
@@ -68,13 +68,13 @@ To set up Sentry Logs, use the links below for supported SDKs. After it's been s
-
-
-
-
-
-
-
-
- `shouldHandleError` option.
+`fastifyIntegration` captures errors from your routes and hooks automatically, so you don't need to register a Sentry error handler. Errors with a 3xx or 4xx status code are skipped. To change which errors are captured, use the `shouldHandleError` option.
diff --git a/platform-includes/getting-started-install/javascript.koa.mdx b/platform-includes/getting-started-install/javascript.koa.mdx
deleted file mode 100644
index d0c4e2e161466..0000000000000
--- a/platform-includes/getting-started-install/javascript.koa.mdx
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-```bash {tabTitle:npm}
-npm install @sentry/node
-```
-
-```bash {tabTitle:yarn}
-yarn add @sentry/node
-```
-
-```bash {tabTitle:pnpm}
-pnpm add @sentry/node
-```
-
-
-
-
-
-```bash {tabTitle:npm}
-npm install @sentry/node @sentry/profiling-node --save
-```
-
-```bash {tabTitle:yarn}
-yarn add @sentry/node @sentry/profiling-node
-```
-
-```bash {tabTitle:pnpm}
-pnpm add @sentry/node @sentry/profiling-node
-```
-
-
diff --git a/platform-includes/getting-started-node/javascript.mdx b/platform-includes/getting-started-node/javascript.mdx
index 6494a33f2dd07..339f211dd3356 100644
--- a/platform-includes/getting-started-node/javascript.mdx
+++ b/platform-includes/getting-started-node/javascript.mdx
@@ -1,4 +1,4 @@
-
+
@@ -6,7 +6,7 @@
Run the command for your preferred package manager to add the Sentry SDK to your application:
-
+
## Configure
@@ -23,7 +23,7 @@ The snippet also turns on:
- Tracing: via `tracesSampleRate`
- Profiling: via `profileSessionSampleRate` and `nodeProfilingIntegration()`
-
+
Then, use the [--import](https://nodejs.org/api/cli.html#--importmodule) command line option and point it to your `instrument.(js|mjs)` file to load the module before the application starts:
@@ -37,15 +37,15 @@ node --import ./instrument.mjs app.mjs
If you are using a bundler like vite, you can also follow the bundler setup docs instead.
-
+
### Add Readable Stack Traces With Source Maps
-
+
### Control the Data You Send to Sentry
-
+
## Send Logs
@@ -66,7 +66,7 @@ On Node.js, `
Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
-
+
### View Captured Data in Sentry
diff --git a/platform-includes/getting-started-verify-issues-tracing/javascript.bun.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.bun.mdx
new file mode 100644
index 0000000000000..3f64ed54344fb
--- /dev/null
+++ b/platform-includes/getting-started-verify-issues-tracing/javascript.bun.mdx
@@ -0,0 +1,7 @@
+Add an intentional error to your main application file:
+
+```javascript
+setTimeout(() => {
+ throw new Error("Sentry Test Error");
+}, 0);
+```
diff --git a/platform-includes/getting-started-verify-issues-tracing/javascript.deno.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.deno.mdx
new file mode 100644
index 0000000000000..d65d054a8eb1d
--- /dev/null
+++ b/platform-includes/getting-started-verify-issues-tracing/javascript.deno.mdx
@@ -0,0 +1,7 @@
+Add an intentional error to your application:
+
+```javascript
+setTimeout(() => {
+ throw new Error("Sentry Test Error");
+}, 0);
+```
diff --git a/platform-includes/getting-started-verify/javascript.express.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.express.mdx
similarity index 100%
rename from platform-includes/getting-started-verify/javascript.express.mdx
rename to platform-includes/getting-started-verify-issues-tracing/javascript.express.mdx
diff --git a/platform-includes/getting-started-verify/javascript.fastify.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.fastify.mdx
similarity index 100%
rename from platform-includes/getting-started-verify/javascript.fastify.mdx
rename to platform-includes/getting-started-verify-issues-tracing/javascript.fastify.mdx
diff --git a/platform-includes/getting-started-verify/javascript.hapi.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.hapi.mdx
similarity index 100%
rename from platform-includes/getting-started-verify/javascript.hapi.mdx
rename to platform-includes/getting-started-verify-issues-tracing/javascript.hapi.mdx
diff --git a/platform-includes/getting-started-verify/javascript.koa.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.koa.mdx
similarity index 100%
rename from platform-includes/getting-started-verify/javascript.koa.mdx
rename to platform-includes/getting-started-verify-issues-tracing/javascript.koa.mdx
diff --git a/platform-includes/getting-started-verify-issues-tracing/javascript.mdx b/platform-includes/getting-started-verify-issues-tracing/javascript.mdx
new file mode 100644
index 0000000000000..736f01a457988
--- /dev/null
+++ b/platform-includes/getting-started-verify-issues-tracing/javascript.mdx
@@ -0,0 +1,11 @@
+Add an intentional error to your main application file that Sentry will capture:
+
+```javascript
+setTimeout(() => {
+ try {
+ foo();
+ } catch (e) {
+ Sentry.captureException(e);
+ }
+}, 99);
+```
diff --git a/platform-includes/getting-started-verify/javascript.node.mdx b/platform-includes/getting-started-verify/javascript.node.mdx
index 736f01a457988..11d461b54dfc7 100644
--- a/platform-includes/getting-started-verify/javascript.node.mdx
+++ b/platform-includes/getting-started-verify/javascript.node.mdx
@@ -1,11 +1 @@
-Add an intentional error to your main application file that Sentry will capture:
-
-```javascript
-setTimeout(() => {
- try {
- foo();
- } catch (e) {
- Sentry.captureException(e);
- }
-}, 99);
-```
+
diff --git a/redirects.js b/redirects.js
index d79bbd296af08..597821d1a0681 100644
--- a/redirects.js
+++ b/redirects.js
@@ -1095,17 +1095,17 @@ const userDocsRedirects = [
{
source: '/platforms/javascript/guides/express/install/lightweight/',
destination:
- '/platforms/javascript/guides/express/configuration/integrations/opentelemetry/',
+ '/platforms/javascript/guides/node/configuration/integrations/opentelemetry/',
},
{
source: '/platforms/javascript/guides/fastify/install/lightweight/',
destination:
- '/platforms/javascript/guides/fastify/configuration/integrations/opentelemetry/',
+ '/platforms/javascript/guides/node/configuration/integrations/opentelemetry/',
},
{
source: '/platforms/javascript/guides/hapi/install/lightweight/',
destination:
- '/platforms/javascript/guides/hapi/configuration/integrations/opentelemetry/',
+ '/platforms/javascript/guides/node/configuration/integrations/opentelemetry/',
},
{
source: '/platforms/javascript/guides/hono/install/lightweight/',
@@ -1115,7 +1115,7 @@ const userDocsRedirects = [
{
source: '/platforms/javascript/guides/koa/install/lightweight/',
destination:
- '/platforms/javascript/guides/koa/configuration/integrations/opentelemetry/',
+ '/platforms/javascript/guides/node/configuration/integrations/opentelemetry/',
},
{
source:
@@ -1127,6 +1127,20 @@ const userDocsRedirects = [
'/platforms/javascript/guides/:guide(node|express|fastify|hapi|hono|koa|nestjs)/install/commonjs/',
destination: '/platforms/javascript/guides/:guide/',
},
+ // Express, Fastify, Hapi and Koa are single landing pages, their subpages moved to Node.js.
+ {
+ source: '/platforms/javascript/guides/fastify/features/:path*',
+ destination: '/platforms/javascript/guides/node/configuration/integrations/fastify/',
+ },
+ {
+ source:
+ '/platforms/javascript/guides/:guide(express|fastify|hapi|koa)__v:version/:path*',
+ destination: '/platforms/javascript/guides/node/',
+ },
+ {
+ source: '/platforms/javascript/guides/:guide(express|fastify|hapi|koa)/:path+',
+ destination: '/platforms/javascript/guides/node/:path+/',
+ },
{
source: '/platforms/javascript/guides/nestjs/install/esm-without-import/',
destination: '/platforms/javascript/guides/nestjs/',
diff --git a/src/components/frameworkSelector/frameworks.spec.ts b/src/components/frameworkSelector/frameworks.spec.ts
new file mode 100644
index 0000000000000..41c74fea53736
--- /dev/null
+++ b/src/components/frameworkSelector/frameworks.spec.ts
@@ -0,0 +1,88 @@
+import {existsSync, readdirSync, readFileSync} from 'node:fs';
+import {join} from 'node:path';
+
+import matter from 'gray-matter';
+import {describe, expect, it} from 'vitest';
+
+import {getRuntimeLinks} from '../runtimeLinks';
+import {RUNTIMES} from './frameworks';
+
+const GUIDES_DIR = 'docs/platforms/javascript/guides';
+
+const pageExists = (url: string) => {
+ const file = join('docs', url.replace(/\/$/, ''));
+ return existsSync(`${file}.mdx`) || existsSync(join(file, 'index.mdx'));
+};
+
+/** The index page of a guide and its child pages, with their frontmatter. */
+const guidePages = (guide: string) => {
+ const dir = join(GUIDES_DIR, guide);
+ const path = `platforms/javascript/guides/${guide}`;
+ const frontmatter = (file: string) =>
+ matter(readFileSync(join(dir, file), 'utf8')).data;
+ const children = readdirSync(dir, {withFileTypes: true}).flatMap(entry => {
+ const file = entry.isDirectory() ? join(entry.name, 'index.mdx') : entry.name;
+ if (!file.endsWith('.mdx') || file === 'index.mdx' || !existsSync(join(dir, file))) {
+ return [];
+ }
+ const name = entry.isDirectory() ? entry.name : entry.name.replace(/\.mdx$/, '');
+ return [{path: `${path}/${name}`, frontmatter: frontmatter(file)}];
+ });
+ return {path, frontmatter: frontmatter('index.mdx'), children};
+};
+
+const PLATFORM_CONTENT_RE = /]*)\/>/g;
+
+/**
+ * The `switchable` include paths of a runtime's quick start: the ones on its page and in the
+ * `platform-includes` files the page includes directly.
+ */
+const switchableIncludePaths = (runtime: string) => {
+ const found = new Set();
+ const scan = (source: string, nested: boolean) => {
+ for (const [, includePath, attributes] of source.matchAll(PLATFORM_CONTENT_RE)) {
+ if (/\bswitchable\b/.test(attributes)) {
+ found.add(includePath);
+ } else if (nested) {
+ const file = [`javascript.${runtime}.mdx`, 'javascript.mdx']
+ .map(name => join('platform-includes', includePath, name))
+ .find(existsSync);
+ if (file) {
+ scan(readFileSync(file, 'utf8'), false);
+ }
+ }
+ }
+ };
+ scan(readFileSync(join(GUIDES_DIR, runtime, 'index.mdx'), 'utf8'), true);
+ return [...found].sort();
+};
+
+describe('RUNTIMES', () => {
+ it.each(Object.entries(RUNTIMES))('%s links only to existing pages', (_, runtime) => {
+ const urls = (runtime.frameworkGuides ?? []).map(g => g.url);
+ expect(urls.filter(url => !pageExists(url))).toEqual([]);
+ });
+
+ it.each(Object.entries(RUNTIMES))(
+ '%s lists every switchable include path of its quick start',
+ (runtime, {includePaths}) => {
+ expect(switchableIncludePaths(runtime)).toEqual([...includePaths].sort());
+ }
+ );
+
+ it('links every quick start of a guide with quick starts for more than one runtime', () => {
+ const guides = readdirSync(GUIDES_DIR).filter(guide =>
+ existsSync(join(GUIDES_DIR, guide, 'index.mdx'))
+ );
+ const missing = guides.flatMap(guide =>
+ (getRuntimeLinks(guidePages(guide), []) ?? [])
+ .filter(
+ link =>
+ link.runtime in RUNTIMES &&
+ !RUNTIMES[link.runtime].frameworkGuides?.some(g => g.url === link.url)
+ )
+ .map(link => link.url)
+ );
+ expect(missing).toEqual([]);
+ });
+});
diff --git a/src/components/frameworkSelector/frameworks.ts b/src/components/frameworkSelector/frameworks.ts
new file mode 100644
index 0000000000000..4922ff5ffd359
--- /dev/null
+++ b/src/components/frameworkSelector/frameworks.ts
@@ -0,0 +1,125 @@
+export type Framework = {
+ /** Guide slug, e.g. `express` for `/platforms/javascript/guides/express/`. */
+ key: string;
+ title: string;
+};
+
+const EXPRESS: Framework = {key: 'express', title: 'Express'};
+const FASTIFY: Framework = {key: 'fastify', title: 'Fastify'};
+const KOA: Framework = {key: 'koa', title: 'Koa'};
+const HAPI: Framework = {key: 'hapi', title: 'Hapi'};
+
+/** A framework with its own Sentry SDK. The selector opens its guide instead of swapping snippets. */
+export type FrameworkGuide = {
+ /** Platform icon key, e.g. `javascript-astro`. */
+ icon: string;
+ title: string;
+ url: string;
+};
+
+/**
+ * `slug` is the page path below `/platforms/javascript/guides/`. The icon defaults to the
+ * one of the guide in the first segment of `slug`.
+ */
+const guide = (
+ title: string,
+ slug: string,
+ icon = `javascript-${slug.split('/')[0]}`
+): FrameworkGuide => ({
+ icon,
+ title,
+ url: `/platforms/javascript/guides/${slug}/`,
+});
+
+export type Runtime = {
+ /** Frameworks selectable on the runtime's getting started page. */
+ frameworks: Framework[];
+ /** Frameworks with their own Sentry SDK that the selector links to. */
+ frameworkGuides?: FrameworkGuide[];
+ /**
+ * `` include paths on the runtime's getting started page.
+ * Each one is pre-built per framework as a static JSON file that the page loads on demand.
+ */
+ includePaths: string[];
+ title: string;
+};
+
+/** Runtime guides (keyed by guide slug) that have a framework selector on their getting started page. */
+export const RUNTIMES: Record = {
+ node: {
+ title: 'Node.js',
+ frameworks: [EXPRESS, FASTIFY, KOA, HAPI],
+ frameworkGuides: [
+ guide('Astro', 'astro'),
+ guide('Hono', 'hono'),
+ guide('NestJS', 'nestjs'),
+ guide('Next.js', 'nextjs'),
+ guide('Nitro', 'nitro'),
+ guide('Nuxt', 'nuxt'),
+ guide('React Router', 'react-router'),
+ guide('Remix', 'remix'),
+ guide('SolidStart', 'solidstart'),
+ guide('SvelteKit', 'sveltekit'),
+ guide('TanStack Start', 'tanstackstart-react'),
+ ],
+ includePaths: [
+ 'getting-started-prerequisites',
+ 'getting-started-install',
+ 'getting-started-config',
+ 'getting-started-capture-errors',
+ 'getting-started-sourcemaps-short-version',
+ 'getting-started-data-collection',
+ 'getting-started-verify',
+ ],
+ },
+ bun: {
+ title: 'Bun',
+ frameworks: [EXPRESS, FASTIFY, KOA, HAPI],
+ frameworkGuides: [guide('Elysia', 'elysia'), guide('Hono', 'hono')],
+ includePaths: ['getting-started-verify-issues-tracing'],
+ },
+ deno: {
+ title: 'Deno',
+ frameworks: [EXPRESS, FASTIFY, KOA, HAPI],
+ frameworkGuides: [guide('Hono', 'hono')],
+ includePaths: ['getting-started-verify-issues-tracing'],
+ },
+ cloudflare: {
+ title: 'Cloudflare Workers',
+ frameworks: [],
+ frameworkGuides: [
+ guide('Astro', 'astro/cloudflare'),
+ guide('Hono', 'hono/cloudflare'),
+ guide('Hydrogen', 'react-router/hydrogen', 'javascript-hydrogen'),
+ guide('Next.js', 'nextjs/cloudflare'),
+ guide('Nuxt', 'nuxt/cloudflare'),
+ guide('Remix', 'remix/cloudflare'),
+ guide('SvelteKit', 'sveltekit/cloudflare'),
+ guide('TanStack Start', 'tanstackstart-react/cloudflare'),
+ ],
+ includePaths: [],
+ },
+};
+
+export const FRAMEWORK_QUERY_PARAM = 'framework';
+
+/** The serialized form of a `` include, served by the platform-content API route. */
+export type PlatformContentPayload = {
+ /** Whether the content differs from what the runtime's page shows without a framework. */
+ changed: boolean;
+ /** Compiled MDX of the resolved include, or `null` if there is no content for it. */
+ code: string | null;
+ /** Compiled MDX of nested `` files, keyed by name. */
+ includes: Record;
+ /** Compiled MDX of nested `` files, keyed by include path. */
+ platformContents: Record;
+};
+
+export function platformContentUrl(
+ platform: string,
+ runtime: string,
+ framework: string,
+ includePath: string
+) {
+ return `/api/platform-content/${platform}/${runtime}/${framework}/${includePath}/`;
+}
diff --git a/src/components/frameworkSelector/index.tsx b/src/components/frameworkSelector/index.tsx
new file mode 100644
index 0000000000000..4284ff50108b9
--- /dev/null
+++ b/src/components/frameworkSelector/index.tsx
@@ -0,0 +1,557 @@
+'use client';
+
+import {ArrowRightIcon, CaretSortIcon} from '@radix-ui/react-icons';
+import * as RadixSelect from '@radix-ui/react-select';
+import {useRouter} from 'next/navigation';
+import {
+ createContext,
+ ReactNode,
+ useCallback,
+ useContext,
+ useEffect,
+ useMemo,
+ useRef,
+ useState,
+} from 'react';
+import {getMDXComponent} from 'sentry-docs/getMDXComponent';
+
+import {Alert} from '../alert';
+import {CodeBlock} from '../codeBlock';
+import {CodeContext} from '../codeContext';
+import {CodeTabs} from '../codeTabs';
+import {Expandable} from '../expandable';
+import {FeatureBadge} from '../featureBadge';
+import {
+ OnboardingOption,
+ OnboardingOptionButtons,
+ OnboardingSteps,
+ updateElementsVisibilityForOptions,
+} from '../onboarding';
+import {PlatformIcon} from '../platformIcon';
+import {SmartLink} from '../smartLink';
+import styles from '../versionSelector/style.module.scss';
+import {
+ Framework,
+ FRAMEWORK_QUERY_PARAM,
+ FrameworkGuide,
+ PlatformContentPayload,
+ platformContentUrl,
+ RUNTIMES,
+} from './frameworks';
+import frameworkStyles from './style.module.scss';
+
+const DEFAULT_VALUE = 'none';
+const GUIDE_VALUE_PREFIX = 'guide:';
+const groupLabelClassName = 'px-2 pt-2 pb-1 text-xs font-medium text-[var(--gray-11)]';
+const itemClassName = `${styles.item} ${frameworkStyles.option}`;
+
+/** The state of a switchable block while a framework is selected. */
+type ContentStatus =
+ | {state: 'loading' | 'unchanged'}
+ /** `step` is the title of the `h2` step that contains the block, `targetId` the block's id. */
+ | {state: 'changed'; targetId: string; step?: string};
+
+type FrameworkContextValue = {
+ framework: Framework | null;
+ platform: string;
+ /** Records the status of the block with `includePath`, or removes it with `null`. */
+ reportContent: (includePath: string, status: ContentStatus | null) => void;
+ /** The runtime guide the page belongs to, e.g. `node`. */
+ runtime: string;
+};
+
+const FrameworkContext = createContext(null);
+
+function ItemLabel({icon, title}: {icon: string; title: string}) {
+ return (
+
+
+ {title}
+
+ );
+}
+
+/**
+ * The guides of a dropdown group as plain links. The dropdown renders its options only while
+ * it's open, so without these the page's HTML, and its Markdown export for AI agents, would
+ * not link the guides. People use the dropdown, so the links are hidden from them.
+ */
+function GuideLinks({guides, label}: {guides: FrameworkGuide[]; label: string}) {
+ if (guides.length === 0) {
+ return null;
+ }
+ return (
+
+ );
+}
+
+/**
+ * Renders the server-rendered `children` by default, or the selected framework's
+ * version of `includePath` when inside a `` with a framework selected.
+ */
+export function FrameworkContent({
+ children,
+ includePath,
+}: {
+ children: ReactNode;
+ includePath: string;
+}) {
+ const context = useContext(FrameworkContext);
+
+ if (!context?.framework) {
+ return children;
+ }
+
+ return (
+
+ );
+}
diff --git a/src/components/frameworkSelector/style.module.scss b/src/components/frameworkSelector/style.module.scss
new file mode 100644
index 0000000000000..5ba4afe092218
--- /dev/null
+++ b/src/components/frameworkSelector/style.module.scss
@@ -0,0 +1,69 @@
+.summary {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ margin-top: -0.5rem;
+ font-size: 0.875rem;
+ color: var(--gray-11);
+}
+
+.changed {
+ margin-block: 1rem;
+ padding: 0.25rem 0 0.25rem 1rem;
+ border-left: 3px solid var(--accent-purple);
+ border-radius: 0 0.25rem 0.25rem 0;
+ // Clears the sticky header and the sticky feature buttons of the quick start
+ scroll-margin-top: calc(var(--header-height) + 5rem);
+ animation: highlight 1.6s ease-out;
+}
+
+.label {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ margin: 0 0 0.5rem;
+ font-size: 0.75rem;
+ font-weight: 500;
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
+ color: var(--accent-purple);
+}
+
+// The option that has the keyboard focus. The selected option keeps its own color.
+.option[data-highlighted]:not([data-state='checked']) {
+ background-color: var(--accent-purple-light);
+}
+
+@keyframes highlight {
+ from {
+ background-color: var(--accent-purple-light);
+ }
+
+ to {
+ background-color: transparent;
+ }
+}
+
+:global(.dark) {
+ .label {
+ color: var(--accent-purple-light);
+ }
+
+ .changed {
+ animation-name: highlight-dark;
+ }
+
+ .option[data-highlighted]:not([data-state='checked']) {
+ background-color: var(--gray-a4);
+ }
+}
+
+@keyframes highlight-dark {
+ from {
+ background-color: color-mix(in srgb, var(--accent-purple), transparent 85%);
+ }
+
+ to {
+ background-color: transparent;
+ }
+}
diff --git a/src/components/migrationGuide/index.tsx b/src/components/migrationGuide/index.tsx
index 1f46b98d4ed71..f4c9f1ba1083e 100644
--- a/src/components/migrationGuide/index.tsx
+++ b/src/components/migrationGuide/index.tsx
@@ -16,8 +16,10 @@ const MIGRATIONS = {
'dotnet-v7': {storagePrefix: 'sentry-dotnet-v7-migration', platform: 'dotnet'},
} as const;
-// Share the MDX component map across item bodies and platform pages.
-const components = mdxComponents();
+// Share the MDX component map across item bodies and platform pages. Built on first
+// use rather than at import time: `mdxComponents` imports this module, so calling it
+// while that import cycle is still resolving can read components that aren't loaded yet.
+let components: ReturnType | undefined;
// `getMDXComponent` compiles its source with `new Function`, so the same item
// body is compiled once instead of once per page it appears on. Keyed by source,
@@ -30,6 +32,7 @@ function ItemBody({mdxSource}: {mdxSource: string}) {
MDXLayout = getMDXComponent(mdxSource);
componentBySource.set(mdxSource, MDXLayout);
}
+ components ??= mdxComponents();
return ;
}
diff --git a/src/components/platformContent.tsx b/src/components/platformContent.tsx
index a4fa773303f60..4a6402165f00d 100644
--- a/src/components/platformContent.tsx
+++ b/src/components/platformContent.tsx
@@ -12,6 +12,7 @@ import {
VERSION_INDICATOR,
} from 'sentry-docs/versioning';
+import {FrameworkContent} from './frameworkSelector';
import {Include} from './include';
type Props = {
@@ -20,6 +21,11 @@ type Props = {
fallbackPlatform?: string;
noGuides?: boolean;
platform?: string;
+ /**
+ * Allow this content to be swapped client-side for another guide's version
+ * when rendered inside a ``.
+ */
+ switchable?: boolean;
};
const updatePathIfVersionedFileDoesNotExist = (path: string): string => {
@@ -52,9 +58,33 @@ function MDXLayoutRenderer({mdxSource: source, ...rest}) {
return ;
}
-export async function PlatformContent({includePath, platform, noGuides}: Props) {
+export async function PlatformContent({
+ includePath,
+ platform,
+ noGuides,
+ switchable,
+}: Props) {
const {path} = serverContext();
+ const doc = await resolvePlatformContent({includePath, path, platform, noGuides});
+ const content = doc ? : null;
+ if (switchable) {
+ return {content};
+ }
+
+ return content;
+}
+
+/**
+ * Returns the `platform-includes//` file for the page at `path`: the file of the
+ * guide, its `fallbackGuide`, the platform, its `fallbackPlatform`, or `_default`, in this order.
+ */
+export async function resolvePlatformContent({
+ includePath,
+ path,
+ platform,
+ noGuides,
+}: Pick & {path: string[]}) {
if (!platform) {
if (path.length < 2 || path[0] !== 'platforms') {
return null;
@@ -136,8 +166,7 @@ export async function PlatformContent({includePath, platform, noGuides}: Props)
}
}
- const {mdxSource} = doc;
- return ;
+ return doc;
}
const mdxComponentsWithWrapper = mdxComponents({Include, PlatformContent});
diff --git a/src/components/platformIcon.tsx b/src/components/platformIcon.tsx
index 132b094e3b550..d7ddb88331ced 100644
--- a/src/components/platformIcon.tsx
+++ b/src/components/platformIcon.tsx
@@ -76,6 +76,7 @@ import Html5SVG from 'platformicons/svg/HTML5.svg';
import HttpxSVG from 'platformicons/svg/httpx.svg';
import HueySVG from 'platformicons/svg/huey.svg';
import HuggingfaceSVG from 'platformicons/svg/huggingface.svg';
+import HydrogenSVG from 'platformicons/svg/hydrogen.svg';
import IonicSVG from 'platformicons/svg/ionic.svg';
import IrisSVG from 'platformicons/svg/iris.svg';
import JavaSVG from 'platformicons/svg/java.svg';
@@ -235,6 +236,7 @@ import Html5SVGLarge from 'platformicons/svg_80x80/HTML5.svg';
import HttpxSVGLarge from 'platformicons/svg_80x80/httpx.svg';
import HueySVGLarge from 'platformicons/svg_80x80/huey.svg';
import HuggingfaceSVGLarge from 'platformicons/svg_80x80/huggingface.svg';
+import HydrogenSVGLarge from 'platformicons/svg_80x80/hydrogen.svg';
import IonicSVGLarge from 'platformicons/svg_80x80/ionic.svg';
import IrisSVGLarge from 'platformicons/svg_80x80/iris.svg';
import JavaSVGLarge from 'platformicons/svg_80x80/java.svg';
@@ -672,6 +674,10 @@ const formatToSVG = {
sm: HonoSVG,
lg: HonoSVGLarge,
},
+ hydrogen: {
+ sm: HydrogenSVG,
+ lg: HydrogenSVGLarge,
+ },
kotlin: {
sm: KotlinSVG,
lg: KotlinSVGLarge,
@@ -1076,6 +1082,7 @@ export const PLATFORM_TO_ICON = {
'javascript-ionic': 'ionic',
'javascript-hapi': 'hapi',
'javascript-hono': 'hono',
+ 'javascript-hydrogen': 'hydrogen',
'javascript-eve': 'eve',
'javascript-firebase': 'firebase',
'javascript-flue': 'flue',
diff --git a/src/mdxComponents.ts b/src/mdxComponents.ts
index 27d17c1f72fe1..85c9d6dad9b5a 100644
--- a/src/mdxComponents.ts
+++ b/src/mdxComponents.ts
@@ -20,6 +20,7 @@ import {DevDocsCardGrid} from './components/devDocsCardGrid';
import DocImage from './components/docImage';
import {Expandable} from './components/expandable';
import {FeatureBadge} from './components/featureBadge';
+import {FrameworkSelector} from './components/frameworkSelector';
import {GitHubCodePreview} from './components/githubCodePreview';
import {GitHubDomainChecker} from './components/githubDomainChecker';
import {GradleFeatureConfig} from './components/gradleFeatureConfig';
@@ -101,6 +102,7 @@ export function mdxComponents(
DefinitionList,
Expandable,
FeatureBadge,
+ FrameworkSelector,
GuideGrid,
IntegrationGrid,
IntegrationListItem,
From 40b6259b4eb170783dd038b159cd99f5c40f9c9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Peer=20St=C3=B6cklmair?=
Date: Tue, 10 Nov 2026 11:15:14 -0500
Subject: [PATCH 012/141] docs(js): Add runtime quick starts to the agent
guides (#20467)
## DESCRIBE YOUR PR
This links the runtime quick starts of the agent guides, so a reader or
a coding agent can start on one page and find the setup for their
runtime. Pi Durable, Mastra and Flue set `runtime` in their frontmatter,
so they show the runtime selector from #19977, and Pi Durable gets new
Deno and Bun quick starts.
- The framework dropdown on the Node.js, Bun, Deno and Cloudflare quick
starts gets an "Agent frameworks" group (Eve, Flue, Mastra and Pi
Durable). Each entry opens the quick start for that runtime.
- On Deno, the app loads the Sentry import hook with `--preload`, and
`deno.json` needs `nodeModulesDir`. On Bun, the app must be built with
`sentryBunPlugin`, because Bun has no runtime hook.
## Dropdown decision
"Agent frameworks" comes before "Set up with its own guide", so the
agent guides are near the top of the dropdown. The alternative is to
show them last.
## Known issues
- The SDK repo has no tests for Pi Durable on Deno or Bun yet. Both
setups were tested locally with a fake model provider.
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Claude Opus 5.5
---
.../javascript/guides/flue/cloudflare.mdx | 6 +-
.../javascript/guides/flue/index.mdx | 3 +-
.../javascript/guides/mastra/cloudflare.mdx | 6 +-
.../javascript/guides/mastra/index.mdx | 3 +-
.../javascript/guides/pi-durable/bun.mdx | 120 +++++++++++++++++
.../guides/pi-durable/cloudflare.mdx | 6 +-
.../javascript/guides/pi-durable/deno.mdx | 121 ++++++++++++++++++
.../javascript/guides/pi-durable/index.mdx | 7 +-
.../frameworkSelector/frameworks.spec.ts | 10 +-
.../frameworkSelector/frameworks.ts | 18 +++
src/components/frameworkSelector/index.tsx | 55 +++++---
11 files changed, 314 insertions(+), 41 deletions(-)
create mode 100644 docs/platforms/javascript/guides/pi-durable/bun.mdx
create mode 100644 docs/platforms/javascript/guides/pi-durable/deno.mdx
diff --git a/docs/platforms/javascript/guides/flue/cloudflare.mdx b/docs/platforms/javascript/guides/flue/cloudflare.mdx
index e5c274aa0189d..a9eba621da5b4 100644
--- a/docs/platforms/javascript/guides/flue/cloudflare.mdx
+++ b/docs/platforms/javascript/guides/flue/cloudflare.mdx
@@ -1,15 +1,15 @@
---
-title: Cloudflare Quick Start
+title: Sentry for Flue (Cloudflare)
+sidebar_title: Quick Start (Cloudflare)
sidebar_order: 0.5
description: Learn how to send Flue agent traces, model calls, tool executions, and errors to Sentry from Cloudflare Workers.
+runtime: cloudflare
---
[Flue](https://flueframework.com/) is an open TypeScript framework for building AI agents, made by the Astro team. This guide sets up the Sentry SDK in a Flue app running on Cloudflare Workers so agent turns, model calls, tool executions, and errors flow into [Sentry Agent Tracing](/product/agents/).
-Running Flue on Node.js? Follow the [Flue Quick Start](../) instead.
-
## Prerequisites
Before you begin, you need:
diff --git a/docs/platforms/javascript/guides/flue/index.mdx b/docs/platforms/javascript/guides/flue/index.mdx
index 5a87966bc49b9..430cf14d3ef05 100644
--- a/docs/platforms/javascript/guides/flue/index.mdx
+++ b/docs/platforms/javascript/guides/flue/index.mdx
@@ -4,6 +4,7 @@ description: Learn how to send Flue agent traces, model calls, tool executions,
sdk: sentry.javascript.node
fallbackGuide: javascript.node
icon: flue
+runtime: node
categories:
- server
- server-only
@@ -18,8 +19,6 @@ keywords:
-Deploying Flue agents to Cloudflare Workers? Follow the [Cloudflare Quick Start](./cloudflare/) instead.
-
## Prerequisites
Before you begin, you need:
diff --git a/docs/platforms/javascript/guides/mastra/cloudflare.mdx b/docs/platforms/javascript/guides/mastra/cloudflare.mdx
index 2efb42fef0a73..59dfc102ee961 100644
--- a/docs/platforms/javascript/guides/mastra/cloudflare.mdx
+++ b/docs/platforms/javascript/guides/mastra/cloudflare.mdx
@@ -1,15 +1,15 @@
---
-title: Cloudflare Quick Start
+title: Sentry for Mastra (Cloudflare)
+sidebar_title: Quick Start (Cloudflare)
sidebar_order: 0.5
description: Learn how to send Mastra agent traces, model calls, tool executions, and errors to Sentry from Cloudflare Workers.
+runtime: cloudflare
---
[Mastra](https://mastra.ai/) is a TypeScript framework for building AI applications and agents. This guide sets up the Sentry SDK in a Mastra app running on Cloudflare Workers so agent runs, model generations, tool calls, workflows, and errors flow into [Sentry Agent Tracing](/product/agents/).
-Running Mastra on Node.js? Follow the [Mastra Quick Start](../) instead.
-
## Prerequisites
Before you begin, you need:
diff --git a/docs/platforms/javascript/guides/mastra/index.mdx b/docs/platforms/javascript/guides/mastra/index.mdx
index 43ecc77e79488..94b8b41e34bc6 100644
--- a/docs/platforms/javascript/guides/mastra/index.mdx
+++ b/docs/platforms/javascript/guides/mastra/index.mdx
@@ -4,6 +4,7 @@ description: Learn how to send Mastra agent traces, model calls, tool executions
sdk: sentry.javascript.node
fallbackGuide: javascript.node
icon: mastra
+runtime: node
categories:
- server
- server-only
@@ -18,8 +19,6 @@ keywords:
-Running Mastra on Cloudflare Workers? Follow the [Cloudflare Quick Start](./cloudflare/) instead.
-
## Prerequisites
Before you begin, you need:
diff --git a/docs/platforms/javascript/guides/pi-durable/bun.mdx b/docs/platforms/javascript/guides/pi-durable/bun.mdx
new file mode 100644
index 0000000000000..8990f49d25a32
--- /dev/null
+++ b/docs/platforms/javascript/guides/pi-durable/bun.mdx
@@ -0,0 +1,120 @@
+---
+title: Sentry for Pi Durable (Bun)
+sidebar_title: Quick Start (Bun)
+sidebar_order: 0.7
+description: Learn how to send Pi Durable agent runs, model requests, tool calls, and errors to Sentry from a Bun app.
+runtime: bun
+---
+
+[Pi Durable](https://earendil.com/posts/pi-durable/) is Earendil's durable agent harness, built on the same foundations as the Pi coding agent. This guide sets up the Sentry SDK in a Bun app that runs Pi Durable, so agent runs, model requests, tool calls, and errors flow into [Sentry Agent Tracing](/product/agents/).
+
+
+
+## Prerequisites
+
+Before you begin, you need:
+
+- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/). The project's DSN tells the SDK where to send data.
+- A Bun application using `@earendil-works/pi-durable` version `1.0.0` or later.
+- `@sentry/bun` version `11.6.0` or later.
+
+
+
+## Install
+
+Choose the features you want to configure, and this guide will show you how:
+
+
+
+Install the Sentry Bun SDK:
+
+```bash
+bun add @sentry/bun@^11.6.0
+```
+
+## Configure
+
+Create an `instrument.ts` file in the root of your project. The Pi Durable integration is enabled by default, so you don't add it to `integrations`:
+
+```typescript {filename:instrument.ts}
+import * as Sentry from "@sentry/bun";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of spans for tracing.
+ // We recommend adjusting this value in production.
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/guides/bun/configuration/options/#tracesSampleRate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+});
+```
+
+Bun has no runtime hook that Sentry can use to instrument Pi Durable, so build your app with `sentryBunPlugin` from `@sentry/bun/plugin`. The plugin instruments `Harness.open()` while `Bun.build()` bundles `@earendil-works/pi-durable`:
+
+```typescript {filename:build.ts}
+import { sentryBunPlugin } from "@sentry/bun/plugin";
+
+await Bun.build({
+ entrypoints: ["./app.ts"],
+ outdir: "./dist",
+ target: "bun",
+ plugins: [sentryBunPlugin()],
+});
+```
+
+Build your app, then run the output with the instrument file preloaded:
+
+```bash
+bun build.ts
+bun --preload ./instrument.ts dist/app.js
+```
+
+If you run your source directly, for example with `bun app.ts`, the plugin doesn't run, and Pi Durable isn't traced.
+
+Your Pi Durable code doesn't change. Every Harness your app opens is traced, whichever storage it uses.
+
+
+
+### Control the Data You Send to Sentry (Optional)
+
+
+
+To change recording for Pi Durable only, pass `recordInputs` and `recordOutputs` to the integration. They take precedence over `dataCollection`:
+
+```typescript {filename:instrument.ts}
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [
+ Sentry.piDurableIntegration({
+ recordInputs: false,
+ recordOutputs: false,
+ }),
+ ],
+});
+```
+
+
+
+
+
+
+
+## Troubleshooting
+
+- **No AI spans at all.** Confirm that `sentryBunPlugin()` is in your `Bun.build()` call and that you run the built output, not your source files.
+
+
+
+
+
+## Supported Versions
+
+- `@sentry/bun`: `>=11.6.0`
+- `@earendil-works/pi-durable`: `>=1.0.0 <2.0.0`
diff --git a/docs/platforms/javascript/guides/pi-durable/cloudflare.mdx b/docs/platforms/javascript/guides/pi-durable/cloudflare.mdx
index cfde28a4f313c..1a178064c9377 100644
--- a/docs/platforms/javascript/guides/pi-durable/cloudflare.mdx
+++ b/docs/platforms/javascript/guides/pi-durable/cloudflare.mdx
@@ -1,15 +1,15 @@
---
-title: Cloudflare Quick Start
+title: Sentry for Pi Durable (Cloudflare)
+sidebar_title: Quick Start (Cloudflare)
sidebar_order: 0.5
description: Learn how to send Pi Durable agent runs, model requests, tool calls, and errors to Sentry from Cloudflare Durable Objects.
+runtime: cloudflare
---
[Pi Durable](https://earendil.com/posts/pi-durable/) is Earendil's durable agent harness, built on the same foundations as the Pi coding agent. This guide sets up the Sentry SDK in a Worker that runs Pi Durable in a Durable Object, for example through the Agents SDK `PiHarness`, so agent runs, model requests, tool calls, and errors flow into [Sentry Agent Tracing](/product/agents/).
-Running Pi Durable on Node.js? Follow the [Pi Durable Quick Start](../) instead.
-
## Prerequisites
Before you begin, you need:
diff --git a/docs/platforms/javascript/guides/pi-durable/deno.mdx b/docs/platforms/javascript/guides/pi-durable/deno.mdx
new file mode 100644
index 0000000000000..24eecb22d96a1
--- /dev/null
+++ b/docs/platforms/javascript/guides/pi-durable/deno.mdx
@@ -0,0 +1,121 @@
+---
+title: Sentry for Pi Durable (Deno)
+sidebar_title: Quick Start (Deno)
+sidebar_order: 0.6
+description: Learn how to send Pi Durable agent runs, model requests, tool calls, and errors to Sentry from a Deno app.
+runtime: deno
+---
+
+[Pi Durable](https://earendil.com/posts/pi-durable/) is Earendil's durable agent harness, built on the same foundations as the Pi coding agent. This guide sets up the Sentry SDK in a Deno app that runs Pi Durable, so agent runs, model requests, tool calls, and errors flow into [Sentry Agent Tracing](/product/agents/).
+
+
+
+## Prerequisites
+
+Before you begin, you need:
+
+- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/). The project's DSN tells the SDK where to send data.
+- A Deno application using `@earendil-works/pi-durable` version `1.0.0` or later. Deno must be version `2.8.3` or later.
+- `@sentry/deno` version `11.6.0` or later.
+
+
+
+## Install
+
+Choose the features you want to configure, and this guide will show you how:
+
+
+
+Deno loads the Sentry Deno SDK from npm through the `npm:` specifier. Add it to the imports in your `deno.json`, so Deno uses version `11.6.0` or later.
+
+The Sentry import hook, which you load when you start your app, reads `@earendil-works/pi-durable` from a local `node_modules` directory, not from Deno's global npm cache. Set `nodeModulesDir` in your `deno.json` too:
+
+```json {filename:deno.json}
+{
+ "imports": {
+ "@sentry/deno": "npm:@sentry/deno@^11.6.0"
+ },
+ "nodeModulesDir": "auto"
+}
+```
+
+## Configure
+
+Initialize the Sentry SDK at the top of your entry file. The Pi Durable integration is enabled by default, so you don't add it to `integrations`:
+
+```typescript {filename:main.ts}
+import * as Sentry from "npm:@sentry/deno";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ // ___PRODUCT_OPTION_START___ performance
+
+ // Set tracesSampleRate to 1.0 to capture 100%
+ // of spans for tracing.
+ // We recommend adjusting this value in production.
+ // Learn more at
+ // https://docs.sentry.io/platforms/javascript/guides/deno/configuration/options/#tracesSampleRate
+ tracesSampleRate: 1.0,
+ // ___PRODUCT_OPTION_END___ performance
+});
+```
+
+Load the Sentry import hook with the `--preload` flag when you start your app. Deno blocks access to the network, the file system, and system information until you grant it. Add the hosts your agents call, such as your model provider, to `--allow-net`, separated by commas, and add any other access your app needs:
+
+```bash
+deno run \
+ --preload=npm:@sentry/deno/import \
+ --allow-net=___ORG_INGEST_DOMAIN___,api.openai.com \
+ --allow-env \
+ --allow-read=. \
+ --allow-sys=hostname,osRelease \
+ main.ts
+```
+
+The import hook instruments `Harness.open()` while Deno loads `@earendil-works/pi-durable`. `Sentry.init()` in your entry file alone is too late, because Deno loads every module that your entry file imports before it runs any of them.
+
+Your Pi Durable code doesn't change. Every Harness your app opens is traced, whichever storage it uses.
+
+
+
+### Control the Data You Send to Sentry (Optional)
+
+
+
+To change recording for Pi Durable only, pass `recordInputs` and `recordOutputs` to the integration. They take precedence over `dataCollection`:
+
+```typescript {filename:main.ts}
+Sentry.init({
+ dsn: "___PUBLIC_DSN___",
+ integrations: [
+ Sentry.piDurableIntegration({
+ recordInputs: false,
+ recordOutputs: false,
+ }),
+ ],
+});
+```
+
+
+
+
+
+
+
+## Troubleshooting
+
+- **No AI spans at all.** Confirm that you start your app with `--preload=npm:@sentry/deno/import` and that `deno.json` sets `nodeModulesDir`. Without the import hook, `@earendil-works/pi-durable` is loaded before `Sentry.init()` runs, so the SDK can't instrument it.
+- **Your app stops at start with `NotCapable`.** Deno names the missing permission in the error. The import hook needs `--allow-env` and `--allow-read`. If the error asks for read access to a file in Deno's npm cache, set `nodeModulesDir` in your `deno.json` instead of granting more access.
+
+
+
+
+
+## Supported Versions
+
+- `@sentry/deno`: `>=11.6.0`
+- `@earendil-works/pi-durable`: `>=1.0.0 <2.0.0`
+- Deno: `>=2.8.3`
diff --git a/docs/platforms/javascript/guides/pi-durable/index.mdx b/docs/platforms/javascript/guides/pi-durable/index.mdx
index 45cc4aefb9886..87cbc8b766e5d 100644
--- a/docs/platforms/javascript/guides/pi-durable/index.mdx
+++ b/docs/platforms/javascript/guides/pi-durable/index.mdx
@@ -4,6 +4,7 @@ description: Learn how to send Pi Durable agent runs, model requests, tool calls
sdk: sentry.javascript.node
fallbackGuide: javascript.node
icon: pi-durable
+runtime: node
categories:
- server
- server-only
@@ -20,15 +21,13 @@ keywords:
-Running Pi Durable in a Cloudflare Durable Object? Follow the [Cloudflare Quick Start](./cloudflare/) instead.
-
## Prerequisites
Before you begin, you need:
- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/). The project's DSN tells the SDK where to send data.
- A Node.js application using `@earendil-works/pi-durable` version `1.0.0` or later.
-- `@sentry/node` version `11.6.0` or later, or [`@sentry/cloudflare@^11.6.0` when running on Cloudflare](./cloudflare/). Browser runtimes are not supported.
+- `@sentry/node` version `11.6.0` or later. Browser runtimes are not supported.
@@ -185,4 +184,6 @@ Sentry.init({
- `@sentry/node`: `>=11.6.0`
- `@sentry/cloudflare`: `>=11.6.0`
+- `@sentry/deno`: `>=11.6.0`
+- `@sentry/bun`: `>=11.6.0`
- `@earendil-works/pi-durable`: `>=1.0.0 <2.0.0`
diff --git a/src/components/frameworkSelector/frameworks.spec.ts b/src/components/frameworkSelector/frameworks.spec.ts
index 41c74fea53736..bc95d6b12c363 100644
--- a/src/components/frameworkSelector/frameworks.spec.ts
+++ b/src/components/frameworkSelector/frameworks.spec.ts
@@ -5,10 +5,13 @@ import matter from 'gray-matter';
import {describe, expect, it} from 'vitest';
import {getRuntimeLinks} from '../runtimeLinks';
-import {RUNTIMES} from './frameworks';
+import {Runtime, RUNTIMES} from './frameworks';
const GUIDES_DIR = 'docs/platforms/javascript/guides';
+const linkedUrls = (runtime: Runtime) =>
+ [...(runtime.frameworkGuides ?? []), ...(runtime.agentGuides ?? [])].map(g => g.url);
+
const pageExists = (url: string) => {
const file = join('docs', url.replace(/\/$/, ''));
return existsSync(`${file}.mdx`) || existsSync(join(file, 'index.mdx'));
@@ -59,8 +62,7 @@ const switchableIncludePaths = (runtime: string) => {
describe('RUNTIMES', () => {
it.each(Object.entries(RUNTIMES))('%s links only to existing pages', (_, runtime) => {
- const urls = (runtime.frameworkGuides ?? []).map(g => g.url);
- expect(urls.filter(url => !pageExists(url))).toEqual([]);
+ expect(linkedUrls(runtime).filter(url => !pageExists(url))).toEqual([]);
});
it.each(Object.entries(RUNTIMES))(
@@ -79,7 +81,7 @@ describe('RUNTIMES', () => {
.filter(
link =>
link.runtime in RUNTIMES &&
- !RUNTIMES[link.runtime].frameworkGuides?.some(g => g.url === link.url)
+ !linkedUrls(RUNTIMES[link.runtime]).includes(link.url)
)
.map(link => link.url)
);
diff --git a/src/components/frameworkSelector/frameworks.ts b/src/components/frameworkSelector/frameworks.ts
index 4922ff5ffd359..3d4945367259f 100644
--- a/src/components/frameworkSelector/frameworks.ts
+++ b/src/components/frameworkSelector/frameworks.ts
@@ -36,6 +36,11 @@ export type Runtime = {
frameworks: Framework[];
/** Frameworks with their own Sentry SDK that the selector links to. */
frameworkGuides?: FrameworkGuide[];
+ /**
+ * Agent frameworks that the selector links to in the "Agent frameworks" group. Each URL is
+ * the framework's quick start for this runtime.
+ */
+ agentGuides?: FrameworkGuide[];
/**
* `` include paths on the runtime's getting started page.
* Each one is pre-built per framework as a static JSON file that the page loads on demand.
@@ -62,6 +67,12 @@ export const RUNTIMES: Record = {
guide('SvelteKit', 'sveltekit'),
guide('TanStack Start', 'tanstackstart-react'),
],
+ agentGuides: [
+ guide('Eve', 'eve'),
+ guide('Flue', 'flue'),
+ guide('Mastra', 'mastra'),
+ guide('Pi Durable', 'pi-durable'),
+ ],
includePaths: [
'getting-started-prerequisites',
'getting-started-install',
@@ -76,12 +87,14 @@ export const RUNTIMES: Record = {
title: 'Bun',
frameworks: [EXPRESS, FASTIFY, KOA, HAPI],
frameworkGuides: [guide('Elysia', 'elysia'), guide('Hono', 'hono')],
+ agentGuides: [guide('Pi Durable', 'pi-durable/bun')],
includePaths: ['getting-started-verify-issues-tracing'],
},
deno: {
title: 'Deno',
frameworks: [EXPRESS, FASTIFY, KOA, HAPI],
frameworkGuides: [guide('Hono', 'hono')],
+ agentGuides: [guide('Pi Durable', 'pi-durable/deno')],
includePaths: ['getting-started-verify-issues-tracing'],
},
cloudflare: {
@@ -97,6 +110,11 @@ export const RUNTIMES: Record = {
guide('SvelteKit', 'sveltekit/cloudflare'),
guide('TanStack Start', 'tanstackstart-react/cloudflare'),
],
+ agentGuides: [
+ guide('Flue', 'flue/cloudflare'),
+ guide('Mastra', 'mastra/cloudflare'),
+ guide('Pi Durable', 'pi-durable/cloudflare'),
+ ],
includePaths: [],
},
};
diff --git a/src/components/frameworkSelector/index.tsx b/src/components/frameworkSelector/index.tsx
index 4284ff50108b9..6c569390f113d 100644
--- a/src/components/frameworkSelector/index.tsx
+++ b/src/components/frameworkSelector/index.tsx
@@ -102,6 +102,30 @@ function GuideLinks({guides, label}: {guides: FrameworkGuide[]; label: string})
);
}
+function GuideGroup({guides, label}: {guides: FrameworkGuide[]; label: string}) {
+ if (guides.length === 0) {
+ return null;
+ }
+
+ return (
+
+ {label}
+ {guides.map(g => (
+
+
+
+
+
+
+ ))}
+
+ );
+}
+
function stepTitle(el: HTMLElement): string | undefined {
const step = Array.from(document.querySelectorAll('main h2[id]'))
.filter(h => h.compareDocumentPosition(el) & Node.DOCUMENT_POSITION_FOLLOWING)
@@ -194,7 +218,6 @@ export function FrameworkSelector({
const router = useRouter();
const runtimeConfig = RUNTIMES[runtime];
const frameworks = useMemo(() => runtimeConfig?.frameworks ?? [], [runtimeConfig]);
- const frameworkGuides = runtimeConfig?.frameworkGuides ?? [];
const [framework, setFramework] = useState(null);
const [contents, setContents] = useState>({});
@@ -288,32 +311,22 @@ export function FrameworkSelector({
))}
)}
- {frameworkGuides.length > 0 && (
-
-
- Set up with its own guide
-
- {frameworkGuides.map(g => (
-
-
-
-
-
-
- ))}
-
- )}
+
+
+
From 8fa5488d18e6a9b69b52790771249875f138aff6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Peer=20St=C3=B6cklmair?=
Date: Tue, 10 Nov 2026 11:25:23 -0500
Subject: [PATCH 013/141] feat(platform-selector): Show JavaScript runtimes
first (#20132)
## DESCRIBE YOUR PR
This lists the JavaScript runtimes (Browser JavaScript, Node.js, Bun,
Deno and Cloudflare) first in the sidebar platform selector and in the
platform grid on the SDKs page, under a "Runtimes" title. The other
JavaScript guides follow under "Frameworks and more". While searching,
the titles are hidden and results keep their relevance order.
The sidebar is now grouped:
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
Co-authored-by: Claude Opus 5.5
---
src/components/platformFilter/client.tsx | 68 +++++++++++-------
.../platformFilter/style.module.scss | 9 +++
.../platformSelector/guideGroups.spec.ts | 70 +++++++++++++++++++
.../platformSelector/guideGroups.ts | 49 +++++++++++++
src/components/platformSelector/index.tsx | 38 +++++++---
.../platformSelector/style.module.scss | 10 +++
6 files changed, 206 insertions(+), 38 deletions(-)
create mode 100644 src/components/platformSelector/guideGroups.spec.ts
create mode 100644 src/components/platformSelector/guideGroups.ts
diff --git a/src/components/platformFilter/client.tsx b/src/components/platformFilter/client.tsx
index f9cc8274d8f9a..c18fbf266a0ed 100644
--- a/src/components/platformFilter/client.tsx
+++ b/src/components/platformFilter/client.tsx
@@ -4,11 +4,12 @@ import {TriangleRightIcon} from '@radix-ui/react-icons';
import classNames from 'classnames';
import {matchSorter, rankings} from 'match-sorter';
import Link from 'next/link';
-import {useMemo, useState} from 'react';
+import {Fragment, useMemo, useState} from 'react';
import {type Platform} from 'sentry-docs/types';
import {splitToChunks, uniqByReference} from 'sentry-docs/utils';
import {PlatformIcon} from '../platformIcon';
+import {guideGroupTitle, sortRuntimesFirst} from '../platformSelector/guideGroups';
import styles from './style.module.scss';
export function PlatformFilterClient({platforms}: {platforms: Platform[]}) {
@@ -101,6 +102,7 @@ export function PlatformFilterClient({platforms}: {platforms: Platform[]}) {
matchKeys={matchKeys}
// force expand if the filter is long enough to have few results
forceExpand={filter.length >= 2}
+ showGuideGroups={filter === ''}
/>
)
)}
@@ -119,10 +121,13 @@ function PlatformWithGuides({
platform,
forceExpand,
matchKeys,
+ showGuideGroups,
}: {
forceExpand: boolean;
matchKeys: string[];
platform: Platform;
+ /** Lists the runtime guides first and shows titles above them and the guides after them. */
+ showGuideGroups: boolean;
}) {
const [expanded, setExpanded] = useState(false);
@@ -133,10 +138,14 @@ function PlatformWithGuides({
// In this case, we do not need to add the platform to the list of guides
const hasGuideWithPlatformKey = platform.guides.some(g => g.key === platform.key);
- return showPlatformInContent && !hasGuideWithPlatformKey
- ? [platform, ...platform.guides]
- : platform.guides;
- }, [matchKeys, platform]);
+ const platformAndGuides =
+ showPlatformInContent && !hasGuideWithPlatformKey
+ ? [platform, ...platform.guides]
+ : platform.guides;
+ return showGuideGroups
+ ? sortRuntimesFirst(platform.key, platformAndGuides)
+ : platformAndGuides;
+ }, [matchKeys, platform, showGuideGroups]);
return (
= 8 || platform.integrations.length >= 8}
>
- {guides.map((guide, i) => (
-
-
+
+
+ );
+ })}
{platform.guides.length === 0 &&
platform.integrations.map((integ, i) => {
return (
diff --git a/src/components/platformFilter/style.module.scss b/src/components/platformFilter/style.module.scss
index 00186fbdef9cb..75ad8bb45543d 100644
--- a/src/components/platformFilter/style.module.scss
+++ b/src/components/platformFilter/style.module.scss
@@ -149,6 +149,15 @@
}
}
+.GuideGroupTitle {
+ padding: 0.75rem 0.5rem 0.25rem 1.5rem;
+ font-size: 0.75rem;
+ font-weight: 500;
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
+ color: var(--foreground-secondary);
+}
+
.PlatformIcon {
width: 20px;
height: 20px;
diff --git a/src/components/platformSelector/guideGroups.spec.ts b/src/components/platformSelector/guideGroups.spec.ts
new file mode 100644
index 0000000000000..783be8eeb99a6
--- /dev/null
+++ b/src/components/platformSelector/guideGroups.spec.ts
@@ -0,0 +1,70 @@
+import {describe, expect, it} from 'vitest';
+
+import {guideGroupTitle, sortRuntimesFirst} from './guideGroups';
+
+const guides = (...keys: string[]) => keys.map(key => ({key}));
+const keys = (list: Array<{key: string}>) => list.map(g => g.key);
+
+describe('sortRuntimesFirst', () => {
+ it('lists the runtime guides first, in their configured order', () => {
+ const sorted = sortRuntimesFirst(
+ 'javascript',
+ guides(
+ 'javascript',
+ 'javascript.angular',
+ 'javascript.bun',
+ 'javascript.cloudflare',
+ 'javascript.deno',
+ 'javascript.nextjs',
+ 'javascript.node'
+ )
+ );
+ expect(keys(sorted)).toEqual([
+ 'javascript',
+ 'javascript.node',
+ 'javascript.bun',
+ 'javascript.deno',
+ 'javascript.cloudflare',
+ 'javascript.angular',
+ 'javascript.nextjs',
+ ]);
+ });
+
+ it('skips runtime guides that are not in the list', () => {
+ const sorted = sortRuntimesFirst(
+ 'javascript',
+ guides('javascript.angular', 'javascript.bun')
+ );
+ expect(keys(sorted)).toEqual(['javascript.bun', 'javascript.angular']);
+ });
+
+ it('keeps the order of platforms without runtime guides', () => {
+ const list = guides('python.django', 'python.aiohttp');
+ expect(sortRuntimesFirst('python', list)).toBe(list);
+ });
+});
+
+describe('guideGroupTitle', () => {
+ const sorted = guides('javascript', 'javascript.node', 'javascript.angular');
+
+ it('returns "Runtimes" for the first runtime guide', () => {
+ expect(guideGroupTitle('javascript', sorted, 0)).toBe('Runtimes');
+ expect(guideGroupTitle('javascript', sorted, 1)).toBeUndefined();
+ });
+
+ it('returns "Frameworks and more" for the first guide after the runtimes', () => {
+ expect(guideGroupTitle('javascript', sorted, 2)).toBe('Frameworks and more');
+ });
+
+ it('returns no titles for platforms without runtime guides', () => {
+ const list = guides('python.django', 'python.aiohttp');
+ expect(guideGroupTitle('python', list, 0)).toBeUndefined();
+ expect(guideGroupTitle('python', list, 1)).toBeUndefined();
+ });
+
+ it('returns no title for a list that only has other guides', () => {
+ expect(
+ guideGroupTitle('javascript', guides('javascript.angular'), 0)
+ ).toBeUndefined();
+ });
+});
diff --git a/src/components/platformSelector/guideGroups.ts b/src/components/platformSelector/guideGroups.ts
new file mode 100644
index 0000000000000..a4b6bf42eb023
--- /dev/null
+++ b/src/components/platformSelector/guideGroups.ts
@@ -0,0 +1,49 @@
+/**
+ * Guide keys per platform that the platform selector and the platform grid list first,
+ * in this order, under the "Runtimes" title. The other guides of the platform follow under "Frameworks and more".
+ */
+export const RUNTIME_GUIDE_KEYS: Record = {
+ javascript: [
+ 'javascript',
+ 'javascript.node',
+ 'javascript.bun',
+ 'javascript.deno',
+ 'javascript.cloudflare',
+ ],
+};
+
+const isRuntimeGuide = (platformKey: string, guideKey: string) =>
+ RUNTIME_GUIDE_KEYS[platformKey]?.includes(guideKey) ?? false;
+
+/**
+ * Returns the guides with the platform's runtime guides first, in the order of
+ * `RUNTIME_GUIDE_KEYS`, followed by the other guides in their original order.
+ */
+export function sortRuntimesFirst(
+ platformKey: string,
+ guides: T[]
+): T[] {
+ const runtimeKeys = RUNTIME_GUIDE_KEYS[platformKey];
+ if (!runtimeKeys) {
+ return guides;
+ }
+ const runtimes = runtimeKeys.flatMap(key => guides.filter(g => g.key === key));
+ return [...runtimes, ...guides.filter(g => !runtimeKeys.includes(g.key))];
+}
+
+/**
+ * Returns the group title to show above `guides[index]`, or `undefined` if the guide
+ * doesn't start a group. Expects the guides in the order of `sortRuntimesFirst`.
+ */
+export function guideGroupTitle(
+ platformKey: string,
+ guides: Array<{key: string}>,
+ index: number
+): string | undefined {
+ const isRuntime = isRuntimeGuide(platformKey, guides[index].key);
+ if (index === 0) {
+ return isRuntime ? 'Runtimes' : undefined;
+ }
+ const followsRuntime = isRuntimeGuide(platformKey, guides[index - 1].key);
+ return !isRuntime && followsRuntime ? 'Frameworks and more' : undefined;
+}
diff --git a/src/components/platformSelector/index.tsx b/src/components/platformSelector/index.tsx
index 7c9354b872b44..090fa2cd6de2a 100644
--- a/src/components/platformSelector/index.tsx
+++ b/src/components/platformSelector/index.tsx
@@ -25,6 +25,7 @@ import {Platform, PlatformGuide, PlatformIntegration} from 'sentry-docs/types';
import {isLocalStorageAvailable, uniqByReference} from 'sentry-docs/utils';
import {SidebarLink, SidebarSeparator} from '../sidebar/sidebarLink';
+import {guideGroupTitle, sortRuntimesFirst} from './guideGroups';
import {resolveSamePageUrl} from './samePageUrl';
import styles from './style.module.scss';
@@ -104,7 +105,7 @@ export function PlatformSelector({
)
.map(platform => [
platform,
- ...platform.guides.map(guide => ({
+ ...sortRuntimesFirst(platform.key, platform.guides).map(guide => ({
...guide,
// add a reference to the parent platform instead of its key
platform,
@@ -298,6 +299,7 @@ export function PlatformSelector({
activeItemKey={currentPlatformKey}
onPlatformExpand={onToggleExpand}
dropdownStyle={dropdownStyle}
+ showGuideGroups={searchValue === ''}
listOnly
/>
))}
@@ -402,6 +404,7 @@ export function PlatformSelector({
activeItemKey={currentPlatformKey}
onPlatformExpand={onToggleExpand}
dropdownStyle={dropdownStyle}
+ showGuideGroups={searchValue === ''}
listOnly={false}
/>
);
@@ -435,6 +438,8 @@ type PlatformItemProps = {
dropdownStyle?: boolean;
listOnly?: boolean;
onPlatformExpand?: (platformKey: string) => void;
+ /** Shows titles above the runtime guides and the guides after them. */
+ showGuideGroups?: boolean;
};
function PlatformItem({
platform,
@@ -443,6 +448,7 @@ function PlatformItem({
onPlatformExpand: onExpand,
dropdownStyle = false,
listOnly = false,
+ showGuideGroups = false,
}: PlatformItemProps) {
const showCaret = (p: Platform) => p.guides.length > 0 || p.integrations.length > 0;
@@ -461,6 +467,15 @@ function PlatformItem({
? markLastGuide(platform.guides.length > 0 ? platform.guides : platform.integrations)
: [];
+ const groupTitle = (index: number) => {
+ const title = showGuideGroups && guideGroupTitle(platform.key, guides, index);
+ return title ? (
+
+ {title}
+
+ ) : null;
+ };
+
if (listOnly) {
return (
@@ -508,13 +523,11 @@ function PlatformItem({
)}
- {guides.map(guide => (
-
+ {guides.map((guide, i) => (
+
+ {groupTitle(i)}
+
+
))}
);
@@ -568,9 +581,12 @@ function PlatformItem({
- {guides.map(guide => {
- return ;
- })}
+ {guides.map((guide, i) => (
+
+ {groupTitle(i)}
+
+
+ ))}
);
}
diff --git a/src/components/platformSelector/style.module.scss b/src/components/platformSelector/style.module.scss
index a985a568009b1..17383728b6a66 100644
--- a/src/components/platformSelector/style.module.scss
+++ b/src/components/platformSelector/style.module.scss
@@ -228,6 +228,16 @@
height: 80%;
}
+.guide-group-title {
+ margin-left: 1.5rem;
+ padding: 0.75rem 0.5rem 0.25rem;
+ font-size: 0.75rem;
+ font-weight: 500;
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
+ color: var(--foreground-secondary);
+}
+
.item-indicator {
position: absolute;
left: 0.375rem;
From fed84901ca935c9912385506644450029f9bd98d Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 16:40:06 +0000
Subject: [PATCH 014/141] Bump API schema to a484918a (#20693)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 0ea0b3007585b..5fd70cce9e995 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '411ccf67994d010bf15816294b5658653129d3f5';
+const SENTRY_API_SCHEMA_SHA = 'a484918a719b688e52840d5a6caf80a9c51f892c';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 84416d652d16144b6e2c1508c871a51b3b2479f5 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 16:48:59 +0000
Subject: [PATCH 015/141] Bump API schema to e35efe6d (#20694)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 5fd70cce9e995..70f3914cc273b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'a484918a719b688e52840d5a6caf80a9c51f892c';
+const SENTRY_API_SCHEMA_SHA = 'e35efe6d4d6a9e961eedcd22691edc27b6950a5e';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From ad690a4e0cc8d5a3bd9b36db5aeb09b50f50dc0a Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 17:21:02 +0000
Subject: [PATCH 016/141] Bump API schema to e58a5c0e (#20696)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 70f3914cc273b..fe6f8416e4be2 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'e35efe6d4d6a9e961eedcd22691edc27b6950a5e';
+const SENTRY_API_SCHEMA_SHA = 'e58a5c0e99c51b6c68645dd504cec2f14c3a1b5c';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From cb0aa94188f0d9b8fec59028d6afc12eb33396c8 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 17:29:44 +0000
Subject: [PATCH 017/141] Bump API schema to 4674fdc9 (#20697)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index fe6f8416e4be2..54110de273305 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'e58a5c0e99c51b6c68645dd504cec2f14c3a1b5c';
+const SENTRY_API_SCHEMA_SHA = '4674fdc91b3a0a10481ac649c8deed47c410f92e';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From fcbe244e88848def58b31d6971b7818968bc76af Mon Sep 17 00:00:00 2001
From: Serhii Snitsaruk
Date: Tue, 10 Nov 2026 18:33:53 +0100
Subject: [PATCH 018/141] docs(godot): Document Web tunneling (#20596)
Document the Web tunneling options and add a setup guide for forwarding Godot events through a user-chosen server endpoint to help avoid ad blockers. Include GDScript configuration, a JavaScript handler for POST requests, and delivery verification steps.
---
.../platforms/godot/configuration/options.mdx | 30 +++++++++
.../godot/configuration/tunneling.mdx | 64 +++++++++++++++++++
2 files changed, 94 insertions(+)
create mode 100644 docs/platforms/godot/configuration/tunneling.mdx
diff --git a/docs/platforms/godot/configuration/options.mdx b/docs/platforms/godot/configuration/options.mdx
index 393107d70380c..ec7bc1e9aa26c 100644
--- a/docs/platforms/godot/configuration/options.mdx
+++ b/docs/platforms/godot/configuration/options.mdx
@@ -470,6 +470,36 @@ Applies only when `android.enable_anr_detection` is enabled, and only to the V2
+## Web Options
+
+These options configure Web-specific behavior, such as tunneling. Set them programmatically through `options.web`, or in the **Project Settings** under **Sentry > Web**. See Web Tunneling for client and server setup.
+
+
+
+Sends uploads through a server on your game's origin to help avoid ad blockers. Your server must handle the tunnel route and forward envelopes to Sentry. The `dsn` is still required.
+
+When disabled, uploads go directly to Sentry and the other tunnel options are ignored.
+
+
+
+
+
+The tunnel path on your game's origin, such as `/events`. An empty string derives a stable path from the DSN. Your server must handle the same path.
+
+
+
+
+
+Prefixes the tunnel path, including an explicitly configured `web.tunnel_path`. For example, `/game` with `/events` sends uploads to `/game/events`. An empty string adds no prefix.
+
+
+
+
+
+Appends `/` to the tunnel path, including a DSN-derived path. Enable this when your server route requires a trailing slash.
+
+
+
## Hooks
These options can be used to hook the SDK in various ways to customize the reporting of events.
diff --git a/docs/platforms/godot/configuration/tunneling.mdx b/docs/platforms/godot/configuration/tunneling.mdx
new file mode 100644
index 0000000000000..cd169f67a82af
--- /dev/null
+++ b/docs/platforms/godot/configuration/tunneling.mdx
@@ -0,0 +1,64 @@
+---
+title: Web Tunneling
+sidebar_order: 102
+description: Send Sentry events from Godot Web exports through your own server to help avoid ad blockers.
+---
+
+Ad blockers can prevent your Web game from sending events to Sentry. Tunneling helps avoid this by sending uploads through a route on your game's origin, where your server forwards them to Sentry.
+
+Tunneling applies only to Web exports. Your server must provide an endpoint that forwards uploads to Sentry; enabling tunneling in Godot doesn't create that endpoint.
+
+## Configure the Game
+
+In **Project Settings > Sentry > Web**, enable tunneling and set the tunnel path to `/events`. Keep your Sentry DSN configured as usual. Leave **Base Path** empty and **Trailing Slash** disabled for this example.
+
+Alternatively, follow the programmatic initialization instructions and set the options in your initialization callback:
+
+```GDScript
+SentrySDK.init(func(options: SentryOptions) -> void:
+ options.dsn = "___PUBLIC_DSN___"
+ options.web.enable_tunnel = true
+ options.web.tunnel_path = "/events"
+)
+```
+
+This sends uploads to `/events` on the game's origin. For example, a game at `https://example.com/game/` sends uploads to `https://example.com/events`.
+
+## Configure the Server
+
+Your server must accept uploads at `/events` and forward them to Sentry. For a JavaScript server that uses Fetch API `Request` and `Response` objects, install `@sentry/core` and use its `handleTunnelRequest` helper:
+
+```javascript
+import { handleTunnelRequest } from "@sentry/core";
+
+export default {
+ async fetch(request) {
+ if (
+ request.method === "POST" &&
+ new URL(request.url).pathname === "/events"
+ ) {
+ return handleTunnelRequest({
+ request,
+ allowedDsns: ["___PUBLIC_DSN___"],
+ });
+ }
+
+ return new Response("Not found", { status: 404 });
+ },
+};
+```
+
+Set `allowedDsns` to the same DSN configured in Godot.
+
+Preserve the incoming `Content-Length` header when creating the Fetch API request. The handler returns `411 Length required` when this header is missing. Configure request size limits in your server or hosting platform.
+
+The handler validates the envelope's DSN and forwards it to Sentry.
+
+## Verify the Setup
+
+To check that events reach Sentry through your tunnel:
+
+1. Export and run your game on Web.
+2. Capture a test event with `SentrySDK.capture_message("Tunnel test")`.
+3. In the browser's network panel, confirm that the upload goes to your tunnel route and receives a successful response.
+4. Confirm that the event appears in Sentry. A successful HTTP response alone doesn't prove that your server forwarded the envelope.
From 84d9832452f966960248531d95912330b1048218 Mon Sep 17 00:00:00 2001
From: Serhii Snitsaruk
Date: Tue, 10 Nov 2026 18:34:33 +0100
Subject: [PATCH 019/141] docs(godot): Document automatic performance metrics
(#20660)
Documents automatic frame, rendering, and memory metrics introduced in Godot SDK 2.4.0, plus network metrics coming in 2.5.0. Covers configuration in Project Settings, GDScript, and C#, along with metric definitions, attributes, and collection limitations. Links the general configuration reference to the Application Metrics guide.
---
.../platforms/godot/configuration/options.mdx | 6 +
docs/platforms/godot/metrics/index.mdx | 125 +++++++++++++++++-
2 files changed, 130 insertions(+), 1 deletion(-)
diff --git a/docs/platforms/godot/configuration/options.mdx b/docs/platforms/godot/configuration/options.mdx
index ec7bc1e9aa26c..5fe81105ac684 100644
--- a/docs/platforms/godot/configuration/options.mdx
+++ b/docs/platforms/godot/configuration/options.mdx
@@ -276,6 +276,12 @@ options.SetBeforeSendLog(log =>
## Metrics Options
+
+
+Configures automatic performance metrics. All automatic metrics are disabled by default and don't affect manually emitted metrics. Configure them in the Project Settings under **Sentry > Auto Metrics** or through `options.auto_metrics` during initialization. See Application Metrics Options for available settings and configuration examples.
+
+
+
**Deprecated:** This compatibility option is a no-op: it always returns `true`, and assigning it has no effect. It will be removed in version 3.0.
diff --git a/docs/platforms/godot/metrics/index.mdx b/docs/platforms/godot/metrics/index.mdx
index d55b55792a0c8..0227d27af0a56 100644
--- a/docs/platforms/godot/metrics/index.mdx
+++ b/docs/platforms/godot/metrics/index.mdx
@@ -1,7 +1,7 @@
---
title: Set Up Metrics
sidebar_title: Application Metrics
-description: "Metrics let you to send, view, and query counters, gauges, and distributions from your Godot Engine game. Use these to track application health and drill down into related traces, logs, and errors."
+description: "Metrics allow you to send, view, and query counters, gauges, and distributions from your Godot Engine game to track application health and drill down into related traces, logs, and errors."
sidebar_order: 5700
new: true
---
@@ -14,8 +14,131 @@ new: true
+## Automatic Metrics
+
+Automatic metrics help you compare frame performance, rendering load, memory use, and multiplayer connectivity across devices and scenes. Automatic metrics are disabled by default and independent of metrics you send manually.
+
+Enable automatic metrics in the **Project Settings** under **Sentry** > **Auto Metrics**, or configure `options.auto_metrics` during programmatic initialization. See [Options](#options) for available settings.
+
+Collection pauses when the application loses focus or the operating system pauses it. Headless applications ignore focus changes but still respect OS pause. `SceneTree.paused` and `Engine.time_scale` don't affect collection.
+
+Automatic metrics include the following attributes when available, in addition to the [default attributes](#default-attributes) attached to every metric. These aren't added to manually emitted metrics.
+
+| Attribute | Description |
+| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
+| `gpu.name` | GPU model name; omitted in headless mode |
+| `cpu.cores` | Logical CPU core count reported by Godot |
+| `ram.gb` | Physical RAM reported by the OS, in GiB; unavailable on Web |
+| `res.x`, `res.y` | Root viewport target width and height in pixels, before window stretching and after 3D scaling; omitted in headless mode |
+| `scene` | Full resource path of the current scene, such as `res://levels/forest.tscn`; falls back to the scene node name if no resource path is available |
+
+Use these attributes to group performance data by hardware, resolution, or scene.
+
+### Frame Time and FPS
+
+
+
+Use frame metrics to track frame duration and frame rate across players' devices.
+
+| Metric | Type | Description |
+| ---------------------- | ----------------- | ---------------------------------------------- |
+| `game.perf.frame_time` | Distribution (ms) | Sampled elapsed time between process callbacks |
+| `game.perf.fps` | Gauge | Engine-reported frames per second |
+
+The SDK randomly selects one frame from each collection interval and reports its frame time, including time spent waiting for VSync or frame limiting. Sampling may miss brief hitches.
+
+### Rendering
+
+
+
+Rendering metrics help identify scenes with high rendering load or video memory use.
+
+| Metric | Type | Description |
+| ----------------------------------- | ------------- | --------------------------------------------------------------------------------- |
+| `game.perf.render.draw_calls` | Gauge | Draw calls in the last rendered frame |
+| `game.perf.render.primitives` | Gauge | Vertices or indices rendered in the last frame, including depth and shadow passes |
+| `game.perf.render.video_mem_used` | Gauge (bytes) | Total video memory used, including texture, buffer, and other allocations |
+| `game.perf.render.texture_mem_used` | Gauge (bytes) | Texture memory used |
+| `game.perf.render.buffer_mem_used` | Gauge (bytes) | Render buffer memory used |
+
+### Memory
+
+
+
+Memory metrics help track process memory use and growth in object and node counts. Process memory usage is unavailable on Web; object and node counts are still collected.
+
+| Metric | Type | Description |
+| ------------------------ | ------------- | ------------------------------------------- |
+| `game.perf.used_memory` | Gauge (bytes) | RAM used by the game process |
+| `game.perf.object_count` | Gauge | Instantiated objects, including nodes |
+| `game.perf.node_count` | Gauge | Nodes in the scene tree, including its root |
+
+### Network
+
+
+
+Network metrics help diagnose multiplayer latency and traffic volume. Network metrics use only the default `SceneTree` multiplayer API; custom multiplayer APIs assigned to subtrees aren't monitored. Client, server, and mesh sessions are supported. No network metrics are emitted without an active multiplayer connection.
+
+Peer counts work across all transports. All other measurements require ENet.
+
+| Metric | Type | Description |
+| --------------------------------- | ------------- | -------------------------------------------------------------------------- |
+| `game.perf.net.num_peers` | Gauge | Connected remote peers, excluding this instance; server and mesh only |
+| `game.perf.net.ping` | Gauge (ms) | Client round-trip time to the server |
+| `game.perf.net.ping_peer_avg` | Gauge (ms) | Average peer round-trip time; server and mesh only |
+| `game.perf.net.ping_peer_max` | Gauge (ms) | Highest peer round-trip time; server and mesh only |
+| `game.perf.net.packet_loss_ratio` | Gauge (ratio) | ENet's estimated outgoing packet-loss ratio toward the server; client only |
+| `game.perf.net.in_rate` | Gauge (bytes) | Bytes received per second; client and server only |
+| `game.perf.net.out_rate` | Gauge (bytes) | Bytes sent per second; client and server only |
+| `game.perf.net.in_packets` | Gauge | UDP datagrams received per second; client and server only |
+| `game.perf.net.out_packets` | Gauge | UDP datagrams sent per second; client and server only |
+
+Ping includes Godot's network-processing delays, so it reflects latency experienced by the game rather than network delay alone. Traffic rates include ENet protocol traffic and retransmissions; packet rates count UDP datagrams, not RPCs or game messages.
+
+
+ Traffic collection resets ENet's shared byte and packet counters. Other code
+ reading and resetting those counters affects these measurements, and vice
+ versa.
+
+
## Options
+Configure these properties on `options.auto_metrics`, or use the corresponding settings in the **Project Settings** under **Sentry > Auto Metrics**. Each interval applies only when the corresponding metrics are enabled.
+
+| Option | Default | Available Since | Description |
+| -------------------------------- | ------- | --------------- | ----------------------------------------- |
+| `enable_frame_metrics` | `false` | 2.4.0 | Collect frame time and FPS |
+| `enable_rendering_metrics` | `false` | 2.4.0 | Collect rendering metrics |
+| `enable_memory_metrics` | `false` | 2.4.0 | Collect memory, object, and node metrics |
+| `enable_network_metrics` | `false` | 2.5.0 | Collect network metrics |
+| `frame_metrics_interval_sec` | `1.0` | 2.4.0 | Frame collection interval, in seconds |
+| `rendering_metrics_interval_sec` | `1.0` | 2.4.0 | Rendering collection interval, in seconds |
+| `memory_metrics_interval_sec` | `60.0` | 2.4.0 | Memory collection interval, in seconds |
+| `network_metrics_interval_sec` | `10.0` | 2.5.0 | Network collection interval, in seconds |
+
+For example, enable automatic metrics and adjust the memory interval during initialization:
+
+```GDScript {tabTitle:GDScript} {mdExpandTabs}
+SentrySDK.init(func(options: SentryOptions) -> void:
+ options.auto_metrics.enable_frame_metrics = true
+ options.auto_metrics.enable_rendering_metrics = true
+ options.auto_metrics.enable_memory_metrics = true
+ options.auto_metrics.enable_network_metrics = true
+ options.auto_metrics.memory_metrics_interval_sec = 30.0
+)
+```
+
+```csharp {tabTitle:C#}
+SentrySdk.Init(options =>
+{
+ options.AutoMetrics.EnableFrameMetrics = true;
+ options.AutoMetrics.EnableRenderingMetrics = true;
+ options.AutoMetrics.EnableMemoryMetrics = true;
+ options.AutoMetrics.EnableNetworkMetrics = true;
+ options.AutoMetrics.MemoryMetricsIntervalSec = 30.0;
+});
+```
+
## Default Attributes
From 70e38c34a470f0ecea70904b5d188d0e04f7c85f Mon Sep 17 00:00:00 2001
From: Abdullah Khan <60121741+Abdkhan14@users.noreply.github.com>
Date: Tue, 10 Nov 2026 12:41:17 -0500
Subject: [PATCH 020/141] docs(ai): Report onboarding progress through the
Sentry CLI (#20650)
The Getting Started agent guide only reported onboarding progress
through the Sentry MCP server, and only when an onboarding code appeared
in the user's first message. Since
[#130292](https://github.com/getsentry/sentry/pull/130292) merged,
handoff agents arrive at this guide directly after CLI login, with the
run code in the handoff guide rather than in the user's first message.
That left CLI-only handoff agents with no progress instructions at all.
This adds a `sentry api` route to the Onboarding Progress section so CLI
agents can report, widens the code trigger to also accept a code from
"the Sentry handoff guide that sent you here", renames `connect_mcp` to
`connect_agent` in the stage table, and drops the MCP-only framing
throughout (heading, intro, field prefixes, stop conditions).
Refs VDY-366
**Merge gates**
- sentry PR [#130281](https://github.com/getsentry/sentry/pull/130281)
(`connect_agent` alias) deployed to all cells
- sentry PR [#130290](https://github.com/getsentry/sentry/pull/130290)
(`extra.method` on connect) deployed to all cells
- toolkit PR [#2063](https://github.com/getsentry/toolkit/pull/2063)
(MCP accepts `connect_agent`) deployed to hosted MCP
**Handoff side**
The one-sentence run code handover goes in Evan's
[#130263](https://github.com/getsentry/sentry/pull/130263).
**Verification**
- No `update.` prefix remains in the section; `connect_mcp` and the old
heading are gone
- Route table, heading, intro, CLI/MCP bullets, stop codes, and stage
table all checked
- Prettier, typos, lychee, and trailing-slashes need to run locally
(node_modules not installed in sandbox)
---------
Co-authored-by: Cursor
Co-authored-by: Evan Purkhiser
---
docs/ai/agent-setup/get-started.mdx | 34 +++++++++++++++++++----------
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/docs/ai/agent-setup/get-started.mdx b/docs/ai/agent-setup/get-started.mdx
index 81d27efe979be..03019fc48208a 100644
--- a/docs/ai/agent-setup/get-started.mdx
+++ b/docs/ai/agent-setup/get-started.mdx
@@ -44,7 +44,7 @@ Each step that touches Sentry, by route:
| Get the DSN | `sentry dsn list` | `find_dsns` | The user pastes it |
| Install the SDK | The platform's docs page | The platform's docs page | The platform's docs page |
| Confirm the error arrived | `sentry issue list`, `sentry issue view` | `search_issues`, `search_events`, `get_sentry_resource` | Ask the user to check |
-| Onboarding progress | Through the MCP server, if it's connected | `onboarding_status_update` | None |
+| Onboarding progress | `sentry api` | `onboarding_status_update` | None |
## Step 3: Identify the Platform
@@ -136,26 +136,38 @@ Offer follow-ups and let the user pick. Don't start them on your own.
- Production was raised with the user: the DSN, sample rate, `release`, and `environment` are set for it, or there's an agreed next step.
- Readable production stack traces were addressed: source maps or debug symbols are wired in, or the user knows what they need.
-## Onboarding Progress (Through the Sentry MCP Server)
+## Onboarding Progress
-Sentry's onboarding page can show the progress of a setup like this one. The updates go through the Sentry MCP server, so send them when it's connected, even if the CLI does the rest of the setup. They only apply when the user's first message contains an onboarding code: a random-looking 10-character ASCII alphanumeric token set apart from the prose, such as `[abcd12efg0]` or `Onboarding: abcd12efg0`. Without one, make no progress calls, and never ask for or guess a code later.
+Sentry's onboarding page can show the progress of a setup like this one. Send the updates through the route you picked in Step 2: `sentry api` on the CLI route, or the `onboarding_status_update` tool on the MCP route. The no-tools route sends none. They only apply when the user's first message, or the Sentry handoff guide that sent you here, contains an onboarding code: a random-looking 10-character ASCII alphanumeric token set apart from the prose, such as `[abcd12efg0]`, `Onboarding: abcd12efg0`, or `run code: abcd12efg0`. Without one, make no progress calls, and never ask for or guess a code later. Use the organization slug that came with the code.
- **Keep the code to yourself.** Never mention, quote, or explain it unless the user asks about it, and don't let it change anything you say.
-- **Find the tool.** Call `search_sentry_tools` with the exact query `onboarding_status_update`. If it returns that tool, its input schema is the contract for every call and wins over anything on this page. Call it through `execute_sentry_tool(name='onboarding_status_update', arguments=...)` with the code as `runToken`, and `stage`, `status`, `runStatus`, and `eventNote` inside the required `update` object. Stage metadata goes in `update.extra`.
+- **Sentry CLI.** At each stage boundary, run:
+
+ ```sh
+ sentry api organizations//onboarding/agent/status/ -X POST -F schemaVersion=1 \
+ -f 'runToken=' \
+ -f stage= \
+ -f status= \
+ -f 'eventNote='
+ ```
+
+ Add each other field as its own `-f`: `-f runStatus=completed`, `-f 'extra[method]=cli'`, and one `-f 'extra[projectSlugs][]='` or `-f 'extra[issueIds][]='` for each slug or ID. Only `connect_agent`, `create_project`, and `receive_verification_error` take `extra`.
+
+- **Sentry MCP.** Call `search_sentry_tools` with the exact query `onboarding_status_update`. If it returns that tool, its input schema is the contract for every call and wins over anything on this page. Call it through `execute_sentry_tool(name='onboarding_status_update', arguments=...)` with the code as `runToken`, and `stage`, `status`, `runStatus`, and `eventNote` inside the required `update` object. Stage metadata goes in `update.extra` (MCP only).
- **Call it silently.** Make the call at the right point with no narration of the call or its reply. If the user asks what it does, say it updates the onboarding page in Sentry for this setup.
-- **Keep notes minimal.** Every call needs an `update.eventNote` saying what the stage is doing or did, within the schema's limit. Never include file contents, repository paths, terminal output, event payloads, MCP results, secrets, or personal or customer information.
+- **Keep notes minimal.** Every call needs an `eventNote` saying what the stage is doing or did, within the schema's limit. Never include file contents, repository paths, terminal output, event payloads, MCP results, secrets, or personal or customer information.
- **Statuses:** `active` (started or resumed), `waiting` (blocked on the user or permission), `completed`, `skipped` (only where a stage below allows it), and `failed`. After a `failed` stage, send `active` again when you retry. Never send `bypassed`; a later stage marks skipped earlier ones itself, so a missed call never needs replaying.
-- **Run status:** send `update.runStatus: completed` only when `check_stack_trace_quality` finishes, and `update.runStatus: failed` only when the whole setup can't continue.
-- **Never let it block setup.** If a call fails on invalid parameters and the error names the mistake, fix it and retry once. If the tool is missing or keeps failing, or a reply says `continueUpdates: false` or `Continue updates: no`, stop sending updates for the rest of the session and carry on. A failed progress call is never a setup failure.
+- **Run status:** send `runStatus: completed` only when `check_stack_trace_quality` finishes, and `runStatus: failed` only when the whole setup can't continue.
+- **Never let it block setup.** If a call fails on invalid parameters and the error names the mistake, fix it and retry once. If the tool is missing or keeps failing, a reply says `continueUpdates: false` or `Continue updates: no`, or a `sentry api` call fails with 404, 409, or 410, stop sending updates for the rest of the session and carry on. A failed progress call is never a setup failure.
| Stage | When |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `connect_mcp` | `completed` as soon as an MCP call such as `find_organizations` succeeds. |
+| `connect_agent` | `completed` as soon as Step 2 confirms your route: `sentry auth status` shows you're logged in (CLI route, with `-f 'extra[method]=cli'`), or an MCP call such as `find_organizations` succeeds (the tool records the method itself). |
| `analyze_project` | `active` before you inspect the repository (Step 2), `waiting` while you ask the user to confirm the platform, `completed` once the platform and current setup are clear (Step 3). If the project already uses Sentry, `completed` before you hand off. |
-| `create_project` | `waiting` before you ask to create a project, `active` while you pick or create it, each usable project slug in `update.extra.projectSlugs`, `completed` once every planned project has a DSN. For one existing project, `completed` with its slug and `update.eventNote: Project already existed.` |
+| `create_project` | `waiting` before you ask to create a project, `active` while you pick or create it, each usable project slug in `extra.projectSlugs`, `completed` once every planned project has a DSN. For one existing project, `completed` with its slug and `eventNote: Project already existed.` |
| `instrument_app` | `active` just before you change SDK files, `completed` once the SDK is installed and initialized (Step 5). |
| `plan_test_error` | `active` while you plan the test error, `waiting` for input or permission, `completed` when the trigger is ready. |
| `send_verification_error` | `active` before you trigger it, `waiting` if it can't run yet, `completed` once it's triggered. |
-| `receive_verification_error` | `active` or `waiting` while you check, each confirmed issue ID (never event IDs) in `update.extra.issueIds`, `completed` once every project has a confirmed result. |
+| `receive_verification_error` | `active` or `waiting` while you check, each confirmed issue ID (never event IDs) in `extra.issueIds`, `completed` once every project has a confirmed result. |
| `prepare_production` | `active` when production work starts (Step 7), `waiting` before you ask to deploy, `completed` once the configuration is ready or the user picks a next step. If deployment waits, say the agreed next step in the note. |
-| `check_stack_trace_quality` | `active` before you check (Step 8), `completed` with `update.runStatus: completed` once the checks and accepted work are done or the user declines. `skipped` with `update.runStatus: completed` only when the platform needs no source maps or debug files. If the project already used Sentry, `skipped` with `update.runStatus: completed` and `update.eventNote: Sentry is already configured for this project.` |
+| `check_stack_trace_quality` | `active` before you check (Step 8), `completed` with `runStatus: completed` once the checks and accepted work are done or the user declines. `skipped` with `runStatus: completed` only when the platform needs no source maps or debug files. If the project already used Sentry, `skipped` with `runStatus: completed` and `eventNote: Sentry is already configured for this project.` |
From ce2d6f05e27d01f0df0a5de9174b49006bd6611b Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 20:25:12 +0000
Subject: [PATCH 021/141] Bump API schema to 35520634 (#20701)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 54110de273305..dcde5e9babc34 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '4674fdc91b3a0a10481ac649c8deed47c410f92e';
+const SENTRY_API_SCHEMA_SHA = '35520634a4ae044bcf4760c003403eccbfd22da0';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From dc0f73af623c16127c5aeb8ab091cccbd96576ee Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 20:33:36 +0000
Subject: [PATCH 022/141] Bump API schema to c17b2fba (#20702)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index dcde5e9babc34..9a7ee4a885e1a 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '35520634a4ae044bcf4760c003403eccbfd22da0';
+const SENTRY_API_SCHEMA_SHA = 'c17b2fbad3fab35064020fc021b004d282a5be0c';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From ec1380665f021c0ec84893dfa043a58041abcdfc Mon Sep 17 00:00:00 2001
From: Alex Krawiec
Date: Tue, 10 Nov 2026 13:01:57 -0800
Subject: [PATCH 023/141] perf(css): Ship only the Radix color scales we use
(#20700)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
Lighthouse lists render-blocking CSS as the top performance issue. Most
of the cost is one stylesheet, about 89 KiB over the network, and most
of that is the all-in-one `@radix-ui/themes/styles.css`. That file ships
all 30 Radix color scales, and the site uses 7 of them.
This PR imports Radix Themes in parts so we only ship the colors we use:
- Replaced `@import '@radix-ui/themes/styles.css'` in `app/globals.css`
with Radix's split files: `tokens/base.css`, `components.css` and
`utilities.css`.
- Import only the 7 color scales the site uses: `gray`, `sand` (gray
color), `iris` (accent color), `amber` (callouts), and `red`, `green`
and `yellow` (content separator labels).
- Kept the same import order as `styles.css`. I checked that every
selector in `styles.css` is still covered by the split files, apart from
the color scales we dropped on purpose.
- Added a comment saying any new Radix color has to be added to the
import list. Otherwise it renders unstyled.
Expected savings: about 23 KiB compressed from the main stylesheet,
roughly a quarter of it. This is a modest gain, likely tens of
milliseconds to first paint on mobile, not a big jump in score.
Preview:
https://sentry-docs-git-coolguyzone-perfradix-color-tokens.sentry.dev/
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5
---
app/globals.css | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/app/globals.css b/app/globals.css
index 0bf7f57a9d819..18c1e69c0a170 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -1,4 +1,19 @@
-@import '@radix-ui/themes/styles.css';
+/*
+ * Radix Themes, split up so we only ship the color scales we use. The all-in-one
+ * styles.css carries all 30 scales and was the bulk of our render-blocking CSS.
+ * Using a new Radix color (accentColor, color="..." or var(---N))? Add
+ * its scale here, or it renders unstyled. Order mirrors styles.css.
+ */
+@import '@radix-ui/themes/tokens/colors/gray.css';
+@import '@radix-ui/themes/tokens/colors/sand.css';
+@import '@radix-ui/themes/tokens/colors/amber.css';
+@import '@radix-ui/themes/tokens/colors/green.css';
+@import '@radix-ui/themes/tokens/colors/iris.css';
+@import '@radix-ui/themes/tokens/colors/red.css';
+@import '@radix-ui/themes/tokens/colors/yellow.css';
+@import '@radix-ui/themes/tokens/base.css';
+@import '@radix-ui/themes/components.css';
+@import '@radix-ui/themes/utilities.css';
@tailwind base;
@tailwind components;
From ec47fe13341b02e267f0f148a532091d09d549cf Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 21:04:39 +0000
Subject: [PATCH 024/141] Bump API schema to a6c23b39 (#20703)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 9a7ee4a885e1a..d5a3ce2753fe7 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'c17b2fbad3fab35064020fc021b004d282a5be0c';
+const SENTRY_API_SCHEMA_SHA = 'a6c23b3976889b799580081fe0c4540dd1780548';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b4a555493ee405954746ef2e52b1057b3a3ebffd Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 21:13:37 +0000
Subject: [PATCH 025/141] Bump API schema to 1ef9bb60 (#20704)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index d5a3ce2753fe7..2c3360222b672 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'a6c23b3976889b799580081fe0c4540dd1780548';
+const SENTRY_API_SCHEMA_SHA = '1ef9bb60244c915f000f53251e9c858e0c303c21';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 38a66b76dfceb06e26853127011b937cf2ed9460 Mon Sep 17 00:00:00 2001
From: Shannon Anahata
Date: Tue, 10 Nov 2026 13:19:05 -0800
Subject: [PATCH 026/141] docs(dotnet): Correct quick-start setup and
verification (#20240)
Follow-up to #19990: correct setup and verification across the base .NET
quick start and all 19 integration guides, checked against SDK 6.12.1.
Most setup inaccuracies predate the template migration. This also
corrects the new claim that `Sentry.Profiling` installs on .NET
Framework and adds the tracing option missing from the WinForms VB
examples.
- Fix package prerequisites, missing imports and terminators, ASP.NET
Core and MAUI compatibility guidance, EF6 application-lifetime disposal,
and the Google Cloud Functions user-factory interface.
- Separate AppKit/macOS initialization from iOS and Mac Catalyst, scope
Cocoa features to supported targets, and mark native tracing on Apple
and Android as opt-in through `Native.EnableTracing`.
- Use the OTLP exporter and OpenTelemetry sampling for the Blazor Server
example; remove duplicate logging registration from Blazor WebAssembly.
- Clarify which integration initializes Sentry, enable structured logs
where needed, and verify logging through the configured provider or
appender.
- Add shared verification steps for logs, metrics, and traces, including
manual transactions where sampling alone doesn't create tracing data.
Validation: 31 focused documentation tests and all applicable pre-commit
checks passed, including typo, external-link, and trailing-slash checks.
All 22 changed MDX files compiled through the repository pipeline with
website telemetry disabled in the temporary validation harness; shared
includes, JSON examples, and the new OTLP link resolved. The .NET SDK is
unavailable locally, so C#/VB snippets were source-checked but not
compiled or run.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
---------
Co-authored-by: Shannon Anahata
Co-authored-by: Ricardo Colombo Oliveira
Co-authored-by: Alex Krawiec
Co-authored-by: James Crosswell
Co-authored-by: Claude Opus 5.5
---
.../platforms/dotnet/guides/android/index.mdx | 13 ++-
docs/platforms/dotnet/guides/apple/index.mdx | 65 ++++++++++++---
docs/platforms/dotnet/guides/aspnet/index.mdx | 15 ++--
.../dotnet/guides/aspnetcore/index.mdx | 9 +-
.../dotnet/guides/aws-lambda/index.mdx | 2 +-
.../guides/azure-functions-worker/index.mdx | 2 +-
.../dotnet/guides/blazor-server/index.mdx | 34 +++++---
.../guides/blazor-webassembly/index.mdx | 11 +--
.../dotnet/guides/entityframework/index.mdx | 28 ++++---
.../guides/extensions-logging/index.mdx | 82 ++++++++++---------
.../guides/google-cloud-functions/index.mdx | 14 ++--
.../platforms/dotnet/guides/log4net/index.mdx | 50 ++++++++++-
docs/platforms/dotnet/guides/maui/index.mdx | 6 +-
docs/platforms/dotnet/guides/nlog/index.mdx | 41 ++++++----
.../platforms/dotnet/guides/serilog/index.mdx | 35 ++++++--
.../dotnet/guides/winforms/index.mdx | 35 +++++---
docs/platforms/dotnet/guides/winui/index.mdx | 6 +-
docs/platforms/dotnet/guides/wpf/index.mdx | 6 +-
.../platforms/dotnet/guides/xamarin/index.mdx | 5 +-
docs/platforms/dotnet/index.mdx | 6 +-
.../getting-started-verify-data/dotnet.mdx | 9 ++
.../getting-started-verify-tracing/dotnet.mdx | 10 +++
22 files changed, 335 insertions(+), 149 deletions(-)
create mode 100644 platform-includes/getting-started-verify-data/dotnet.mdx
create mode 100644 platform-includes/getting-started-verify-tracing/dotnet.mdx
diff --git a/docs/platforms/dotnet/guides/android/index.mdx b/docs/platforms/dotnet/guides/android/index.mdx
index 275826bcbcc2c..3d2aa82fedf3d 100644
--- a/docs/platforms/dotnet/guides/android/index.mdx
+++ b/docs/platforms/dotnet/guides/android/index.mdx
@@ -32,7 +32,7 @@ On .NET for Android, you also get:
- [Capture Application Not Responding (ANR) errors](/platforms/android/configuration/app-not-respond/) when the app is unresponsive
- Automatically [attach screenshots to Java exceptions](/platforms/android/enriching-events/screenshots/)
- Automatic breadcrumbs for Activity lifecycle, App lifecycle, System and Network events and User Interactions
- - Automatic [Activity lifecycle tracing](/platforms/android/tracing/instrumentation/automatic-instrumentation/#activity-instrumentation) and [User Interaction tracing](/platforms/android/tracing/instrumentation/automatic-instrumentation/#user-interaction-instrumentation)
+ - Opt-in automatic [Activity lifecycle tracing](/platforms/android/tracing/instrumentation/automatic-instrumentation/#activity-instrumentation) and [User Interaction tracing](/platforms/android/tracing/instrumentation/automatic-instrumentation/#user-interaction-instrumentation) through the embedded Android SDK. See `Native.EnableTracing`.
- Device Root checking
- Native crash reporting for Android, leveraging our [Android NDK](/platforms/android/configuration/using-ndk/)
- Automatic session tracking and [release health](/product/releases/)
@@ -46,7 +46,12 @@ The snippet also turns on:
Don't need a feature? Remove its options from the snippet.
-```csharp
+```csharp {filename:MainActivity.cs}
+using Android.App;
+using Android.OS;
+using Sentry;
+using Sentry.Android;
+
[Activity(Label = "@string/app_name", MainLauncher = true)]
public class MainActivity : Activity
{
@@ -66,7 +71,7 @@ public class MainActivity : Activity
#endif
// Android specific .NET features are under the Android properties:
- options.Android.LogCatIntegration = LogCatIntegrationType.Errors; // Get logcat logs for both handled and unhandled errors; default is unhandled only
+ options.Android.LogCatIntegration = LogCatIntegrationType.Errors; // Attach logcat logs to handled and unhandled errors; default is None.
options.Android.LogCatMaxLines = 1000; // Defaults to 1000
// Native Android SDK options are available via options.Native
@@ -163,7 +168,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
diff --git a/docs/platforms/dotnet/guides/apple/index.mdx b/docs/platforms/dotnet/guides/apple/index.mdx
index cacafbc17d0c4..025420afd9fd2 100644
--- a/docs/platforms/dotnet/guides/apple/index.mdx
+++ b/docs/platforms/dotnet/guides/apple/index.mdx
@@ -22,30 +22,35 @@ Install-Package Sentry -Version {{@inject packages.version('sentry.dotnet') }}
**Error Monitoring** starts working as soon as you call `SentrySdk.Init()`. **Logs** sent through `SentrySdk.Logger` and **Application Metrics** need no extra configuration. You'll learn how to send them in [Send Logs](#send-logs) and [Send Application Metrics](#send-application-metrics-).
-This guide also enables **Tracing**, **Profiling**, and **Session Replay** (experimental).
+This guide also enables **Tracing**. The iOS and Mac Catalyst setup enables **Profiling**, and the iOS setup enables experimental **Session Replay**.
-On .NET for iOS, macOS, and Mac Catalyst, you also get:
+On all three platforms, you get the features of the main [.NET SDK](/platforms/dotnet/) for your managed code. On iOS and Mac Catalyst, the embedded [Cocoa SDK](/platforms/apple/) also provides:
-- All the features of our main [.NET SDK](/platforms/dotnet/), for your managed code
-- Native crash reporting for Apple platforms, leveraging our [Cocoa SDK](/platforms/apple/) including:
+- Native crash reporting, including:
- Automatically [attach screenshots to Native exceptions](/platforms/apple/guides/ios/configuration/options/#attachScreenshot)
- Detect [App Hangs](/platforms/apple/configuration/app-hangs/)
- - [Automatic performance tracing](/platforms/apple/tracing/)
+ - Opt-in [automatic performance tracing](/platforms/apple/tracing/). See `Native.EnableTracing`.
- [Automatic breadcrumbs](/platforms/apple/enriching-events/breadcrumbs/#automatic-breadcrumbs)
- [Swizzling](/platforms/apple/configuration/swizzling/)
- Automatic session tracking and [release health](/product/releases/)
-In your `AppDelegate.cs` file, call `SentrySdk.Init` in the `FinishedLaunching` event and include any options you would like to set. The `Dsn` is the only required parameter.
+### iOS and Mac Catalyst
+
+In your `AppDelegate.cs` file, call `SentrySdk.Init` in `FinishedLaunching`. Keep your existing window and application setup after the Sentry initialization. The `Dsn` is the only required setting.
The snippet also turns on:
- Tracing: via `TracesSampleRate`
- Profiling: via `ProfilesSampleRate`. On iOS and Mac Catalyst, the SDK adds the native profiling integration automatically, so you don't need the `Sentry.Profiling` package.
-- Session Replay: via `Native.ExperimentalOptions.SessionReplay`
+- Session Replay on iOS: via `Native.ExperimentalOptions.SessionReplay`
Don't need a feature? Remove its options from the snippet.
-```csharp
+```csharp {filename:AppDelegate.cs}
+using Foundation;
+using Sentry;
+using UIKit;
+
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
@@ -75,9 +80,11 @@ public class AppDelegate : UIApplicationDelegate
// https://docs.sentry.io/platforms/apple/guides/ios/configuration/options/#attachScreenshot
options.Native.AttachScreenshot = true;
- // Session Replay is currently available via the ExperimentalOptions
+#if IOS
+ // Session Replay is available on iOS via ExperimentalOptions.
options.Native.ExperimentalOptions.SessionReplay.OnErrorSampleRate = 1.0;
options.Native.ExperimentalOptions.SessionReplay.SessionSampleRate = 1.0;
+#endif
options.SetBeforeSend(evt =>
{
@@ -103,11 +110,43 @@ public class AppDelegate : UIApplicationDelegate
For a full list of native options, see Apple Native Options.
+### macOS
+
+For an AppKit application targeting `net*-macos`, initialize Sentry in `NSApplicationDelegate.DidFinishLaunching`. This target doesn't include the Cocoa integration's `options.Native` or `OnCrashedLastRun` APIs.
+
+```csharp {filename:AppDelegate.cs}
+using AppKit;
+using Foundation;
+using Sentry;
+
+[Register("AppDelegate")]
+public class AppDelegate : NSApplicationDelegate
+{
+ public override void DidFinishLaunching(NSNotification notification)
+ {
+ SentrySdk.Init(options =>
+ {
+ options.Dsn = "___PUBLIC_DSN___";
+ options.SendDefaultPii = true;
+ options.IsGlobalModeEnabled = true;
+ options.TracesSampleRate = 1.0;
+#if DEBUG
+ options.Debug = true;
+#endif
+ });
+
+ // Keep the rest of your application startup here.
+ }
+}
+```
+
+For custom transactions, see [Verify Your Setup](#verify-your-setup). The Cocoa profiling and replay configuration above doesn't apply to this target.
+
### Options
The .NET for iOS, macOS, and Mac Catalyst integration is part of [Sentry](/platforms/dotnet/). Please refer to the documentation for that package for information about platform agnostic options.
-For configuration of the embedded Sentry Cocoa SDK, see Apple Native Options.
+For configuration of the embedded Sentry Cocoa SDK on iOS and Mac Catalyst, see Apple Native Options.
## Send Logs
@@ -141,9 +180,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
+
+
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
@@ -152,4 +193,4 @@ At this point, you should have integrated Sentry into your .NET for iOS, macOS,
- Explore [practical guides](/get-started/guides/) on what to monitor, log, track, and investigate after setup
- Learn how to [manually capture errors](/platforms/dotnet/usage/)
- Explore [Tracing](/platforms/dotnet/tracing/)
-- Configure the embedded Cocoa SDK with Apple Native Options
+- On iOS and Mac Catalyst, configure the embedded Cocoa SDK with Apple Native Options
diff --git a/docs/platforms/dotnet/guides/aspnet/index.mdx b/docs/platforms/dotnet/guides/aspnet/index.mdx
index a49d3a19ad296..9c4255fbcd01d 100644
--- a/docs/platforms/dotnet/guides/aspnet/index.mdx
+++ b/docs/platforms/dotnet/guides/aspnet/index.mdx
@@ -37,16 +37,15 @@ The snippet also turns on:
Don't need a feature? Remove its options from the snippet.
-```csharp
+```csharp {filename:Global.asax.cs}
using System;
using System.Web;
+using Sentry;
using Sentry.AspNet;
-using Sentry.EntityFramework; // If you also installed Sentry.EntityFramework
-using Sentry.Extensibility;
public class MvcApplication : HttpApplication
{
- private IDisposable _sentry;
+ private static IDisposable _sentry;
protected void Application_Start()
{
@@ -64,8 +63,6 @@ public class MvcApplication : HttpApplication
// We recommend reducing this value in production.
options.TracesSampleRate = 1.0;
- // If you also installed the Sentry.EntityFramework package
- options.AddEntityFramework();
options.AddAspNet();
});
}
@@ -90,6 +87,8 @@ public class MvcApplication : HttpApplication
}
```
+If you also use Entity Framework 6, install `Sentry.EntityFramework` and add `options.AddEntityFramework()` to the same initialization callback. See the [Entity Framework guide](/platforms/dotnet/guides/entityframework/) for setup details.
+
### Capturing the affected user
When opting-in to [SendDefaultPii](#senddefaultpii), the SDK will automatically read the user from the request by inspecting `HttpContext.User`. Default claim values like `NameIdentifier` for the _Id_ will be used.
@@ -104,7 +103,7 @@ options.SendDefaultPii = true;
### SendDefaultPii
-Although this setting is part of the [Sentry](/platforms/dotnet/) package, in the context of ASP.NET Core, it means reporting the user by reading the frameworks `HttpContext.User`. The strategy to create the `SentryUser` can be customized.
+Although this setting is part of the [Sentry](/platforms/dotnet/) package, in ASP.NET it also enables reporting the user from `HttpContext.User`.
### IncludeRequestPayload
@@ -151,7 +150,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Troubleshooting
diff --git a/docs/platforms/dotnet/guides/aspnetcore/index.mdx b/docs/platforms/dotnet/guides/aspnetcore/index.mdx
index 4b33240722ece..d8301dda91873 100644
--- a/docs/platforms/dotnet/guides/aspnetcore/index.mdx
+++ b/docs/platforms/dotnet/guides/aspnetcore/index.mdx
@@ -18,7 +18,7 @@ dotnet add package Sentry.AspNetCore -v {{@inject packages.version('sentry.dotne
```
```shell {tabTitle:Paket CLI}
-paket add Sentry --version {{@inject packages.version('sentry.dotnet.aspnetcore') }}
+paket add Sentry.AspNetCore --version {{@inject packages.version('sentry.dotnet.aspnetcore') }}
```
This package extends [Sentry.Extensions.Logging](/platforms/dotnet/guides/extensions-logging/). This means that besides the ASP.NET Core related features, through this package you'll also get access to all the framework's logging integration and also the features available in the main [Sentry](/platforms/dotnet/) SDK.
@@ -29,9 +29,9 @@ This package extends [Sentry.Extensions.Logging](/platforms/dotnet/guides/extens
This guide also enables **Tracing**.
-The simplest way to initialize Sentry in ASP.NET Core is by using the `UseSentry` extension method from the `Sentry.AspNetCore` package in conjunction with the [framework configuration system](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0).
+The simplest way to initialize Sentry in ASP.NET Core is by using the `UseSentry` extension method from the `Sentry.AspNetCore` package in conjunction with the [framework configuration system](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/).
-Call `UseSentry` with your DSN and the options you want. The SDK provides this as extension methods to support ASP.NET Core `2.X`, `3.X`, and `5.X` and later.
+`Sentry.AspNetCore` 6.x requires .NET 8 or later. Call `UseSentry` with your DSN and the options you want. For .NET 6 or 7, use `Sentry.AspNetCore` 4.x.
The snippet also turns on:
@@ -82,6 +82,7 @@ public static IWebHost BuildWebHost(string[] args) =>
// We recommend reducing this value in production.
options.TracesSampleRate = 1.0;
})
+ .Build();
```
### Additional configuration
@@ -330,7 +331,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Samples
diff --git a/docs/platforms/dotnet/guides/aws-lambda/index.mdx b/docs/platforms/dotnet/guides/aws-lambda/index.mdx
index 088b899271e1f..43b80991a643b 100644
--- a/docs/platforms/dotnet/guides/aws-lambda/index.mdx
+++ b/docs/platforms/dotnet/guides/aws-lambda/index.mdx
@@ -115,7 +115,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Samples
diff --git a/docs/platforms/dotnet/guides/azure-functions-worker/index.mdx b/docs/platforms/dotnet/guides/azure-functions-worker/index.mdx
index 7fa4beee87e09..29b3ce66d19fd 100644
--- a/docs/platforms/dotnet/guides/azure-functions-worker/index.mdx
+++ b/docs/platforms/dotnet/guides/azure-functions-worker/index.mdx
@@ -119,7 +119,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Samples
diff --git a/docs/platforms/dotnet/guides/blazor-server/index.mdx b/docs/platforms/dotnet/guides/blazor-server/index.mdx
index c05548bffc813..0071c897b4859 100644
--- a/docs/platforms/dotnet/guides/blazor-server/index.mdx
+++ b/docs/platforms/dotnet/guides/blazor-server/index.mdx
@@ -73,16 +73,30 @@ However, on .NET 10 and later, Blazor emits OpenTelemetry activities for circuit
#### Install OpenTelemetry
-See OpenTelemetry Support for installation and setup instructions.
+Install the OTLP exporter and OpenTelemetry instrumentation:
+
+```shell {tabTitle:.NET Core CLI}
+dotnet add package Sentry.OpenTelemetry.Exporter -v {{@inject packages.version('sentry.dotnet') }}
+dotnet add package OpenTelemetry.Extensions.Hosting
+dotnet add package OpenTelemetry.Instrumentation.AspNetCore
+```
+
+```powershell {tabTitle:Package Manager}
+Install-Package Sentry.OpenTelemetry.Exporter -Version {{@inject packages.version('sentry.dotnet') }}
+Install-Package OpenTelemetry.Extensions.Hosting
+Install-Package OpenTelemetry.Instrumentation.AspNetCore
+```
+
+See OpenTelemetry (OTLP) for sampling and trace propagation.
#### Configure OpenTelemetry
-Wire up Sentry as an OpenTelemetry exporter, subscribe to the Blazor activity sources, and register helper services for circuit and breadcrumb tracking:
+Copy the [helper services](#circuit-lifecycle-tracking-services) into your application and add a `using` directive for their namespace. Then configure the OTLP exporter, subscribe to the Blazor activity sources, and register the helpers:
```csharp {filename:Program.cs}
using Microsoft.AspNetCore.Components.Server.Circuits;
using OpenTelemetry.Trace;
-using Sentry.OpenTelemetry;
+using Sentry;
var builder = WebApplication.CreateBuilder(args);
@@ -95,18 +109,14 @@ builder.Services.AddOpenTelemetry()
tracing.AddSource("Microsoft.AspNetCore.Components");
tracing.AddSource("Microsoft.AspNetCore.Components.Server.Circuits");
tracing.AddAspNetCoreInstrumentation();
- // Export traces to Sentry
- tracing.AddSentry();
+ tracing.SetSampler(new ParentBasedSampler(new TraceIdRatioBasedSampler(0.1)));
+ tracing.AddSentryOtlpExporter("___PUBLIC_DSN___");
});
builder.WebHost.UseSentry(options =>
{
options.Dsn = "___PUBLIC_DSN___";
- options.UseOpenTelemetry();
- // Enables Tracing.
- // Set to 1.0 to capture 100% of spans for tracing.
- // We recommend reducing this value in production.
- options.TracesSampleRate = 0.1;
+ options.UseOtlp();
// Rewrites /_blazor SignalR transaction names to the actual Blazor route
options.AddEventProcessor(new BlazorEventProcessor());
});
@@ -128,6 +138,8 @@ app.MapFallbackToPage("/_Host");
app.Run();
```
+OpenTelemetry handles sampling in this configuration. Don't also set `TracesSampleRate` on the Sentry options.
+
#### Circuit Lifecycle Tracking Services
The `BlazorSentryIntegration`, `SentryCircuitHandler`, and `BlazorEventProcessor` services shown above are not part of the Sentry integration. You can copy them from the [Blazor Server sample](https://github.com/getsentry/sentry-dotnet/tree/main/samples/Sentry.Samples.AspNetCore.Blazor.Server/Services) into your application if they prove useful for your use case.
@@ -174,7 +186,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Samples
diff --git a/docs/platforms/dotnet/guides/blazor-webassembly/index.mdx b/docs/platforms/dotnet/guides/blazor-webassembly/index.mdx
index bafbb652e24b1..9f416bd84e987 100644
--- a/docs/platforms/dotnet/guides/blazor-webassembly/index.mdx
+++ b/docs/platforms/dotnet/guides/blazor-webassembly/index.mdx
@@ -53,15 +53,14 @@ builder.UseSentry(options =>
// Enables Tracing.
// Set to 1.0 to capture 100% of spans for tracing.
// We recommend reducing this value in production.
- options.TracesSampleRate = 0.1;
+ options.TracesSampleRate = 1.0;
});
-// Captures logError and higher as events
-builder.Logging.AddSentry(o => o.InitializeSdk = false);
-
await builder.Build().RunAsync();
```
+`UseSentry` also registers the logging integration. Don't call `builder.Logging.AddSentry` separately.
+
## Send Logs
Use `Microsoft.Extensions.Logging` to send structured logs from your application. Set `EnableLogs = true` in your Sentry initialization.
@@ -108,9 +107,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
+
+
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Samples
diff --git a/docs/platforms/dotnet/guides/entityframework/index.mdx b/docs/platforms/dotnet/guides/entityframework/index.mdx
index d08272d0a7fc5..02568c407640b 100644
--- a/docs/platforms/dotnet/guides/entityframework/index.mdx
+++ b/docs/platforms/dotnet/guides/entityframework/index.mdx
@@ -5,7 +5,7 @@ description: Learn about Sentry's .NET integration with Entity Framework.
og_image: /og-images/platforms-dotnet-guides-entityframework.png
---
-Sentry provides an integration with `EntityFramework` through the of the [Sentry.EntityFramework NuGet package](https://www.nuget.org/packages/Sentry.EntityFramework).
+Sentry provides an integration with Entity Framework 6 through the [Sentry.EntityFramework NuGet package](https://www.nuget.org/packages/Sentry.EntityFramework).
> Looking for `EntityFramework Core`? If you're targeting .NET Core 3.1 or newer, that's already built in to the main Sentry .NET SDK. It's also enabled by default for our ASP.NET or ASP.NET Core integrations, even for older targets. For other scenarios, you may need to add the `Sentry.DiagnosticSource` package and call `AddDiagnosticSourceIntegration`, [as described here](/platforms/dotnet/tracing/instrumentation/automatic-instrumentation/#diagnosticsource-integration). (The rest of this page describes our EF6 integration, not EFCore.)
@@ -40,7 +40,15 @@ Add the Entity Framework 6 support to your project in one step:
### Example configuration
-For example, configuring an ASP.NET app with _global.asax_:
+The following example configures an ASP.NET application in `Global.asax.cs`. In addition to `Sentry.EntityFramework`, install [Sentry.AspNet](/platforms/dotnet/guides/aspnet/), which provides request context, request-scoped data, and the HTTP transaction helpers used here:
+
+```powershell {tabTitle:Package Manager}
+Install-Package Sentry.AspNet -Version {{@inject packages.version('sentry.dotnet.aspnet') }}
+```
+
+```shell {tabTitle:.NET Core CLI}
+dotnet add package Sentry.AspNet -v {{@inject packages.version('sentry.dotnet.aspnet') }}
+```
The snippet also turns on:
@@ -48,14 +56,15 @@ The snippet also turns on:
Don't need a feature? Remove its options from the snippet.
-```csharp {filename:global.asax}
+```csharp {filename:Global.asax.cs}
using System;
using System.Configuration;
+using Sentry;
using Sentry.AspNet;
public class MvcApplication : System.Web.HttpApplication
{
- private IDisposable _sentrySdk;
+ private static IDisposable _sentrySdk;
protected void Application_Start()
{
@@ -69,7 +78,7 @@ public class MvcApplication : System.Web.HttpApplication
// Set to 1.0 to capture 100% of spans for tracing.
// We recommend reducing this value in production.
options.TracesSampleRate = 1.0;
- // Add the EntityFramework integration
+ options.AddAspNet();
options.AddEntityFramework();
});
}
@@ -85,10 +94,9 @@ public class MvcApplication : System.Web.HttpApplication
{
Context.FinishSentryTransaction();
}
- public override void Dispose()
+ protected void Application_End()
{
- _sentrySdk.Dispose();
- base.Dispose();
+ _sentrySdk?.Dispose();
}
}
```
@@ -127,11 +135,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Sample
-Check out a complete working [sample](https://github.com/getsentry/sentry-dotnet-ef/tree/master/samples/Sentry.Samples.AspNet.Mvc) to see it in action.
+See the [Entity Framework sample](https://github.com/getsentry/sentry-dotnet/tree/main/samples/Sentry.Samples.EntityFramework) for a standalone application using this integration.

diff --git a/docs/platforms/dotnet/guides/extensions-logging/index.mdx b/docs/platforms/dotnet/guides/extensions-logging/index.mdx
index 058be82f62cc9..7a9816b209243 100644
--- a/docs/platforms/dotnet/guides/extensions-logging/index.mdx
+++ b/docs/platforms/dotnet/guides/extensions-logging/index.mdx
@@ -38,54 +38,43 @@ This package extends `Sentry` main SDK. That means that besides the logging rela
-Messages logged from assemblies with the name starting with `Sentry` will not generate events.
+The integration excludes the Sentry SDK's own logger categories to avoid capturing its diagnostic messages as events. Application categories that happen to start with `Sentry` aren't excluded solely because of that prefix.
## Configure
-There are two ways to add this integration into your project. In both cases it means calling an extension method. The places where it's available are:
+Call `AddSentry` on an `ILoggingBuilder`, either through a generic host or `LoggerFactory.Create`. This registers the providers for error events, breadcrumbs, and structured logs.
-- `ILoggingBuilder`
-- `ILoggerFactory`
+The legacy `ILoggerFactory.AddSentry` extension registers only the error-event and breadcrumb provider. Use `LoggerFactory.Create` with `builder.AddSentry` to capture structured logs too. ASP.NET Core's `UseSentry` already registers the providers, so it doesn't need a separate `AddSentry` call.
-The `ILoggingBuilder` extension is useful when using a `WebHostBuilder` or a `HostBuilder`, also known as _Generic host_. This extension method is used by the ASP.NET Core integration under the hood to automatically.
-
-The extension to `ILoggerFactory` is a convenient way when only the `LoggerFactory` is being used, without any framework integration.
+### Example configuration
-In both cases the method call is:
+#### Through `ILoggingBuilder`
-**AddSentry()**
+This example uses a generic host from the `Microsoft.Extensions.Hosting` package:
-### Example configuration
+```csharp {filename:Program.cs}
+using Microsoft.Extensions.Hosting;
+using Microsoft.Extensions.Logging;
-#### Through `ILoggingBuilder`
+var builder = Host.CreateApplicationBuilder(args);
+// Lets Sentry read the top-level "Sentry" section of appsettings.json
+builder.Logging.AddConfiguration(builder.Configuration);
+builder.Logging.AddSentry();
-```csharp
-public static Task Main()
- => new HostBuilder()
- .ConfigureHostConfiguration(c =>
- {
- c.SetBasePath(Directory.GetCurrentDirectory());
- c.AddJsonFile("appsettings.json", optional: false);
- })
- .ConfigureLogging((c, l) =>
- {
- l.AddConfiguration(c.Configuration);
- // Adding Sentry integration to Microsoft.Extensions.Logging
- l.AddSentry();
- })
- .Build();
+using var host = builder.Build();
+await host.RunAsync();
```
-In this example, a _generic host_ is being built and the MEL integration with Sentry added through `ConfigureLogging`. The example also demonstrates how to bind the `appsettings.json` configuration to make the values available to the Sentry integration.
+The host loads `appsettings.json` and environment variables. Sentry reads its options from the `Sentry` configuration section.
With this approach, options like `Dsn`, `SendDefaultPii`, `MinimumBreadcrumbLevel`, to name a few, can be set in `appsettings.json`.
Example using `appsettings.json`:
-```json
+```json {filename:appsettings.json}
{
"Logging": {
"LogLevel": {
@@ -95,6 +84,7 @@ Example using `appsettings.json`:
},
"Sentry": {
"Dsn": "___PUBLIC_DSN___",
+ "EnableLogs": true,
"SendDefaultPii": true,
"MinimumBreadcrumbLevel": "Debug",
"MinimumEventLevel": "Warning",
@@ -109,11 +99,20 @@ Above we set the application wide minimum log level to `Debug` and we configure
```csharp
-using (var loggerFactory = new LoggerFactory()
- .AddConsole(LogLevel.Trace)
- .AddSentry(o => o.Dsn = "___PUBLIC_DSN___"))
+using Microsoft.Extensions.Logging;
+
+using (var loggerFactory = LoggerFactory.Create(builder =>
+{
+ builder.SetMinimumLevel(LogLevel.Information);
+ builder.AddSentry(options =>
+ {
+ options.Dsn = "___PUBLIC_DSN___";
+ options.EnableLogs = true;
+ });
+}))
{
- var logger = loggerFactory.CreateLogger();
+ var logger = loggerFactory.CreateLogger("Example");
+ logger.LogInformation("Order processed {OrderId}", "order-123");
}
```
@@ -127,15 +126,19 @@ In cases where `AddSentry` is called without arguments, it's worth noting that a
-The SDK needs to be initialized only once. If the `DSN` is made available to this integration, by default it **will** initialize the SDK. If you do not wish to initialize the SDK via this configuration, set the `InitializeSdk` flag to **false**. Not providing a DSN or leaving it as an _empty string_ will disable the SDK.
+Initialize the SDK once. `ILoggingBuilder.AddSentry` initializes it by default and can resolve a DSN from configuration or `SENTRY_DSN`. If another integration or `SentrySdk.Init` owns initialization, set `InitializeSdk = false`. Omitting the DSN isn't a substitute for this flag: if no DSN is found, initialization throws. An explicitly empty DSN disables the SDK.
For example:
```csharp
-using (var loggerFactory = new LoggerFactory()
- .AddSentry(o => o.InitializeSdk = false))
+using (var loggerFactory = LoggerFactory.Create(builder =>
+ builder.AddSentry(options =>
+ {
+ options.InitializeSdk = false;
+ options.EnableLogs = true;
+ })))
{ }
```
@@ -175,9 +178,14 @@ options.TagFilters.Add("PROC_");
## Verify
-This snippet includes an intentional error, so you can test that everything is working as soon as you set it up.
+After creating a logger with one of the configurations above, send an informational log and an error to verify both providers:
+
+```csharp
+logger.LogInformation("Sentry logging verification");
+logger.LogError("Sentry error-event verification");
+```
-
+Check **Logs** for the informational log and **Issues** for the error event. Run this code before disposing the host or logger factory.
## Samples
diff --git a/docs/platforms/dotnet/guides/google-cloud-functions/index.mdx b/docs/platforms/dotnet/guides/google-cloud-functions/index.mdx
index 9b0f8af3ffd38..98cec74c19281 100644
--- a/docs/platforms/dotnet/guides/google-cloud-functions/index.mdx
+++ b/docs/platforms/dotnet/guides/google-cloud-functions/index.mdx
@@ -30,7 +30,7 @@ This package extends `Sentry.AspNetCore`, which in turn extends `Sentry`'s main
-Messages logged from assemblies with the name starting with `Sentry` will not generate events.
+The logging integration excludes the Sentry SDK's own logger categories to avoid capturing its diagnostic messages as events.
@@ -104,10 +104,12 @@ using Microsoft.AspNetCore.Http;
public class Function : IHttpFunction
{
+ public Task HandleAsync(HttpContext context) =>
+ context.Response.WriteAsync("Hello from Google Cloud Functions");
}
```
-Some of the settings require actual code. For those, like the `BeforeSend` callback, you will need to create a new class implementing the abstract class `FunctionsStartup` to set it up:
+Some settings, such as the `BeforeSend` callback, require code. Keep the `SentryStartup` assembly registration above and add another `FunctionsStartup` registration for your custom configuration:
```csharp
using Google.Cloud.Functions.Hosting;
@@ -144,13 +146,13 @@ Much of the behavior of the Google cloud functions integration with Sentry can b
When opting in to `SendDefaultPii`, the SDK will automatically read the user from the request by inspecting `HttpContext.User`. Default claim values like `NameIdentifier` for the _Id_ will be used.
-If you wish to change the behavior of how to read the user from the request, you can register a new `IUserFactory` into the container:
+To customize how Sentry reads the user from the request, implement `ISentryUserFactory` and register it in the container. Keep the `SentryStartup` registration when adding this startup class:
```csharp
using Google.Cloud.Functions.Hosting;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
-using Sentry.AspNetCore;
+using Sentry;
[assembly: FunctionsStartup(typeof(UserFactoryStartup))]
@@ -159,7 +161,7 @@ public class UserFactoryStartup : FunctionsStartup
public override void ConfigureServices(WebHostBuilderContext context, IServiceCollection services)
{
base.ConfigureServices(context, services);
- services.AddSingleton();
+ services.AddSingleton();
}
}
```
@@ -191,7 +193,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
diff --git a/docs/platforms/dotnet/guides/log4net/index.mdx b/docs/platforms/dotnet/guides/log4net/index.mdx
index 99c61499a86b4..4205ab6278133 100644
--- a/docs/platforms/dotnet/guides/log4net/index.mdx
+++ b/docs/platforms/dotnet/guides/log4net/index.mdx
@@ -52,16 +52,60 @@ In the example above, the `SendIdentity` flag was switched on. The SDK then will
### DSN
-Also in the example above, you can find the DSN being set. That will instruct the `SentryAppender` to initialize the SDK.
+The appender initializes the SDK lazily when it processes its first log entry and no SDK is already enabled. Setting `Dsn` in the configuration doesn't initialize the SDK immediately.
This is only one of the ways to initialize the SDK. If you wish to configure the SDK programmatically, you could **leave the DSN out** from the appender configuration section. The SDK needs to be initialized only **once** and since other integrations (like ASP.NET) are also able to initialize the SDK, you only need to pass the DSN to one of these integrations.
One common case to not add the DSN to the XML configuration file (which would initialize it via the log4net integration) is to have full access to the [SDK option](/platforms/dotnet/guides/log4net/configuration/options/).
+### Structured Logs
+
+To send structured logs, initialize Sentry in code before logging and omit `Dsn` from the appender configuration:
+
+```csharp
+SentrySdk.Init(options =>
+{
+ options.Dsn = "___PUBLIC_DSN___";
+ options.EnableLogs = true;
+});
+```
+
+If another integration already initializes Sentry, set `EnableLogs = true` there instead. The appender uses the existing SDK.
+
## Verify
-This snippet includes an intentional error, so you can test that everything is working as soon as you set it up.
+Ensure log4net loads your configuration and the appender is referenced by a logger. For example, add this inside your `` element alongside the appender:
+
+```xml {filename:app.config}
+
+
+
+
+```
+
+Run this code during application startup to initialize through the appender and verify error capture:
+
+```csharp
+using System;
+using log4net;
+using log4net.Config;
+using Sentry;
+
+XmlConfigurator.Configure();
+var logger = LogManager.GetLogger("SentryVerification");
+
+try
+{
+ throw new InvalidOperationException("Sentry log4net verification");
+}
+catch (Exception exception)
+{
+ logger.Error("Sentry error-event verification", exception);
+}
+
+SentrySdk.FlushAsync().GetAwaiter().GetResult();
+```
-
+Check **Issues** for the error event. If you enabled structured logs, also check **Logs**. A direct `SentrySdk.CaptureException` call won't initialize the appender, so it can't verify this setup before the first log entry.
## Sample
diff --git a/docs/platforms/dotnet/guides/maui/index.mdx b/docs/platforms/dotnet/guides/maui/index.mdx
index 1688daecfafc0..4ad7dc8cf6fb3 100644
--- a/docs/platforms/dotnet/guides/maui/index.mdx
+++ b/docs/platforms/dotnet/guides/maui/index.mdx
@@ -6,6 +6,8 @@ description: "Learn about Sentry's .NET integration with .NET Multi-platform App
Sentry has an integration for the [.NET Multi-platform App UI (MAUI)](https://dotnet.microsoft.com/apps/maui) through the [Sentry.Maui NuGet package](https://www.nuget.org/packages/Sentry.Maui).
+`Sentry.Maui` 6.x requires .NET MAUI 9 or later. For .NET MAUI 8, use a compatible 5.x SDK version.
+
**Overview of the features**
- Easy MAUI integration by calling `UseSentry` on your `MauiAppBuilder`
@@ -79,7 +81,7 @@ public static MauiApp CreateMauiApp()
options.AttachScreenshot = true;
// Other Sentry options can be set here.
- })
+ });
// ... the remainder of your MAUI app setup
@@ -176,7 +178,7 @@ Let's test your setup and confirm that data reaches your Sentry project.
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
diff --git a/docs/platforms/dotnet/guides/nlog/index.mdx b/docs/platforms/dotnet/guides/nlog/index.mdx
index c597b48a3b510..b50cab82b089c 100644
--- a/docs/platforms/dotnet/guides/nlog/index.mdx
+++ b/docs/platforms/dotnet/guides/nlog/index.mdx
@@ -18,7 +18,7 @@ By default, Sentry will keep any message with log level `Info` or higher as a `B
The default value to report a log entry as an event to Sentry is `Error`.
-This means that out of the box, any `Error` call will create an `Event` which will include all log messages of level `Info`, `Warn` and also `Error` and `Critical`.
+This means that out of the box, any `Error` call will create an `Event` which will include all log messages of level `Info`, `Warn`, `Error`, and `Fatal` stored as breadcrumbs.
Additionally, when enabled, log messages are sent to Sentry as [Structured Logs](logs/).
@@ -36,12 +36,6 @@ dotnet add package Sentry.NLog -v {{@inject packages.version('sentry.dotnet.nlog
This package extends `Sentry` main SDK. That means that besides the logging related features, through this package you'll also get access to all API and features available in the main `Sentry` SDK.
-
-
-Messages logged from assemblies with the name starting with `Sentry` will not generate events.
-
-
-
## Configure
@@ -50,13 +44,16 @@ For more information on how to dynamically set event data via `NLog.config`, see
-You can configure the Sentry NLog target via code as follows:
+If another integration already initializes Sentry, add the NLog target without reinitializing the SDK. Set `EnableLogs = true` on the options used by that integration to send structured logs.
```csharp
-LogManager.Configuration = new LoggingConfiguration();
-LogManager.Configuration
- .AddSentry(options =>
+using NLog;
+using NLog.Config;
+
+var configuration = new LoggingConfiguration();
+configuration.AddSentry(options =>
{
+ options.InitializeSdk = false;
// Optionally specify a separate format for message
options.Layout = "${message}";
// Optionally specify a separate format for breadcrumbs
@@ -72,6 +69,7 @@ LogManager.Configuration
// All Sentry Options are accessible here.
});
+LogManager.Configuration = configuration;
```
It's also possible to initialize the SDK through the NLog integration (as opposed to using `SentrySdk.Init`).
@@ -79,18 +77,19 @@ This is useful when NLog is the only integration being used in your application.
```csharp
-LogManager.Configuration = new LoggingConfiguration();
-LogManager.Configuration
- .AddSentry(o =>
+var configuration = new LoggingConfiguration();
+configuration.AddSentry(o =>
{
// The NLog integration will initialize the SDK if DSN is set:
o.Dsn = "___PUBLIC_DSN___";
+ o.EnableLogs = true;
});
+LogManager.Configuration = configuration;
```
-The SDK needs to be initialized only once. If a `DSN` is made available to this integration, by default it **will** initialize the SDK. If you do not wish to initialize the SDK via this integration, set the `InitializeSdk` flag to **false**. Not providing a DSN or leaving it as `null` instructs the integration not to initialize the SDK and unless another integration initializes it or you call `SentrySdk.Init`, the SDK will stay disabled.
+Initialize the SDK once. `InitializeSdk` defaults to `true`, and initialization can resolve a DSN from `SENTRY_DSN` even when you omit `Dsn`. If another integration or `SentrySdk.Init` owns initialization, set `InitializeSdk = false`. Omitting the DSN doesn't prevent reinitialization: the target either uses `SENTRY_DSN` and replaces the existing SDK configuration, or fails to initialize because no DSN was found.
@@ -121,6 +120,7 @@ The SDK can also be configured via `NLog.config` XML file:
+With `EnableLogs = true`, the informational message appears in **Logs**. The error message also creates an event in **Issues**. Call `LogManager.Shutdown()` when your application exits to dispose the target and flush pending data.
## Samples
diff --git a/docs/platforms/dotnet/guides/serilog/index.mdx b/docs/platforms/dotnet/guides/serilog/index.mdx
index be1d4e29a9ed2..595e94954d19f 100644
--- a/docs/platforms/dotnet/guides/serilog/index.mdx
+++ b/docs/platforms/dotnet/guides/serilog/index.mdx
@@ -18,7 +18,7 @@ By default, any message with log level `Information` or higher will be kept as a
The default value to report a log entry as an event to Sentry is `Error`.
-This means that out of the box, any `LogError` call will create an `Event` which will include breadcrumbs for all prior log messages of level `Information`, `Warning`, `Error` and `Critical`.
+This means that out of the box, any `Log.Error` call will create an `Event` which will include breadcrumbs for prior log messages of level `Information`, `Warning`, `Error`, and `Fatal`.
Additionally, when enabled, log messages are sent to Sentry as [Structured Logs](logs/). You can control which logs are captured using the [Serilog MinimumLogLevel](https://github.com/serilog/serilog/wiki/Configuration-Basics#minimum-level).
@@ -38,18 +38,23 @@ This package extends `Sentry` main SDK. That means that besides the logging rela
-Messages logged from assemblies with the name starting with `Sentry` will not generate events.
+The integration excludes the Sentry SDK's own logger categories to avoid capturing its diagnostic messages as events. Application categories that happen to start with `Sentry` aren't excluded solely because of that prefix.
## Configure
-You can configure the Sentry Serilog sink as follows:
+If another integration already initializes Sentry, configure the Serilog sink without reinitializing the SDK. Enable `EnableLogs` on the options used by that integration to send structured logs.
```csharp
+using Serilog;
+using Serilog.Events;
+
Log.Logger = new LoggerConfiguration()
+ .MinimumLevel.Debug()
.WriteTo.Sentry(o =>
{
+ o.InitializeSdk = false;
// Debug and higher are stored as breadcrumbs (default is Information)
o.MinimumBreadcrumbLevel = LogEventLevel.Debug;
// Warning and higher is sent as event (default is Error)
@@ -78,12 +83,16 @@ Log.Logger = new LoggerConfiguration()
}
```
-It's also possible to initialize the SDK through the Serilog integration. This is useful when the Serilog is the only integration being used in your application. To initialize the Sentry SDK through the Serilog integration, provide it with the DSN:
+When Serilog owns initialization, provide the DSN and enable structured logs in the sink configuration:
```csharp
Log.Logger = new LoggerConfiguration()
- .WriteTo.Sentry(o => o.Dsn = "___PUBLIC_DSN___")
+ .WriteTo.Sentry(o =>
+ {
+ o.Dsn = "___PUBLIC_DSN___";
+ o.EnableLogs = true;
+ })
.CreateLogger();
```
@@ -95,7 +104,8 @@ Log.Logger = new LoggerConfiguration()
{
"Name": "Sentry",
"Args": {
- "dsn": "___PUBLIC_DSN___"
+ "dsn": "___PUBLIC_DSN___",
+ "enableLogs": true
}
}
]
@@ -105,7 +115,9 @@ Log.Logger = new LoggerConfiguration()
-The SDK only needs to be initialized once. If a `DSN` is made available to this integration, by default it **will** initialize the SDK. If you do not wish to initialize the SDK via this integration, set the `InitializeSdk` flag to **false**. Not providing a DSN or leaving it as `null` instructs the integration not to initialize the SDK and unless another integration initializes it or you call `SentrySdk.Init`, the SDK will stay disabled.
+Initialize the SDK once. The C# callback overload defaults `InitializeSdk` to `true` and can resolve a DSN from `SENTRY_DSN`. Set `InitializeSdk = false` when another integration or `SentrySdk.Init` owns initialization. Omitting the DSN from that callback doesn't prevent reinitialization: it uses `SENTRY_DSN` if set and replaces the existing SDK configuration, and otherwise throws because no DSN was found.
+
+The configuration-file overload infers initialization from its `dsn` argument. In the first JSON example, Sentry must already be initialized elsewhere; supplying `dsn`, as in the second example, enables initialization through the sink.
@@ -141,9 +153,14 @@ An optional `LoggingLevelSwitch` that allows the sink's minimum level to be chan
## Verify
-This snippet includes an intentional error, so you can test that everything is working as soon as you set it up.
+After configuring Serilog, send an informational log and an error:
+
+```csharp
+Log.Information("Sentry logging verification");
+Log.Error("Sentry error-event verification");
+```
-
+With `EnableLogs = true`, the informational message appears in **Logs**. The error message also creates an event in **Issues**. Call `Log.CloseAndFlush()` when your application exits to dispose the sink and flush pending data.
## Samples
diff --git a/docs/platforms/dotnet/guides/winforms/index.mdx b/docs/platforms/dotnet/guides/winforms/index.mdx
index 0c2e5915b5bd2..2113a6d6dd3cc 100644
--- a/docs/platforms/dotnet/guides/winforms/index.mdx
+++ b/docs/platforms/dotnet/guides/winforms/index.mdx
@@ -36,6 +36,7 @@ Don't need a feature? Remove its options from the snippet.
```csharp
using System;
using System.Windows.Forms;
+using Sentry;
namespace WindowsFormsApp1
{
@@ -123,18 +124,21 @@ Module Program
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException)
' Configure the options for Sentry
- Dim sentryOptions = New SentryOptions With
- {
- .Dsn = "___PUBLIC_DSN___",
+ Dim sentryOptions As New SentryOptions()
+ With sentryOptions
+ .Dsn = "___PUBLIC_DSN___"
' Adds request URL and headers, IP and name for users, etc.
- .SendDefaultPii = True,
+ .SendDefaultPii = True
+
+ ' Enable tracing; reduce this value in production.
+ .TracesSampleRate = 1.0
' Enable Global Mode since this is a client app
- .IsGlobalModeEnabled = True,
+ .IsGlobalModeEnabled = True
' any other options you need go here
- }
+ End With
' Initialize Sentry and run the main form of the application
Using SentrySdk.Init(sentryOptions)
@@ -184,18 +188,21 @@ Namespace My
Private Sub MyApplication_Startup(sender As Object, e As StartupEventArgs) Handles Me.Startup
' Configure the options for Sentry
- Dim sentryOptions = New SentryOptions With
- {
- .Dsn = "___PUBLIC_DSN___",
+ Dim sentryOptions As New SentryOptions()
+ With sentryOptions
+ .Dsn = "___PUBLIC_DSN___"
' Adds request URL and headers, IP and name for users, etc.
- .SendDefaultPii = True,
+ .SendDefaultPii = True
+
+ ' Enable tracing; reduce this value in production.
+ .TracesSampleRate = 1.0
' Enable Global Mode since this is a client app
- .IsGlobalModeEnabled = True,
+ .IsGlobalModeEnabled = True
' any other options you need go here
- }
+ End With
' Initialize Sentry
_sentry = SentrySdk.Init(sentryOptions)
@@ -257,9 +264,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
+
+
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Resources
diff --git a/docs/platforms/dotnet/guides/winui/index.mdx b/docs/platforms/dotnet/guides/winui/index.mdx
index 16f84ae9841b2..86f90536fa229 100644
--- a/docs/platforms/dotnet/guides/winui/index.mdx
+++ b/docs/platforms/dotnet/guides/winui/index.mdx
@@ -83,6 +83,8 @@ Do not initialize the SDK in the `OnLaunched` event of the application or the `H
```csharp
// Add these to your existing using statements.
+using System.Security;
+using Sentry;
using Sentry.Protocol;
using UnhandledExceptionEventArgs = Microsoft.UI.Xaml.UnhandledExceptionEventArgs;
@@ -181,9 +183,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
+
+
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
diff --git a/docs/platforms/dotnet/guides/wpf/index.mdx b/docs/platforms/dotnet/guides/wpf/index.mdx
index f9a1444911649..2edb664cae488 100644
--- a/docs/platforms/dotnet/guides/wpf/index.mdx
+++ b/docs/platforms/dotnet/guides/wpf/index.mdx
@@ -28,6 +28,8 @@ Don't need a feature? Remove its options from the snippet.
```csharp
using System.Windows;
+using System.Windows.Threading;
+using Sentry;
public partial class App : Application
{
@@ -97,9 +99,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
+
+
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
diff --git a/docs/platforms/dotnet/guides/xamarin/index.mdx b/docs/platforms/dotnet/guides/xamarin/index.mdx
index 2e7800b29932c..03e78239148a7 100644
--- a/docs/platforms/dotnet/guides/xamarin/index.mdx
+++ b/docs/platforms/dotnet/guides/xamarin/index.mdx
@@ -8,7 +8,7 @@ Sentry's .NET SDK works with Xamarin applications through the [Sentry Xamarin Nu
The SDK is compatible with the following versions or higher:
-- Xamarin.Android 9.0
+- Xamarin.Android 11.0
- Xamarin.iOS 10.14
- Universal Windows Platform 10.0.16299
- Tizen 4.0
@@ -37,7 +37,8 @@ Don't need a feature? Remove its options from the snippet.
```csharp
SentryXamarin.Init(options =>
{
- options.AddXamarinFormsIntegration();
+ // Add this only if you installed Sentry.Xamarin.Forms:
+ // options.AddXamarinFormsIntegration();
// Tells which project in Sentry to send events to:
options.Dsn = "___PUBLIC_DSN___";
// When configuring for the first time, to see what the SDK is doing:
diff --git a/docs/platforms/dotnet/index.mdx b/docs/platforms/dotnet/index.mdx
index d6803feaf506d..5973764f5dd46 100644
--- a/docs/platforms/dotnet/index.mdx
+++ b/docs/platforms/dotnet/index.mdx
@@ -69,7 +69,7 @@ SentrySdk.Init(options =>
-Profiling for .NET is in Alpha and needs .NET 8 or later. On .NET Framework, `Sentry.Profiling` installs without a warning, but `AddProfilingIntegration()` doesn't compile.
+Profiling for .NET is in Alpha. The `Sentry.Profiling` package requires .NET 8 or later and doesn't support .NET Framework. For iOS and Mac Catalyst, use the built-in profiler described in the [Apple guide](/platforms/dotnet/guides/apple/#configure).
@@ -125,9 +125,11 @@ Let's test your setup and confirm that data reaches your Sentry project.
+
+
### View Captured Data in Sentry
-Open your Sentry project to view the captured event.
+
## Next Steps
diff --git a/platform-includes/getting-started-verify-data/dotnet.mdx b/platform-includes/getting-started-verify-data/dotnet.mdx
new file mode 100644
index 0000000000000..9580025e958ee
--- /dev/null
+++ b/platform-includes/getting-started-verify-data/dotnet.mdx
@@ -0,0 +1,9 @@
+Run any log and metric examples you've added after SDK initialization. To verify automatic tracing, exercise an instrumented operation, such as an incoming HTTP request or a supported UI interaction.
+
+Logs and metrics are batched. In an async test method, flush pending data before a short-lived test exits:
+
+```csharp
+await SentrySdk.FlushAsync();
+```
+
+Check **Issues** for the captured error, **Logs** for log messages, **Metrics** for application metrics, and **Traces** for sampled transactions. Error capture alone doesn't verify the other features.
diff --git a/platform-includes/getting-started-verify-tracing/dotnet.mdx b/platform-includes/getting-started-verify-tracing/dotnet.mdx
new file mode 100644
index 0000000000000..eca84a6033c5f
--- /dev/null
+++ b/platform-includes/getting-started-verify-tracing/dotnet.mdx
@@ -0,0 +1,10 @@
+To verify tracing for code without automatic instrumentation, create and finish a test transaction after initializing Sentry:
+
+```csharp
+var transaction = SentrySdk.StartTransaction("quickstart-test", "test");
+transaction.Finish();
+```
+
+`TracesSampleRate` controls sampling; it doesn't create transactions by itself. See Custom Instrumentation to trace work in your application.
+
+If you enabled profiling, run a longer sampled transaction after the profiler has initialized. A short verification transaction might finish before the profiler collects any samples.
From bce2484781ee4e9e6d28e54fd12808285eec8fc1 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 21:25:16 +0000
Subject: [PATCH 027/141] Bump API schema to 821639eb (#20707)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 2c3360222b672..1573ae052ea3b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '1ef9bb60244c915f000f53251e9c858e0c303c21';
+const SENTRY_API_SCHEMA_SHA = '821639ebcc9405f6015476d01e9fbd1aa71fba49';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From f8af3f01369fe6c880344c05ddb42dbd7852ee36 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 21:34:34 +0000
Subject: [PATCH 028/141] Bump API schema to 5906b2a7 (#20708)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 1573ae052ea3b..415c9834ddeb6 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '821639ebcc9405f6015476d01e9fbd1aa71fba49';
+const SENTRY_API_SCHEMA_SHA = '5906b2a78aa9d4de342a7fd8ba723a65c7883e70';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 1731df14e0aa69d139ff4ea6140547cf3dc901bd Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 22:22:26 +0000
Subject: [PATCH 029/141] Bump API schema to 71714be6 (#20710)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 415c9834ddeb6..f3237064ec5db 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '5906b2a78aa9d4de342a7fd8ba723a65c7883e70';
+const SENTRY_API_SCHEMA_SHA = '71714be6d6a5a24de63ebfba1183473a0afd0695';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 286c970cf6c34fdc713880a8eaf73b6e2791c715 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Tue, 10 Nov 2026 22:30:09 +0000
Subject: [PATCH 030/141] Bump API schema to f76ffa03 (#20712)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index f3237064ec5db..33b71ded1bdb0 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '71714be6d6a5a24de63ebfba1183473a0afd0695';
+const SENTRY_API_SCHEMA_SHA = 'f76ffa037e193529a7552d095cf3a00e896f98f0';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 762377153ef3066560f5e1a79deb199a77f10503 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 00:59:09 +0000
Subject: [PATCH 031/141] Bump API schema to b6988bd7 (#20713)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 33b71ded1bdb0..86e1d512f030a 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'f76ffa037e193529a7552d095cf3a00e896f98f0';
+const SENTRY_API_SCHEMA_SHA = 'b6988bd7e592a8ffe3e512530f7766d47383a250';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From e36c6f0117ebb1bae128ff53f9091a4714c34a9b Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 01:07:58 +0000
Subject: [PATCH 032/141] Bump API schema to 59ba269d (#20714)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 86e1d512f030a..c48187353e214 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'b6988bd7e592a8ffe3e512530f7766d47383a250';
+const SENTRY_API_SCHEMA_SHA = '59ba269df044430f0c849447571faef3fd18830e';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From bf758ea45e5fdf698af0307f4eb18b99f0a6d8b8 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 03:00:27 +0000
Subject: [PATCH 033/141] Bump API schema to 4431bbf1 (#20716)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index c48187353e214..7c5320359916a 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '59ba269df044430f0c849447571faef3fd18830e';
+const SENTRY_API_SCHEMA_SHA = '4431bbf11e84f2f75a0f6b26f7a67c99672220e4';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b2e1a29532a71afd66ba5cc69102686cc019ee63 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 03:08:52 +0000
Subject: [PATCH 034/141] Bump API schema to f13098b1 (#20717)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 7c5320359916a..fbb467d606ca6 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '4431bbf11e84f2f75a0f6b26f7a67c99672220e4';
+const SENTRY_API_SCHEMA_SHA = 'f13098b1512093f92f3a1c432967f3a9b2fdc501';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 176be5866ec45986508c9c5513f93e6bdecbd3ae Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 08:06:20 +0000
Subject: [PATCH 035/141] docs(react-native): Explain EAS env var setup for
Expo source maps (#20698)
## DESCRIBE YOUR PR
Users have asked for clearer docs on setting up `SENTRY_AUTH_TOKEN` for
EAS builds. The shared Expo plugin snippet only said to add it "as an
EAS secret" and linked to Expo's general env var overview.
- **Expo plugin snippet** (shown on the Expo setup page and the Expo
source maps page): adds the `eas env:set` command for
`SENTRY_AUTH_TOKEN`. It also explains that each build uses the
environment set by its `eas.json` build profile, so the token must be
set for every environment the profiles use. Otherwise source maps don't
upload for those builds. Last, it explains which visibility to pick:
`sensitive` if you also upload source maps locally after `eas update`,
because `secret` values never leave Expo servers. `secret` is enough for
EAS Build alone.
- **Expo setup page, Build Notes:** the link now goes to Expo's page on
managing env vars, not the overview.
- **EAS Build Hooks page:** replaces `eas env:create` with `eas
env:set`. `env:create` was deprecated and hidden from help in eas-cli
v21.0.0
([changelog](https://github.com/expo/eas-cli/blob/main/CHANGELOG.md)).
It still runs, but Expo no longer documents it.
Why `sensitive` is the default: Expo's [Using Sentry
guide](https://docs.expo.dev/guides/using-sentry/) says to set
`SENTRY_AUTH_TOKEN` "with sensitive visibility" for Expo Build. Expo's
[visibility
docs](https://docs.expo.dev/eas/environment-variables/#visibility-settings-for-environment-variables)
say `secret` values aren't readable outside Expo servers, including in
EAS CLI. That breaks `eas env:pull` for the local `eas update` source
map upload.
Prettier already fails on `master` for `eas-build-hooks.mdx`. I left
that file's formatting alone to keep the diff small.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via **paul.jaffre**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0BH83RNUTU%3A1794331778.426779)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0BH83RNUTU%3A1794331778.426779/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Paul Jaffre
Co-authored-by: Antonis Lilis
Co-authored-by: Claude Opus 5.5
---
docs/platforms/react-native/guides/expo/index.mdx | 2 +-
.../expo/manual-setup/expo/eas-build-hooks.mdx | 2 +-
includes/react-native-expo-plugin-code-snippet.mdx | 12 +++++++++++-
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/docs/platforms/react-native/guides/expo/index.mdx b/docs/platforms/react-native/guides/expo/index.mdx
index 559425fa0c623..b53534bfc0901 100644
--- a/docs/platforms/react-native/guides/expo/index.mdx
+++ b/docs/platforms/react-native/guides/expo/index.mdx
@@ -194,7 +194,7 @@ To see Sentry issues and replays in the Expo dashboard, create an [EAS Update ch
### Build Notes
-- Don't commit your auth token. Store it in `.env.local` as `SENTRY_AUTH_TOKEN` for local builds, and as an [EAS secret](https://docs.expo.dev/eas/environment-variables/) for EAS builds.
+- Don't commit your auth token. Store it in `.env.local` as `SENTRY_AUTH_TOKEN` for local builds, and as an [EAS environment variable](https://docs.expo.dev/eas/environment-variables/manage/) for EAS builds.
- Source maps for the `Release` version of your application are uploaded automatically during the native application build.
- During development, the source code is resolved using the Metro Server and source maps aren't used. This currently doesn't work on web.
diff --git a/docs/platforms/react-native/guides/expo/manual-setup/expo/eas-build-hooks.mdx b/docs/platforms/react-native/guides/expo/manual-setup/expo/eas-build-hooks.mdx
index caf67a1121cb8..5ad34de23c70b 100644
--- a/docs/platforms/react-native/guides/expo/manual-setup/expo/eas-build-hooks.mdx
+++ b/docs/platforms/react-native/guides/expo/manual-setup/expo/eas-build-hooks.mdx
@@ -25,7 +25,7 @@ EAS Build automatically runs `package.json` scripts with these names at the corr
Set your DSN as an EAS secret or environment variable so it's available during builds:
```bash
-eas env:create --name SENTRY_DSN --value --visibility secret --scope project
+eas env:set --name SENTRY_DSN --value --environment production --visibility secret --scope project
```
## What Gets Captured
diff --git a/includes/react-native-expo-plugin-code-snippet.mdx b/includes/react-native-expo-plugin-code-snippet.mdx
index 9bbaf7da75fef..86e8f2428f0e9 100644
--- a/includes/react-native-expo-plugin-code-snippet.mdx
+++ b/includes/react-native-expo-plugin-code-snippet.mdx
@@ -64,6 +64,16 @@ SENTRY_AUTH_TOKEN=___ORG_AUTH_TOKEN___
-Do not commit your auth token. Add `.env.local` to your `.gitignore`. For EAS builds, add `SENTRY_AUTH_TOKEN` as an [EAS secret](https://docs.expo.dev/eas/environment-variables/) instead of using a `.env.local` file.
+Do not commit your auth token. Add `.env.local` to your `.gitignore`.
+
+For EAS Build, store the token as an [EAS environment variable](https://docs.expo.dev/eas/environment-variables/manage/) instead of a `.env.local` file. Set it for each environment you build. You can pass `--environment` more than once:
+
+```bash
+eas env:set --name SENTRY_AUTH_TOKEN --value ___ORG_AUTH_TOKEN___ --environment production --environment preview --visibility sensitive
+```
+
+Each EAS build uses the environment set by the [`environment`](https://docs.expo.dev/eas/environment-variables/usage/#using-environment-variables-with-expo-build) field of its build profile in `eas.json`. If a profile doesn't set `environment`, EAS uses `production` for store builds (`distribution: "store"`), `development` for development builds (`developmentClient: true`), and `preview` for everything else. Set the token for every environment your profiles use, or source maps won't upload for those builds.
+
+Use `sensitive` visibility if you also upload source maps from your machine, for example after `eas update`. The upload command reads the token from your local environment or `.env` files, not from EAS. Pull it with `eas env:pull --environment production`, or run the upload through `eas env:exec production 'npx @sentry/expo-upload-sourcemaps dist'`. Values with `secret` visibility never leave Expo servers, so they work for EAS Build but can't be pulled for local uploads.
From 2374e0a63c224d089d64f5371dae8c07749c7c51 Mon Sep 17 00:00:00 2001
From: Alexander Dinauer
Date: Wed, 11 Nov 2026 10:46:58 +0100
Subject: [PATCH 036/141] Update migration notes for `sendDefaultPii` in SDK
(#19340)
Added migration details for `sendDefaultPii` behavior in data collection
options, clarifying backfill conditions and implications for SDKs.
## DESCRIBE YOUR PR
_Tell us what you're changing and why. If your PR **resolves an issue**,
please link it so it closes automatically._
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [ ] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## LEGAL BOILERPLATE
Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
## EXTRA RESOURCES
- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
---------
Co-authored-by: Sigrid <32902192+s1gr1d@users.noreply.github.com>
Co-authored-by: Alex Krawiec
---
.../client/data-collection/index.mdx | 25 ++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/develop-docs/sdk/foundations/client/data-collection/index.mdx b/develop-docs/sdk/foundations/client/data-collection/index.mdx
index 4c16fa0c5e696..64b771931d822 100644
--- a/develop-docs/sdk/foundations/client/data-collection/index.mdx
+++ b/develop-docs/sdk/foundations/client/data-collection/index.mdx
@@ -2,12 +2,15 @@
title: Data Collection
description: Configuration for what data SDKs collect by default, including technical context, PII, and sensitive data.
spec_id: sdk/foundations/client/data-collection
-spec_version: 0.15.0
+spec_version: 0.16.0
spec_status: candidate
spec_depends_on:
- id: sdk/foundations/client
version: ">=1.0.0"
spec_changelog:
+ - version: 0.16.0
+ date: 2026-09-10
+ summary: Explain migration from `sendDefaultPii` for SDKs that can't cleanly map previous behavior to data collection.
- version: 0.15.0
date: 2026-09-29
summary: "Attach cookie headers as one string-array span attribute (`name=value` elements) instead of one attribute per cookie name. Filter nameless cookie segments and unparseable cookie strings."
@@ -745,8 +748,9 @@ init({
### Migration from `sendDefaultPii`
-- **`sendDefaultPii: true`** (legacy) → omit `dataCollection` entirely; the new defaults already populate `user.*` and collect HTTP bodies. Add overrides only to restrict collection.
-- **`sendDefaultPii: false`** (legacy) → opt out of the categories the new defaults collect.
+#### Migration guidance for users
+- Previous **`sendDefaultPii: true`** → users can omit `dataCollection` entirely; the new defaults already populate `user.*` and collect HTTP bodies. Add overrides only to restrict collection.
+- Previous **`sendDefaultPii: false`** → users should opt out of the categories the new defaults collect.
The new defaults collect **more data** than either legacy setting did. User identity, generative AI content, HTTP request/response bodies, and file paths are now on by default, and more HTTP headers and cookies are collected. This config restricts collection to roughly match the previous behavior of `sendDefaultPii: false`:
@@ -778,6 +782,21 @@ init({
});
```
+#### Migration in SDKs
+
+If the SDK can cleanly map what `sendDefaultPii` did to data collection options, it **MAY** backfill data collection options from the configured `sendDefaultPii` value.
+
+If the SDK cannot cleanly map the `sendDefaultPii` behavior to data collection options, it **MUST NOT** derive data collection options from the configured `sendDefaultPii` value. Instead, the following rules apply:
+- If the user sets at least one data collection option, the SDK **MUST** ignore `sendDefaultPii`. The SDK **MUST** apply the options the user set, and the spec defaults for all `dataCollection` options. This also means that the SDK might send more data when `sendDefaultPii` was set to `false` before, so users should be made aware of that.
+
+- If the user sets no data collection options, the SDK **MUST** keep the legacy `sendDefaultPii` behavior unchanged.
+This prevents breaking changes in PII filtering and allows customers to migrate to data collection at their own pace. Customers may keep using `sendDefaultPii` without changes to SDK behavior as long as they don't opt into data collection.
+
+Examples of the SDK not cleanly mapping:
+- mixed behavior between integrations (e.g. one integration sent cookies even with `sendDefaultPii` = `false` while another did not)
+- hard coded filter terms that don't match the ones defined in data collection spec (e.g. sensitive http header names)
+- sensitive values were omitted and are now attached as `[Filtered]`
+
---
## Changelog
From 27f9cd96d663f66b47b15d043c572f07d41b615b Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 10:58:05 +0000
Subject: [PATCH 037/141] docs(apple): Warn that debug logging can slow down
apps (#20725)
## DESCRIBE YOUR PR
Clarifies the `debug` option on the Apple SDK [options
page](https://docs.sentry.io/platforms/apple/configuration/options/#debug):
debug logging isn't only "not recommended" in production, it can
noticeably slow down an app.
- Removes "this will not cause any safety concerns". Heavy logging can
cause app hangs, so that sentence understates the risk.
- Explains why: by default, the SDK prints each diagnostic message to
the console synchronously with `print`, on the calling thread
([`SentrySDKLog.swift`](https://github.com/getsentry/sentry-cocoa/blob/main/Sources/Swift/Core/Tools/SentrySDKLog.swift)).
- Points to `diagnosticLevel` for logging fewer messages while
debugging.
Context: getsentry/sentry-cocoa#9591 benchmarks SDK diagnostic logging.
5,000 log calls took about 275 ms with console output, versus under 1 ms
with debug disabled. It came up while investigating the UIViewController
tracing hang in getsentry/sentry-cocoa#9536.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via @philprime.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC040TTUKQT1%3A1793666950.833129)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC040TTUKQT1%3A1793666950.833129/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Phil Niedertscheider <30923007+philprime@users.noreply.github.com>
---
docs/platforms/apple/common/configuration/options.mdx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/platforms/apple/common/configuration/options.mdx b/docs/platforms/apple/common/configuration/options.mdx
index e6f2993048545..a844ec942d5ff 100644
--- a/docs/platforms/apple/common/configuration/options.mdx
+++ b/docs/platforms/apple/common/configuration/options.mdx
@@ -30,7 +30,9 @@ Note that setting this to `false` doesn't prevent all overhead from Sentry instr
-Turns debug mode on or off. If debug is enabled, SDK will attempt to print out useful debugging information if something goes wrong with sending the event. It's generally not recommended to turn it on in production, though this will not cause any safety concerns.
+Turns debug mode on or off. If debug is enabled, SDK will attempt to print out useful debugging information if something goes wrong with sending the event.
+
+We don't recommend enabling debug mode in production. The SDK writes debug logs to the console synchronously, on the thread that logs them. When the SDK logs a lot, for example while tracing many view controllers, this can noticeably slow down your app and even cause app hangs. To log fewer messages while debugging, set to a less verbose level, such as `warning`.
From f15e2411f8e0d2265ce655025c14845f5ee04303 Mon Sep 17 00:00:00 2001
From: Alexander
Date: Wed, 11 Nov 2026 14:38:08 +0100
Subject: [PATCH 038/141] docs(react-native): Document SPM setup (#20727)
## DESCRIBE YOUR PR
React Native 0.87 added an opt-in preview that links iOS dependencies
with Swift Package Manager (SwiftPM). The React Native SDK supports it
from 8.29.0, but the docs did not mention it.
This PR adds a Swift Package Manager page under Manual Setup. The page
lists the requirements and shows how to switch a project to SwiftPM and
how to add Sentry to a project that already uses SwiftPM. It also covers
the Expo config plugin version and common errors. The iOS section of the
manual configuration now links to the page.
Related to getsentry/sentry-react-native#6174.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---
.../common/manual-setup/manual-setup.mdx | 2 +
.../manual-setup/swift-package-manager.mdx | 60 +++++++++++++++++++
2 files changed, 62 insertions(+)
create mode 100644 docs/platforms/react-native/common/manual-setup/swift-package-manager.mdx
diff --git a/docs/platforms/react-native/common/manual-setup/manual-setup.mdx b/docs/platforms/react-native/common/manual-setup/manual-setup.mdx
index b3ea6b06f2774..07af131d64604 100644
--- a/docs/platforms/react-native/common/manual-setup/manual-setup.mdx
+++ b/docs/platforms/react-native/common/manual-setup/manual-setup.mdx
@@ -26,6 +26,8 @@ pnpm add @sentry/react-native
For iOS, the Sentry SDK wraps the React Native bundle process to upload source maps automatically. The SDK also adds a new Xcode Build Phase to upload debug symbols to ensure you get readable stack traces for your native crashes.
+These steps are the same for CocoaPods and [Swift Package Manager](/platforms/react-native/manual-setup/swift-package-manager/) projects.
+
### Add Privacy Manifest
The SDK needs access to certain information about the device and the application for its essential functionality. Some of the APIs required for this are considered privacy-relevant. Add the privacy manifest to your Xcode project to ensure your app is compliant with Apple's guidelines. Read the [Apple Privacy Manifest](/platforms/react-native/data-management/apple-privacy-manifest/) guide for more info on how to add records required for the Sentry SDKs.
diff --git a/docs/platforms/react-native/common/manual-setup/swift-package-manager.mdx b/docs/platforms/react-native/common/manual-setup/swift-package-manager.mdx
new file mode 100644
index 0000000000000..b8fbcae73180c
--- /dev/null
+++ b/docs/platforms/react-native/common/manual-setup/swift-package-manager.mdx
@@ -0,0 +1,60 @@
+---
+title: Swift Package Manager
+description: "Learn how to use the Sentry React Native SDK in an iOS project that links native dependencies with Swift Package Manager instead of CocoaPods."
+sidebar_order: 5
+---
+
+React Native 0.87 added an opt-in preview that links iOS native dependencies with Swift Package Manager (SwiftPM) instead of CocoaPods. The Sentry React Native SDK ships a `Package.swift`, so React Native links it like any other SwiftPM dependency.
+
+CocoaPods is still the default. If your project uses CocoaPods, you don't need to change anything.
+
+## Requirements
+
+- React Native 0.87 or newer
+- `@sentry/react-native` 8.29.0 or newer
+- An iOS app. macOS, tvOS, and visionOS apps keep building with CocoaPods.
+
+## Switch an Existing Project to SwiftPM
+
+We recommend that you set up Sentry first and switch to SwiftPM after that. The Sentry build phases that upload source maps and debug symbols stay in your Xcode project when React Native removes CocoaPods.
+
+1. Set up the SDK with the [wizard](/platforms/react-native/) or the [manual configuration](/platforms/react-native/manual-setup/manual-setup/).
+
+2. Switch the iOS project to SwiftPM:
+
+ ```bash
+ cd ios
+ npx react-native spm add --deintegrate
+ ```
+
+ The `--deintegrate` flag runs `pod deintegrate` and removes the React Native lines from your `Podfile`. If your project never used CocoaPods, leave out the flag.
+
+3. Build the app with `npx react-native run-ios`, or open the `.xcodeproj` file in Xcode. SwiftPM projects don't have an `.xcworkspace` file.
+
+## Add Sentry to a SwiftPM Project
+
+If your project already uses SwiftPM, run the [wizard](/platforms/react-native/) as usual. If the wizard asks whether to run `pod install`, select **No, I'll do it later**. SwiftPM projects don't use CocoaPods.
+
+You can also follow the iOS steps in the [manual configuration](/platforms/react-native/manual-setup/manual-setup/#ios). The build phases are the same for CocoaPods and SwiftPM projects.
+
+## Expo
+
+If you use the Sentry Expo config plugin in a SwiftPM project, use `@sentry/react-native` 8.32.0 or newer. In older versions, the _Upload Debug Symbols to Sentry_ build phase can't find `ios/.xcode.env` in SwiftPM projects, so it can fail to find Node.
+
+## Troubleshooting
+
+### `Package.swift is missing for library "@sentry/react-native"`
+
+Your SDK version doesn't support SwiftPM. Upgrade `@sentry/react-native` to 8.29.0 or newer.
+
+### `Package.swift is missing` for Another Library
+
+Every autolinked library needs a `Package.swift`, and many community libraries don't ship one yet. This is a React Native requirement, not a Sentry one. React Native prints the steps to fix it. For example, `npx react-native spm scaffold` can generate a `Package.swift` for a library that has a podspec.
+
+### `Sentry.xcframework` Fails to Download
+
+When Xcode resolves the packages, SwiftPM downloads `Sentry.xcframework` from the [sentry-cocoa GitHub releases](https://github.com/getsentry/sentry-cocoa/releases). If your network blocks GitHub, allow access to it on the machine that builds the app.
+
+### Go Back to CocoaPods
+
+Run `npx react-native spm deinit` in the `ios` directory to remove what `spm add` added to your Xcode project. Then restore your `Podfile` from version control and run `pod install`.
From 1a20327db1bdfee8f033aa6e6fb1611c90a24514 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 14:16:02 +0000
Subject: [PATCH 039/141] Bump API schema to 4c9379a2 (#20729)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index fbb467d606ca6..1572cd56b42d8 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'f13098b1512093f92f3a1c432967f3a9b2fdc501';
+const SENTRY_API_SCHEMA_SHA = '4c9379a29259510debf73d4df341b85455039bbf';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 0c2d0f8b4bb44a41786c8dfab2107f7a611572e9 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 14:24:35 +0000
Subject: [PATCH 040/141] Bump API schema to 699efd0b (#20730)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 1572cd56b42d8..56df5c53cb207 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '4c9379a29259510debf73d4df341b85455039bbf';
+const SENTRY_API_SCHEMA_SHA = '699efd0b4f5289c4a47fcaa90727938599ac5db4';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From dcc0a19eb9fc5b57775a2ae84a67de91286dde9a Mon Sep 17 00:00:00 2001
From: Andrei <168741329+andreiborza@users.noreply.github.com>
Date: Wed, 11 Nov 2026 16:12:48 +0100
Subject: [PATCH 041/141] docs(develop): Document decision and extraction spans
(#20107)
## What
Adds the Decision Span (`gen_ai.decide`) and Extraction Span
(`gen_ai.extract`) to the AI Agents module page, and fixes the extract
op in the span relationship examples. `` can now
show a specific example from the conventions, so these spans show decide
and extract examples instead of chat ones.
## Why
SDKs need to know what to send for these spans. The message field
details will come from getsentry/sentry-conventions#728 once they land
there.
---------
Co-authored-by: Claude Opus 5.5
---
.../telemetry/traces/modules/ai-agents.mdx | 52 ++++++++++++++++++-
.../conventionAttributes/index.spec.tsx | 18 +++++++
src/components/conventionAttributes/index.tsx | 29 +++++++----
3 files changed, 88 insertions(+), 11 deletions(-)
diff --git a/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx b/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx
index 41dfbdd89b7ac..4b200f07353b2 100644
--- a/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx
+++ b/develop-docs/sdk/telemetry/traces/modules/ai-agents.mdx
@@ -38,7 +38,7 @@ Valid examples:
gen_ai.invoke_agent
├── gen_ai.chat
├── gen_ai.memory
-├── gen_ai.extraction
+├── gen_ai.extract
├── gen_ai.chat
├── gen_ai.execute_tool
├── gen_ai.chat
@@ -49,7 +49,7 @@ gen_ai.invoke_agent
```
gen_ai.chat
-gen_ai.extraction
+gen_ai.extract
gen_ai.invoke_agent
├── gen_ai.chat
├── gen_ai.execute_tool
@@ -179,6 +179,54 @@ Additional attributes on the span:
]}
/>
+## Decision Span
+
+Describes a decision on generated content against a set of questions, such as grading a model's reply for accuracy or classifying a support message, for example from TypeSafe Jev. Sentry shows decisions as their own rows in the conversation transcript and timeline, with dedicated **Input** and **Output** views.
+
+- Span `op` is `"gen_ai.decide"`.
+- Span `name` is `"decide {gen_ai.request.model}"`. (e.g. `"decide typesafe/jev-1.13"`)
+- Attribute `gen_ai.operation.name` is `"decide"`. Decisions share the `ai_client` operation type with model calls, so this attribute is what tells them apart.
+- Attribute `gen_ai.request.model` is the requested model. (e.g. `"typesafe/jev-1.13"`) Without a model, Relay doesn't classify the span as `ai_client`.
+- Attribute `gen_ai.response.model` is the concrete response model, if the provider reports one. (e.g. `"typesafe/jev-1.13-20260917"`)
+- If the decision runs under an agent, the `gen_ai.agent.name` attribute is the name of the agent. (e.g. `"Support Agent"`)
+
+Additional attributes on the span:
+
+
+
+`gen_ai.input.messages` holds a one-element array with the content being evaluated (`state`) and the questions asked about it (`questions`). `gen_ai.output.messages` holds a one-element array with the answers (`answers`), keyed by the same question names.
+
+## Extraction Span
+
+Describes an extraction of typed fields from an input, such as the total and due date of an invoice, for example from Cloudflare Clairic. The model can extract values that are in the input, compute values from them, and estimate or forecast values that the input doesn't determine.
+
+- Span `op` is `"gen_ai.extract"`.
+- Span `name` is `"extract {gen_ai.request.model}"`. (e.g. `"extract @cf/cloudflare/clairic"`)
+- Attribute `gen_ai.operation.name` is `"extract"`.
+- Attribute `gen_ai.request.model` is the requested model. (e.g. `"@cf/cloudflare/clairic"`)
+- Attribute `gen_ai.response.model` is the concrete response model, if the provider reports one. (e.g. `"clairic"`)
+- If the extraction runs under an agent, the `gen_ai.agent.name` attribute is the name of the agent. (e.g. `"Billing Agent"`)
+
+Additional attributes on the span:
+
+
+
+`gen_ai.input.messages` holds a one-element array with the request body as the caller passed it, without `model`. `gen_ai.output.messages` holds a one-element array with the response body as the provider returned it, without `model` and `usage`. Don't send the other usage counts that the provider reports (such as Clairic's `state_tokens`, `image_tokens`, `schema_tokens`, and `passes`). `gen_ai.usage.input_tokens` already includes them.
+
## Derived by Relay
Relay sets these attributes during ingestion:
diff --git a/src/components/conventionAttributes/index.spec.tsx b/src/components/conventionAttributes/index.spec.tsx
index 1904e6d1cd95b..8738f8c95b440 100644
--- a/src/components/conventionAttributes/index.spec.tsx
+++ b/src/components/conventionAttributes/index.spec.tsx
@@ -58,4 +58,22 @@ describe('ConventionAttributes', () => {
`"${ATTRIBUTE_METADATA['gen_ai.tool.name'].example}"`
);
});
+
+ it('renders the example at the given index', () => {
+ const html = renderToStaticMarkup(
+
+ );
+ const examples = ATTRIBUTE_METADATA['gen_ai.input.messages'].examples!;
+
+ expect(html).toContain(`'${examples[1]}'`.replaceAll('"', '"'));
+ expect(html).not.toContain(`'${examples[0]}'`.replaceAll('"', '"'));
+ });
+
+ it('throws on an example index that does not exist', () => {
+ expect(() =>
+ renderToStaticMarkup(
+
+ )
+ ).toThrow('attribute "gen_ai.tool.name" has no example at index 99');
+ });
});
diff --git a/src/components/conventionAttributes/index.tsx b/src/components/conventionAttributes/index.tsx
index 77b4fa4a1d7f4..507132c28bcf5 100644
--- a/src/components/conventionAttributes/index.tsx
+++ b/src/components/conventionAttributes/index.tsx
@@ -6,7 +6,7 @@ import {
import {micromark} from 'micromark';
type Props = {
- attributes: (string | {key: string; notes?: string})[];
+ attributes: (string | {key: string; example?: number; notes?: string})[];
};
const metadata: Record = ATTRIBUTE_METADATA;
@@ -17,7 +17,11 @@ const metadata: Record = ATTRIBUTE_METADATA;
*/
export function ConventionAttributes({attributes}: Props) {
const rows = attributes.map(row => {
- const {key, notes} = typeof row === 'string' ? {key: row} : row;
+ const {
+ key,
+ notes,
+ example: exampleIndex,
+ } = typeof row === 'string' ? {key: row} : row;
// `Object.hasOwn` so keys like `constructor` don't pass as known attributes.
const attribute = Object.hasOwn(metadata, key) ? metadata[key] : undefined;
if (!attribute) {
@@ -26,7 +30,18 @@ export function ConventionAttributes({attributes}: Props) {
const description = micromark([attribute.brief, notes].filter(Boolean).join(' '))
.replace(/^
/, '')
.replace(/<\/p>$/, '');
- return {key, attribute, description};
+ // Pick one of `examples` by index when the page asks for it, so a page can
+ // show the example that fits its context.
+ let example = attribute.example;
+ if (exampleIndex !== undefined) {
+ if (!attribute.examples || !Object.hasOwn(attribute.examples, exampleIndex)) {
+ throw new Error(
+ `: attribute "${key}" has no example at index ${exampleIndex}`
+ );
+ }
+ example = attribute.examples[exampleIndex];
+ }
+ return {key, attribute, description, example};
});
return (
@@ -40,7 +55,7 @@ export function ConventionAttributes({attributes}: Props) {
- {rows.map(({key, attribute, description}) => (
+ {rows.map(({key, attribute, description, example}) => (
))}
From 3e07aad45c6ca09179d46e5984859b6f8f783136 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 15:32:35 +0000
Subject: [PATCH 042/141] docs(develop): Document Objectstore hostAliases for
Envoy sidecar (#20731)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The Objectstore page tells services outside Sentry to call
`http://objectstore` and route that hostname through their Envoy
sidecar. It doesn't say that the pod also needs a `hostAliases` entry
that maps `objectstore` to the sidecar's intercept IP. Without that
entry, the sidecar doesn't intercept the requests.
This adds that step to **Production Setup for Sentry Employees → Another
Service**, with a short `hostAliases` snippet.
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jan Michael Auer <1433023+jan-auer@users.noreply.github.com>
---
develop-docs/services/objectstore.mdx | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/develop-docs/services/objectstore.mdx b/develop-docs/services/objectstore.mdx
index 385009640fe89..692761bf93234 100644
--- a/develop-docs/services/objectstore.mdx
+++ b/develop-docs/services/objectstore.mdx
@@ -199,8 +199,22 @@ this configuration automatically.
The central Objectstore route already exists. Don't create another route for a
new calling service. Instead, configure the client endpoint as
`http://objectstore` and route the `objectstore` hostname through the service's
-Envoy sidecar. You can find a complete example in
-`k8s/services/launchpad/_values.yaml`.
+Envoy sidecar.
+
+For the sidecar to intercept these requests, map `objectstore` to its intercept
+IP in every deployment that calls Objectstore:
+
+```yaml {filename:k8s/services//deployment.yaml}
+spec:
+ template:
+ spec:
+ hostAliases:
+ - ip: "{{ intercept_ip }}"
+ hostnames:
+ - objectstore
+```
+
+You can find a complete example in `k8s/services/launchpad/_values.yaml`.
If your service uses direct authentication, additionally provision credentials:
From 89d78d2c115059e7af22439dc74b244f5460d7a7 Mon Sep 17 00:00:00 2001
From: J-P Nurmi
Date: Wed, 11 Nov 2026 17:56:24 +0100
Subject: [PATCH 043/141] docs(android): Add experimental out-of-process crash
handling (#20431)
## DESCRIBE YOUR PR
Document the opt-in out-of-process backend of the NDK integration, which
captures native crashes in a separate crash service process and sends
them right away. Cover enabling it with and without the Sentry Android
Gradle Plugin, the API 30+ requirement, and what the separate process
means for the app.
See:
- getsentry/sentry-native#1725
- getsentry/sentry-java#6347
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [x] Checked Vercel preview for correctness, including links
- [x] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## LEGAL BOILERPLATE
Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
## EXTRA RESOURCES
- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
---
.../android/configuration/using-ndk.mdx | 93 +++++++++++++++++++
1 file changed, 93 insertions(+)
diff --git a/docs/platforms/android/configuration/using-ndk.mdx b/docs/platforms/android/configuration/using-ndk.mdx
index a3b851fc57013..100fb8d7fd658 100644
--- a/docs/platforms/android/configuration/using-ndk.mdx
+++ b/docs/platforms/android/configuration/using-ndk.mdx
@@ -136,6 +136,99 @@ You can also configure these options in `AndroidManifest.xml`, which is useful w
For details about the native watchdog and heartbeat behavior, see the [Native SDK app hang documentation](/platforms/native/app-hangs/).
+## Out-of-Process Crash Handling
+
+By default, the NDK integration handles a native crash inside the crashing process, and the SDK sends it the next time the app starts. With out-of-process crash handling, a crash service in a separate process captures the crash and sends it right away. This way, you see native crashes even from users who don't open the app again.
+
+
+
+Out-of-process crash handling is experimental. It requires Android 11 (API level 30) or later. On older Android versions, the SDK doesn't report native crashes in this mode.
+
+
+
+To enable it, add `sentry-android-ndk-outproc` and exclude `sentry-native-ndk`, which the `sentry-android` bundle includes:
+
+```groovy {filename:app/build.gradle}
+dependencies {
+ implementation "io.sentry:sentry-android-ndk-outproc:{{@inject packages.version('sentry.java.android', '8.64.0') }}"
+}
+
+configurations.configureEach {
+ exclude group: "io.sentry", module: "sentry-native-ndk"
+}
+```
+
+```kotlin {filename:app/build.gradle.kts}
+dependencies {
+ implementation("io.sentry:sentry-android-ndk-outproc:{{@inject packages.version('sentry.java.android', '8.64.0') }}")
+}
+
+configurations.configureEach {
+ exclude(group = "io.sentry", module = "sentry-native-ndk")
+}
+```
+
+You don't need to exclude `sentry-native-ndk` if you use `sentry-android-core` instead of the `sentry-android` bundle. If the build contains both native packages, Gradle fails with a conflict on the capability `io.sentry:sentry-ndk-backend`.
+
+If you [link against the NDK libraries](#allowing-the-compiler-to-link-libraries), keep your `CMakeLists.txt`, but depend on `io.sentry:sentry-native-ndk-outproc` instead of `io.sentry:sentry-native-ndk`.
+
+Keep in mind:
+
+- The crash service runs in a separate process, `.sentry_ndk_crash`, while your app runs, and uses additional memory.
+- Android creates a second instance of your `Application` in that process. See [Second Application Instance](#second-application-instance).
+- With the [Tombstone Integration](/platforms/android/configuration/tombstones/) enabled on Android 12 (API level 31) or later, the crash service merges the tombstone into the native crash event before it sends it.
+- If the crash service can't finish sending the crash, the SDK sends it on a later app start. This can happen without a network connection, or on Android 14 (API level 34) and later, where Android freezes the service 10 seconds after the app exits.
+
+### Second Application Instance
+
+Android creates a second instance of your `Application` class in the crash service process. The SDK skips its own initialization there, so only one SDK runs and sessions aren't tracked twice.
+
+
+
+Code in `Application.onCreate` also runs in the crash service process, which can initialize libraries twice, repeat background work, or cause conflicts over shared files.
+
+
+
+To run startup code only in the main process, return early from `Application.onCreate` in other processes:
+
+```kotlin {filename:MyApplication.kt}
+class MyApplication : Application() {
+ override fun onCreate() {
+ super.onCreate()
+ if (!isMainProcess()) return
+
+ // your startup work
+ }
+
+ private fun isMainProcess() =
+ Build.VERSION.SDK_INT < Build.VERSION_CODES.P ||
+ Application.getProcessName() == applicationInfo.processName
+ // or, to skip only the crash service process:
+ // !Application.getProcessName().endsWith(".sentry_ndk_crash")
+}
+```
+
+```java {filename:MyApplication.java}
+public class MyApplication extends Application {
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ if (!isMainProcess()) {
+ return;
+ }
+
+ // your startup work
+ }
+
+ private boolean isMainProcess() {
+ return Build.VERSION.SDK_INT < Build.VERSION_CODES.P
+ || Application.getProcessName().equals(getApplicationInfo().processName);
+ // or, to skip only the crash service process:
+ // || !Application.getProcessName().endsWith(".sentry_ndk_crash");
+ }
+}
+```
+
## Disable NDK Integration
You can disable the NDK integration by adding the following to your `AndroidManifest.xml`:
From 29b1964852b55ea93160687844c8db306d9fffc7 Mon Sep 17 00:00:00 2001
From: Dan Fuller
Date: Wed, 11 Nov 2026 12:41:58 -0500
Subject: [PATCH 044/141] docs(crons): Document monitor config from @Scheduled
for Spring @SentryCheckIn (#19780)
## DESCRIBE YOUR PR
Documents the opt-in `@SentryCheckIn(upsertMonitorConfig = true)`
attribute for Spring Boot: it sends a monitor config derived from the
method's `@Scheduled`, so Sentry creates the monitor from code. Adds a
section on which `@Scheduled` settings convert, and narrows "create the
monitor in Sentry first" to methods that don't opt in, older SDKs, and
schedules that can't be converted.
SDK PR: https://github.com/getsentry/sentry-java/pull/6215
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Claude Opus 5.5
---
platform-includes/crons/requirements/java.mdx | 2 +-
.../crons/setup/java.spring-boot.mdx | 24 +++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/platform-includes/crons/requirements/java.mdx b/platform-includes/crons/requirements/java.mdx
index 13baa55a15e56..510d0678eb16c 100644
--- a/platform-includes/crons/requirements/java.mdx
+++ b/platform-includes/crons/requirements/java.mdx
@@ -6,5 +6,5 @@
- Send a monitor configuration from your code as shown below, and Sentry creates the monitor on the first check-in. You can also [create the monitor in Sentry](https://sentry.io/issues/alerts/new/crons/) instead.
-- [Create the monitor in Sentry](https://sentry.io/issues/alerts/new/crons/) first. `@SentryCheckIn` does not send a monitor configuration, so Sentry drops check-ins for a slug that has no monitor.
+- From Sentry Java SDK version `8.64.0`, `@SentryCheckIn(upsertMonitorConfig = true)` sends a monitor configuration based on the method's `@Scheduled` annotation, and Sentry creates the monitor on the first check-in. Without it, on older SDK versions, or for schedules that can't be converted, [create the monitor in Sentry](https://sentry.io/issues/alerts/new/crons/) first, because Sentry drops check-ins for a slug that has no monitor.
diff --git a/platform-includes/crons/setup/java.spring-boot.mdx b/platform-includes/crons/setup/java.spring-boot.mdx
index a711aa8b2bcdb..b48a78d756b9d 100644
--- a/platform-includes/crons/setup/java.spring-boot.mdx
+++ b/platform-includes/crons/setup/java.spring-boot.mdx
@@ -52,6 +52,30 @@ public class CustomJob {
}
```
+### Monitor Configuration From `@Scheduled`
+
+From Sentry Java SDK version `8.64.0`, set `upsertMonitorConfig = true` and `@SentryCheckIn` reads the method's `@Scheduled` annotation and sends a monitor configuration with the in-progress check-in, so Sentry creates the monitor, or updates its schedule, from your code:
+
+```java
+@Scheduled(cron = "0 0 * * * *")
+@SentryCheckIn(value = "", upsertMonitorConfig = true) // 👈
+void execute() {
+ // your task code
+}
+```
+
+The schedule is converted like this:
+
+- `cron`: a Spring cron expression with a fixed seconds field (for example `0 0 * * * *`) is sent as a crontab schedule without the seconds. If the seconds field isn't `0`, a check-in margin of 2 minutes is sent too, since the job checks in up to 59 seconds after the minute Sentry expects. This replaces a margin set in Sentry; set a larger `options.cron` default check-in margin to keep it. Spring macros such as `@hourly` and `@daily` are supported.
+- `fixedRate` (including `fixedRateString`, such as `"5m"` or `"PT5M"`, and `timeUnit`): sent as an interval schedule when the period is a whole number of minutes. `fixedDelay` jobs send no monitor config.
+- `zone`: sent as the monitor's timezone for cron schedules. Without `zone`, the JVM's default time zone is sent, since that's where Spring runs the job. It must be an IANA time zone ID such as `Europe/Vienna`; whole-hour offsets such as `GMT+2` are sent as `Etc/GMT-2`.
+
+Placeholders such as `${app.cleanup.cron}` are resolved. No configuration is sent for cron expressions with variable seconds (for example `*/30 * * * * *`), cron expressions that set both day-of-month and day-of-week (on Spring 5.3 and later, a day-of-month step such as `0 0 9 */2 * MON` is converted; on older Spring versions, none are), `#5` days of week on Spring 5.3 and later, cron syntax Sentry doesn't support (such as `15W`, `L-3`, or wrap-around ranges like `22-2`), other time zones, periods that aren't whole minutes, methods with more than one `@Scheduled`, or heartbeat check-ins. For those, for methods without `upsertMonitorConfig = true`, and for older SDK versions, [create the monitor in Sentry](https://sentry.io/issues/alerts/new/crons/) first.
+
+Sentry only updates the fields that were sent. Margins, max runtime, and thresholds configured in Sentry are kept unless you set defaults for them in `options.cron`, which are sent only with check-ins that carry a monitor configuration.
+
+When you turn on `upsertMonitorConfig` for a monitor that already exists, it gets the schedule and timezone from `@Scheduled` (the JVM's default time zone if `zone` isn't set), overwriting the ones set in Sentry.
+
## Heartbeat
Heartbeat monitoring notifies Sentry of a job's status through one check-in. This setup will only notify you if your job didn't start when expected (missed). If you need to track a job to see if it exceeded its maximum runtime (failed), use check-ins instead. To start sending heartbeats simply add the `@SentryCheckIn(monitorSlug = "", heartbeat = true)` annotation to the method you want to send heartbeats for.
From d98d5ea657efc068f65ab74336ea2a88cdbc1446 Mon Sep 17 00:00:00 2001
From: Dan Fuller
Date: Wed, 11 Nov 2026 12:52:35 -0500
Subject: [PATCH 045/141] docs(java): Document Quartz monitor config upsert
(#19777)
## DESCRIBE YOUR PR
Adds a "Monitor Config" section to the Quartz integration page. With
`SentryJobListener.SENTRY_UPSERT_MONITOR_CONFIG_KEY` set to `"true"`,
`SentryJobListener` sends a monitor config derived from the job's
trigger, so Sentry creates the monitor from code. The section covers how
to turn it on, which triggers convert, and what happens to a monitor
created in Sentry.
SDK PR: https://github.com/getsentry/sentry-java/pull/6216
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Claude Opus 5.5
---
.../java/common/integrations/quartz.mdx | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/docs/platforms/java/common/integrations/quartz.mdx b/docs/platforms/java/common/integrations/quartz.mdx
index 306141d22fb6b..288cf74d36409 100644
--- a/docs/platforms/java/common/integrations/quartz.mdx
+++ b/docs/platforms/java/common/integrations/quartz.mdx
@@ -79,3 +79,40 @@ Setting the monitor slug on the `Trigger` will override what is set on the `JobD
Setting a global job listener using a `SchedulerFactoryBeanCustomizer` in Spring Boot, will override the listener set by Sentry. For Sentry to work properly, you need to add a new `SentryJobListener` instance to the global job listeners.
+
+## Monitor Config
+
+From Sentry Java SDK version `8.64.0`, `SentryJobListener` can send a monitor config derived from the job's trigger with each check-in, so Sentry creates the monitor (or updates its schedule) from your code.
+
+To turn it on for a job, set `SentryJobListener.SENTRY_UPSERT_MONITOR_CONFIG_KEY` to the string `"true"` in the job data map, next to the monitor slug. Like the slug, it also works in the trigger's job data map:
+
+```java
+Map jobData = new HashMap<>();
+jobData.put(SentryJobListener.SENTRY_SLUG_KEY, "");
+jobData.put(SentryJobListener.SENTRY_UPSERT_MONITOR_CONFIG_KEY, "true");
+
+JobDetailFactoryBean jobDetailFactory = new JobDetailFactoryBean();
+jobDetailFactory.setJobDataAsMap(jobData);
+```
+
+The config is derived like this:
+
+- `CronTrigger`: the cron expression and the trigger's time zone. The seconds field must be a fixed number, and the year field, if set, must be `*`. If the seconds field isn't `0`, a check-in margin of 2 minutes is sent too, since the job checks in up to 59 seconds after the minute Sentry expects. This replaces a margin set in Sentry; set a larger `options.cron` default check-in margin to keep it.
+- `SimpleTrigger` that repeats forever: the repeat interval, if it's a whole number of minutes.
+
+No monitor config is sent for:
+
+- Other trigger types
+- Triggers with a `Calendar`
+- Jobs with more than one trigger
+- Cron expressions with syntax Sentry doesn't support, such as `15W`, `L-3`, or wrap-around ranges like `FRI-MON`
+- Cron expressions with a step after a day or month name, such as `MON/2` (which Quartz runs every Monday)
+- Time zones that aren't IANA time zone IDs, except whole-hour offsets such as `GMT+2`, which are sent as `Etc/GMT-2`
+
+For these, create the monitor in Sentry first.
+
+
+
+When you turn this on for a monitor you created in Sentry, it takes its schedule and time zone from the trigger.
+
+
From 43466edd08d476412d60fa2ec1432f3ad5a80a3d Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 18:08:58 +0000
Subject: [PATCH 046/141] Bump API schema to 51beb3e8 (#20733)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 56df5c53cb207..4bf348fbd961b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '699efd0b4f5289c4a47fcaa90727938599ac5db4';
+const SENTRY_API_SCHEMA_SHA = '51beb3e8a9f7c9eeb6d926dc14695838a30986db';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 1ce7b43e41967abc017c0daf0db32e8015eacd30 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 13:10:47 -0500
Subject: [PATCH 047/141] docs(issues): Update Issues page for the Feed and
Issue Views (#20436)
## DESCRIBE YOUR PR
The Issues page still describes tabs and a "Saved Searches" button that
no longer exist. It now describes the Feed (defaults to `is:unresolved`,
[`overviewWrapper.tsx:19`](https://github.com/getsentry/sentry/blob/299b0360b711c1b4789af9565a86dcd3655f8c46/static/app/views/issueList/overviewWrapper.tsx#L19)),
sidebar categories, and Issue Views, and keeps the old tab queries as
search filters.
Also renames the "First Seen" sort to "Age"
([`issueList/utils.tsx:48`](https://github.com/getsentry/sentry/blob/299b0360b711c1b4789af9565a86dcd3655f8c46/static/app/views/issueList/utils.tsx#L48)).
The `issue_page.png` and `issue_sort.png` screenshots weren't updated.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
via **richard**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Acd76d2b1eb315491cc19f5b82dd807b3)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Acd76d2b1eb315491cc19f5b82dd807b3/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Richard Roggenkemper
---
docs/product/issues/index.mdx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/docs/product/issues/index.mdx b/docs/product/issues/index.mdx
index 98e617b157469..16099fab95e8d 100644
--- a/docs/product/issues/index.mdx
+++ b/docs/product/issues/index.mdx
@@ -34,8 +34,7 @@ For error issues, to see the stack trace of the latest event, you can hover over

-{/* TODO(msun): Update this when issue views are GA'd */}
-You can save your issue queries and access them later by clicking the "Saved Searches" button in the header. Learn more in [Saved Searches](/concepts/search/saved-searches/). You can also add issues data to your [custom dashboards](/product/dashboards/custom-dashboards/) as widgets using the [dataset selector](/product/dashboards/widget-builder/#choose-your-dataset).
+You can save your issue queries as [Issue Views](/product/issues/issue-views/) and open them later from the **Issues** sidebar. You can also add issues data to your [custom dashboards](/product/dashboards/custom-dashboards/) as widgets using the [dataset selector](/product/dashboards/widget-builder/#choose-your-dataset).
When you click on an issue on the main **Issues** page, the **Issue Details** page for that issue is displayed. Learn more in [Issue Details](/product/issues/issue-details/).
@@ -51,13 +50,14 @@ Sentry creates issues for more than just errors. The **Issues** page sidebar gro
## Issue Triage
-From the **Issues** page, you can begin to triage. The page is organized into tabs, each corresponding to a filtered list of issues, and these different lists help you with triaging:
+From the **Issues** page, you can begin to triage. The **Feed** shows all unresolved issues (`is:unresolved`) by default. Use the sidebar categories to narrow it to one kind of problem, or search with one of these filters:
-- All Unresolved (`is:unresolved`): All unresolved issues, including issues that need review.
-- For Review (`is:unresolved is:for_review`). Also called **Review List**, for-review issues are a subset of all unresolved issues and can include new issues or regressions that haven't been reviewed yet.
-- Regressed (`is:regressed`): All regressed issues; resolved issues that have come up again.
-- Archived (`is:archived`): All archived issues.
-- Escalating (`is:escalating`): All escalating issues; previously archived issues that have exceeded their forecasted event volume.
+- `is:for_review`: Also called **Review List**, for-review issues are a subset of all unresolved issues and can include new issues or regressions that haven't been reviewed yet.
+- `is:regressed`: All regressed issues; resolved issues that have come up again.
+- `is:archived`: All archived issues.
+- `is:escalating`: All escalating issues; previously archived issues that have exceeded their forecasted event volume.
+
+To keep a list you use often, save it as an [Issue View](/product/issues/issue-views/).
Learn more about triaging issues and their different states in [Issue States and Triage](/product/issues/states-triage/).
@@ -71,7 +71,7 @@ Change how issues are sorted in the issues stream by selecting from the sort dro
- **Recommended**: The issues most relevant to you are shown first. Sentry combines a variety of signals to determine which issues are most likely to need your attention.
- **Last Seen**: The most recent events are shown first.
-- **First Seen**: The newest issues are shown first.
+- **Age**: The newest issues are shown first.
- **Trends**: New issues and escalating issues (with event volumes trending upward) are shown first. Older issues and issues with fewer recent events are sorted lower. The ranking currently relies on three primary factors:
- Relative volume: Escalating issues that have a higher recent volume (relative to their baseline) are ranked higher.
- Absolute volume: Issues with more event volume are weighted more highly. Recent events are weighted more than old events.
From 55a8557d82c86088f4af3ca99a58150cc4826c06 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 13:10:55 -0500
Subject: [PATCH 048/141] docs(issues): List all supported repo providers for
Web Vitals issues (#20507)
## DESCRIBE YOUR PR
The Web Vitals issue page says a GitHub code mapping is required.
Detection accepts any code mapping whose repo uses a Seer-supported
provider: GitHub, GitHub Enterprise, GitLab, or Cursor Origin.
-
[web_vitals_issue_detection.py#L338-L354](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/tasks/web_vitals_issue_detection.py#L338-L354)
-
[seer_setup.py#L12-L18](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/seer/seer_setup.py#L12-L18),
[seer/constants.py#L17-L35](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/seer/constants.py#L17-L35)
- Cursor Origin is behind `organizations:seer-cursor-origin-support`,
which is at 100% GA in options-automator flagpole.
Prettier also changed `*` bullets to `-`.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.):
- [ ] Other deadline:
- [x] No deadline: Not urgent, can wait up to 1 week+
via **richard**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Richard Roggenkemper
---
.../performance-issues/web-vitals/index.mdx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/product/issues/issue-details/performance-issues/web-vitals/index.mdx b/docs/product/issues/issue-details/performance-issues/web-vitals/index.mdx
index d2b22541df28c..47a55dddbaa27 100644
--- a/docs/product/issues/issue-details/performance-issues/web-vitals/index.mdx
+++ b/docs/product/issues/issue-details/performance-issues/web-vitals/index.mdx
@@ -24,7 +24,7 @@ The detector for this performance issue runs on a schedule and checks the 7 day
The following additional criteria must hold true:
- You must have [Seer](/product/ai-in-sentry/seer/) enabled on your Sentry account.
-- You must have a [GitHub code mapping](/integrations/source-code-mgmt/code-mappings/) configured for your project.
+- You must have a [code mapping](/integrations/source-code-mgmt/code-mappings/) configured for your project that points to a GitHub, GitHub Enterprise, GitLab, or [Cursor Origin](/integrations/source-code-mgmt/cursor-origin/) repository.
- There must be at least `10` sample spans for the given vital (_this value is [configurable](/product/issues/issue-details/performance-issues/#configuration)_).
- There must be no issues currently open for the same Web Vitals metrics on the page being evaluated.
@@ -33,9 +33,9 @@ The following additional criteria must hold true:
You can view the [Web Vitals](/product/dashboards/sentry-dashboards/frontend/web-vitals/) dashboard
to get an understanding of what pages will trigger the Web Vitals performance issue:
-* A _loading / render performance issue_ will be opened, if [Time to First Byte](https://web.dev/articles/ttfb#what_is_ttfb) (TTFB), [Largest Contentful Paint](https://web.dev/articles/lcp#what-is-lcp) (LCP), or [First Contentful Paint](https://web.dev/articles/fcp#what-is-fcp) (FCP) falls into or below the `Meh` threshold.
-* A _page stability issue_ will be opened, if [Cumulative Layout Shift](https://web.dev/articles/cls#what-is-cls) (CLS) falls below the `Meh` threshold.
-* An _interaction performance issue_ will be opened, if [Interaction to Next Paint](https://web.dev/articles/inp#what-is-inp) (INP) falls below the `Meh` threshold.
+- A _loading / render performance issue_ will be opened, if [Time to First Byte](https://web.dev/articles/ttfb#what_is_ttfb) (TTFB), [Largest Contentful Paint](https://web.dev/articles/lcp#what-is-lcp) (LCP), or [First Contentful Paint](https://web.dev/articles/fcp#what-is-fcp) (FCP) falls into or below the `Meh` threshold.
+- A _page stability issue_ will be opened, if [Cumulative Layout Shift](https://web.dev/articles/cls#what-is-cls) (CLS) falls below the `Meh` threshold.
+- An _interaction performance issue_ will be opened, if [Interaction to Next Paint](https://web.dev/articles/inp#what-is-inp) (INP) falls below the `Meh` threshold.

@@ -43,6 +43,6 @@ to get an understanding of what pages will trigger the Web Vitals performance is
We highly recommend using [Seer's Autofix](/product/ai-in-sentry/seer/#autofix) functionality to diagnose and fix the Web Vitals Issues we've opened. Alternatively, there is lots of great documentation online about how to improve specific web vitals metrics, see:
-* [Optimize Largest Contentful Paint](https://web.dev/articles/optimize-lcp).
-* [Optimize Cumulative Layout Shift](https://web.dev/articles/optimize-cls).
-* [Optimize Interaction to Next Paint](https://web.dev/articles/optimize-inp).
+- [Optimize Largest Contentful Paint](https://web.dev/articles/optimize-lcp).
+- [Optimize Cumulative Layout Shift](https://web.dev/articles/optimize-cls).
+- [Optimize Interaction to Next Paint](https://web.dev/articles/optimize-inp).
From 892787134d8c91dbbbbbe2f1a478b7220e6ad0a9 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 13:11:07 -0500
Subject: [PATCH 049/141] docs(issues): Fix replay issue search, rage click
alert steps, and hydration diff tab names (#20509)
## DESCRIBE YOUR PR
- **Search:** `issue.category:replay` matches nothing. Rage click and
hydration error types are in the `FRONTEND` category
([grouptype.py#L734-L754](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/issues/grouptype.py#L734-L754)),
and category search only expands to types in that category
([issue_search.py#L186-L199](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/issues/issue_search.py#L186-L199)).
Use `issue.type:[replay_click_rage,replay_hydration_error]` instead.
- **Rage click alerts:** the old steps used the legacy issue alert form
with category "Replay". Rewrote them for **Monitors > Alerts** with the
**Issue type** filter, "Issue type is equal to Rage Click Detected"
([issueType.tsx](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/static/app/views/automations/components/actionFilters/issueType.tsx),
[group.tsx#L312](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/static/app/types/group.tsx#L312)).
- **Hydration error diff tabs:** headings now match the tab labels:
Slider Diff, Side By Side Diff, Mutations (was "Tree Compare"), HTML
Diff
([replayDiffChooser.tsx#L31-L34](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/static/app/components/replays/diff/replayDiffChooser.tsx#L31-L34)).
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.):
- [ ] Other deadline:
- [x] No deadline: Not urgent, can wait up to 1 week+
via **richard**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Richard Roggenkemper
---
.../replay-issues/hydration-error.mdx | 8 ++++----
.../issue-details/replay-issues/index.mdx | 6 ++----
.../replay-issues/rage-clicks.mdx | 18 ++++++++++--------
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/docs/product/issues/issue-details/replay-issues/hydration-error.mdx b/docs/product/issues/issue-details/replay-issues/hydration-error.mdx
index 2bfa537a93e31..3ffcec4c0a502 100644
--- a/docs/product/issues/issue-details/replay-issues/hydration-error.mdx
+++ b/docs/product/issues/issue-details/replay-issues/hydration-error.mdx
@@ -26,21 +26,21 @@ In the example below we'll look at a hydration error and see how each tool helps
The problem is that the left and right sidebars have some dynamic content that is inserted on the client, but not rendered on the server.
-### Image Slider
+### Slider Diff
The image slider tool allows for comparing the two page states by overlaying the images on top of each other. Click and drag the purple line to reveal one image or the other.

-### Side-by-Side Image
+### Side By Side Diff
View images side-by-side to see large chunks of the page that may differ.

-### Tree Compare
+### Mutations
-Use the tree compare tool to list specifically which DOM nodes were added, removed, or had attributes changed.
+Use the **Mutations** tab to list specifically which DOM nodes were added, removed, or had attributes changed.
You can see each change to the page, and when it happened within the context of the hydration error. In this case one mutation happened at the timestamp `1732089574790` which was at time offset `1790`, or 1.7 seconds since the start of the captured replay. Within this mutation 39 nodes were added, 2 nodes had some attributes changed, and 4 nodes were removed.
diff --git a/docs/product/issues/issue-details/replay-issues/index.mdx b/docs/product/issues/issue-details/replay-issues/index.mdx
index 3daf1f2d48e29..4b0fa5019446b 100644
--- a/docs/product/issues/issue-details/replay-issues/index.mdx
+++ b/docs/product/issues/issue-details/replay-issues/index.mdx
@@ -8,9 +8,7 @@ If you've enabled [Session Replay](/product/session-replay/), you'll be able to
## Quota Consumption
-
-Replay issues do not consume error quota.
-
+Replay issues do not consume error quota.
When a replay is created it consumes [replay quota](/pricing/quotas/manage-replay-quota/) (not to be confused with [error quota](/pricing/quotas/manage-event-stream-guide/)). As the replay is being processed by the server Sentry detects the replay issue types listed below and groups those into issues. These errors are created on the backend after ingest and do not consume error quota. They will not appear on your [stats](https://sentry.io/orgredirect/organizations/:orgslug/stats/) page under the "Total Errors" or "Accepted Errors" graphs. You are not billed for their volume.
@@ -22,4 +20,4 @@ When a replay is created it consumes [replay quota](/pricing/quotas/manage-repla
## Searching for Replay Issues
-If you use the term `issue.category:replay` in Issue Details search, you'll be able to filter for rage click and hydration error issues.
+To filter for rage click and hydration error issues, search the **Issues** page for `issue.type:[replay_click_rage,replay_hydration_error]`.
diff --git a/docs/product/issues/issue-details/replay-issues/rage-clicks.mdx b/docs/product/issues/issue-details/replay-issues/rage-clicks.mdx
index b6b6efbc6e583..078526505344b 100644
--- a/docs/product/issues/issue-details/replay-issues/rage-clicks.mdx
+++ b/docs/product/issues/issue-details/replay-issues/rage-clicks.mdx
@@ -15,8 +15,9 @@ In order to see rage clicks in your issue stream on the **Issues** page, your or
- Enable the JavaScript SDK (or framework-specific bundle), version 7.60.1 or higher
- While you can enable **Session Replay** with JavaScript SDK version 7.27.0, or higher, you'll need
- to have version 7.60.1 or higher in order to be able to see **rage click issues**.
+ While you can enable **Session Replay** with JavaScript SDK version 7.27.0, or
+ higher, you'll need to have version 7.60.1 or higher in order to be able to
+ see **rage click issues**.
## Detection Criteria
@@ -29,12 +30,13 @@ You can configure Replay to ignore specific selectors if you are seeing [too man
To set up alerts and get notified when a rage click occurs, follow these steps:
-1. Create a new [Alert](https://sentry.io/orgredirect/organizations/:orgslug/alerts/new/issue/) in Sentry.
-2. In the "Set conditions" section, set the "IF" filter to "The issue's category is equal to", then choose "Replay" from the dropdown.
-3. Add an optional filter if you like.
-4. Choose the action to be performed in the "THEN" dropdown.
-5. Decide how often you'd like Sentry to look for rage click issues.
-6. Lastly, name your alert and add an owner.
+1. Go to **Monitors > [Alerts](https://sentry.io/monitors/alerts)** and click **Create Alert**.
+2. Select the projects you want to alert on.
+3. Under **If**, add the **Issue type** filter and set it to "Issue type is equal to Rage Click Detected".
+4. Under **Then**, choose the action to perform.
+5. Name your alert and click **Create Alert**.
+
+See [Create Alerts](/product/monitors-and-alerts/alerts/create-alerts/) for all options.
## Turn Off Rage Click Issues
From aef7c12e70ae8f869deac5dadb6caa34485f07f9 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 13:11:23 -0500
Subject: [PATCH 050/141] docs(develop): Update issue type example category and
grouptype links (#20511)
## DESCRIBE YOUR PR
- The `ProfileFileIOGroupType` example used `GroupCategory.PROFILE`,
which is deprecated. The real class now uses `GroupCategory.MOBILE`
([grouptype.py#L575-L581](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/issues/grouptype.py#L575-L581)).
- The `GroupType`, `GroupCategory`, and `NoiseConfig` links pointed at
old line ranges. They now point to the current code
([L227-L264](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/issues/grouptype.py#L227-L264),
[L35-L87](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/issues/grouptype.py#L35-L87),
[L192-L199](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/issues/grouptype.py#L192-L199)).
- Added a note not to use the deprecated categories (`PERFORMANCE`,
`PROFILE`, `CRON`, `REPLAY`, `UPTIME`, `METRIC_ALERT`), per the enum
docstrings.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.):
- [ ] Other deadline:
- [x] No deadline: Not urgent, can wait up to 1 week+
via **richard**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Richard Roggenkemper
---
.../backend/issue-platform/issue-types/index.mdx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/develop-docs/backend/issue-platform/issue-types/index.mdx b/develop-docs/backend/issue-platform/issue-types/index.mdx
index 316bd2e4cb50d..901f8dfbb39ba 100644
--- a/develop-docs/backend/issue-platform/issue-types/index.mdx
+++ b/develop-docs/backend/issue-platform/issue-types/index.mdx
@@ -7,7 +7,7 @@ An issue type is a way to group related issues together. Examples include `metri
## Register an Issue Type
-To register a new issue type you need to subclass `GroupType`
+To register a new issue type you need to subclass `GroupType`
When registering the class, set the following required attributes on the class:
@@ -18,13 +18,13 @@ When registering the class, set the following required attributes on the class:
- `description`: str
- A human-readable description of your issue type.
- `category`: int
- - Categories are used to group related issue types together. Use one of the existing categories defined in this enum or add a new one.
+ - Categories are used to group related issue types together. Use one of the existing categories defined in this enum or add a new one. Don't use the categories marked as deprecated (`PERFORMANCE`, `PROFILE`, `CRON`, `REPLAY`, `UPTIME`, `METRIC_ALERT`).
You may also set these optional attributes:
- `released`: bool
- Whether this issue type has been released to all customers. See Releasing your issue type.
-- `noise_config`: NoiseConfig | None
+- `noise_config`: NoiseConfig | None
- A `NoiseConfig` that allows you to set policy on how many times a fingerprint must occur in a period of time before an issue is created. NoiseConfig has two attributes:
- `ignore_limit`: int
- How many occurrences need to occur before we create a new issue.
@@ -43,7 +43,7 @@ class ProfileFileIOGroupType(GroupType):
type_id = 2001
slug = "profile_file_io_main_thread"
description = "File I/O on Main Thread"
- category = GroupCategory.PROFILE.value
+ category = GroupCategory.MOBILE.value
```
and here's one with `noise_config` configured
@@ -54,7 +54,7 @@ class ProfileFileIOGroupType(GroupType):
type_id = 2001
slug = "profile_file_io_main_thread"
description = "File I/O on Main Thread"
- category = GroupCategory.PROFILE.value
+ category = GroupCategory.MOBILE.value
noise_config = NoiseConfig(5, timedelta(days=2))
```
From 8962907f6fa9b472cb39b41aaf8f9cb35e06e5d1 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 13:11:34 -0500
Subject: [PATCH 051/141] docs(issues): Note that Endpoint Regression issues
are no longer created (#20508)
## DESCRIBE YOUR PR
Adds a warning to the Endpoint Regression page that Sentry no longer
creates these issues.
- getsentry/sentry#122048 removed `EndpointRegressionDetector` and the
performance dispatcher, since generic metrics storage is gone.
`run_detection` now only dispatches profiling projects
([statistical_detectors.py#L110-L121](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/tasks/statistical_detectors.py#L110-L121)).
- `send_regression_to_platform`
([issue_platform_adapter.py#L20](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/statistical_detectors/issue_platform_adapter.py#L20))
has no remaining callers.
Owners: please confirm there's no replacement planned before this
merges. If the page should go away instead, say so. The project setting
toggle still exists, and the Issues index page
(`docs/product/issues/index.mdx`, being edited in #20436) still links
here as an example.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.):
- [ ] Other deadline:
- [x] No deadline: Not urgent, can wait up to 1 week+
via **richard**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Richard Roggenkemper
Co-authored-by: Richard Roggenkemper <46740234+roggenkemper@users.noreply.github.com>
---
.../performance-issues/endpoint-regressions/index.mdx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/product/issues/issue-details/performance-issues/endpoint-regressions/index.mdx b/docs/product/issues/issue-details/performance-issues/endpoint-regressions/index.mdx
index 31877e5531f79..b6bd14be2339f 100644
--- a/docs/product/issues/issue-details/performance-issues/endpoint-regressions/index.mdx
+++ b/docs/product/issues/issue-details/performance-issues/endpoint-regressions/index.mdx
@@ -6,6 +6,12 @@ og_image: >-
/og-images/product-issues-issue-details-performance-issues-endpoint-regressions.png
---
+
+
+Sentry no longer creates new Endpoint Regression issues. This page describes issues that were created before detection stopped.
+
+
+
Endpoint Regression issues are a generic class of problems where the duration of a transaction increases over time and degrades application performance. Sentry proactively monitors common endpoints out of the box and reports any possible regressions, grouping them as Endpoint Regression issue types.
Filter performance regressions with `issue.category:metric` in **Issues** and **Dashboards**.
From c04e8adee89ff2c801abb0b0545464c16124d3df Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 13:13:59 -0500
Subject: [PATCH 052/141] docs(issues): Clarify uptime issue grouping and
thresholds (#20510)
## DESCRIBE YOUR PR
The Uptime Issues page says issues are grouped by URL and created on the
first detected downtime.
- Grouping is per uptime monitor. The fingerprint is
`uptime-detector:`
([uptime/utils.py#L17-L22](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/uptime/utils.py#L17-L22)).
- An issue is created at the failure tolerance and resolved at the
recovery tolerance
([uptime/grouptype.py#L112-L121](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/uptime/grouptype.py#L112-L121)).
Defaults are 3 and 1
([uptime/types.py#L25-L30](https://github.com/getsentry/sentry/blob/9b76a0ffbcbde9a2d2a58bc5b5910fe33f1ea3ad/src/sentry/uptime/types.py#L25-L30)).
Links to the existing Thresholds section.
- Says "uptime monitors" instead of "uptime alerts".
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.):
- [ ] Other deadline:
- [x] No deadline: Not urgent, can wait up to 1 week+
via **richard**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Aa852beabb8863b47a43de24d6ba90b98/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Richard Roggenkemper
---
docs/product/issues/issue-details/uptime-issues/index.mdx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/product/issues/issue-details/uptime-issues/index.mdx b/docs/product/issues/issue-details/uptime-issues/index.mdx
index 3d8c9da68f4c7..edcc294a9e911 100644
--- a/docs/product/issues/issue-details/uptime-issues/index.mdx
+++ b/docs/product/issues/issue-details/uptime-issues/index.mdx
@@ -7,8 +7,8 @@ description: >-
og_image: /og-images/product-issues-issue-details-uptime-issues.png
---
-An uptime issue is a grouping of detected downtime events for a specific URL. A downtime event is generated by
-active uptime alerts when HTTP requests fail to meet our
+An uptime issue is a grouping of detected downtime events for a specific uptime monitor. A downtime event is generated by
+active uptime monitors when HTTP requests fail to meet our
[uptime check criteria](/product/monitors-and-alerts/monitors/uptime-monitoring/#uptime-check-criteria).

@@ -20,4 +20,4 @@ Uptime checks made against web services configured with one of Sentry's supporte
## Issue Lifecycle
-Uptime issues are grouped by the monitored URL and created upon the first detected downtime. Sentry automatically resolves an ongoing uptime issue when the monitored URL returns to a healthy status and meets our [uptime check criteria](/product/monitors-and-alerts/monitors/uptime-monitoring/#uptime-check-criteria). If the URL experiences subsequent downtime, the issue's status will change to regressed.
+Each uptime monitor has one uptime issue. Sentry creates it once the number of consecutive failed checks reaches the monitor's failure tolerance (3 by default), and resolves it once the number of consecutive successful checks reaches the recovery tolerance (1 by default). See [Thresholds](/product/monitors-and-alerts/monitors/uptime-monitoring/#thresholds). If the monitor detects downtime again, the issue's status changes to regressed.
From 0e5f8162b1f2bcd86a702f5edf4bb31b18850fc7 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 18:18:50 +0000
Subject: [PATCH 053/141] Bump API schema to 4e986cf7 (#20734)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 4bf348fbd961b..17093a59fc6fc 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '51beb3e8a9f7c9eeb6d926dc14695838a30986db';
+const SENTRY_API_SCHEMA_SHA = '4e986cf79bfa14836ba51592dbdc5a3609b66a0a';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From bd54d17679d89683b0cd6dae8c7aedd4cc8761f9 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 18:21:34 +0000
Subject: [PATCH 054/141] Bump API schema to 52de466e (#20735)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 17093a59fc6fc..7f4b8293f8163 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '4e986cf79bfa14836ba51592dbdc5a3609b66a0a';
+const SENTRY_API_SCHEMA_SHA = '52de466ec9c5ec625baf6a4f9ecafa9176071d8f';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b5ae0b3e881958fd54ac2f798394c5c88a95a280 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 18:30:21 +0000
Subject: [PATCH 055/141] Bump API schema to 1e6b86c6 (#20736)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 7f4b8293f8163..43ae91d1dfa9b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '52de466ec9c5ec625baf6a4f9ecafa9176071d8f';
+const SENTRY_API_SCHEMA_SHA = '1e6b86c69dfd7d104fc3a83d4d65c793defa99c0';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 9cf174afa696321654e21f2b71812f7ff3c02065 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 19:48:24 +0000
Subject: [PATCH 056/141] Bump API schema to cf430bfd (#20739)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 43ae91d1dfa9b..0ab2cf855d6bc 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '1e6b86c69dfd7d104fc3a83d4d65c793defa99c0';
+const SENTRY_API_SCHEMA_SHA = 'cf430bfdb0604804f85785eb827de7e02f1ff70f';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From c70fd7442fbf9f06f15b2b15aaaeb8a980001645 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 19:57:13 +0000
Subject: [PATCH 057/141] Bump API schema to 129e7904 (#20740)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 0ab2cf855d6bc..6d04258a97ddd 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'cf430bfdb0604804f85785eb827de7e02f1ff70f';
+const SENTRY_API_SCHEMA_SHA = '129e790450dfb5c8cdd65c0fa578c0df362d39d5';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 0cb2e23405dc0880a3180d2c61bff9bf322ddc25 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Wed, 11 Nov 2026 12:00:54 -0800
Subject: [PATCH 058/141] docs(develop): Point fork craft example at an active
fork (#20738)
## DESCRIBE YOUR PR
The "Depending on forks" section of the Python dependencies page used
`getsentry/sentry-forked-djangorestframework-stubs#1` as its craft
config example. Sentry stopped using that fork when it switched to
upstream `djangorestframework-stubs` in getsentry/sentry#107710. This
changes the example to `getsentry/sentry-forked-email-reply-parser#1`,
which adds the same craft setup and points at a fork Sentry still uses.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via **Kedar Vaidya**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0C28C7TZRR%3A1794422921.605919)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0C28C7TZRR%3A1794422921.605919/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Kedar Vaidya
---
develop-docs/development-infrastructure/python-dependencies.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/develop-docs/development-infrastructure/python-dependencies.mdx b/develop-docs/development-infrastructure/python-dependencies.mdx
index b3bb69875ae4c..36f3cbeacc241 100644
--- a/develop-docs/development-infrastructure/python-dependencies.mdx
+++ b/develop-docs/development-infrastructure/python-dependencies.mdx
@@ -45,7 +45,7 @@ If you need to make modifications to a dependency and need to deploy the result
before it is accepted upstream, you must fork the dependency and publish it to pypi and internal pypi.
1. Fork into the `getsentry` organization and make your changes.
-2. Add craft configuration to publish to pypi+internal pypi ([example](https://github.com/getsentry/sentry-forked-djangorestframework-stubs/pull/1)).
+2. Add craft configuration to publish to pypi+internal pypi ([example](https://github.com/getsentry/sentry-forked-email-reply-parser/pull/1)).
3. Add the dependency to your repository.
From 1d6cfaf45d42cde7045922b42d9d2d9a0cce8150 Mon Sep 17 00:00:00 2001
From: Shannon Anahata
Date: Wed, 11 Nov 2026 15:42:33 -0800
Subject: [PATCH 059/141] Update the agent prompts in docs to point to Sentry
CLI (#20586)
## DESCRIBE YOUR PR
We currently point to skills and the plugin, but we want to suggest the
CLI, and move away from "agent prompts" to just saying "set up with the
CLI".
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [x] Other deadline: 2026-11-10
- [ ] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Shannon Anahata
---
app/layout.tsx | 2 +-
src/components/agentSetupCallout/index.tsx | 130 ++++++-------
.../agentSetupCallout/markdown.spec.tsx | 79 ++++++++
src/components/agentSetupCallout/markdown.tsx | 56 ++++++
src/components/agentSetupCallout/shared.ts | 45 ++++-
.../agentSetupCallout/style.module.scss | 64 ++-----
src/components/cliInstallCommand/index.tsx | 174 ++++++++++++++++++
.../cliInstallCommand/style.module.scss | 173 +++++++++++++++++
src/components/copyPromptButton/index.tsx | 74 +++++---
.../copyPromptButton/style.module.scss | 5 +-
src/components/home.module.scss | 98 +---------
src/components/homeAiSetupCard.tsx | 112 +++--------
src/components/linkWithPlatformIcon.tsx | 2 +-
src/metrics.ts | 2 +-
vitest.config.mjs | 3 +
15 files changed, 671 insertions(+), 348 deletions(-)
create mode 100644 src/components/agentSetupCallout/markdown.spec.tsx
create mode 100644 src/components/agentSetupCallout/markdown.tsx
create mode 100644 src/components/cliInstallCommand/index.tsx
create mode 100644 src/components/cliInstallCommand/style.module.scss
diff --git a/app/layout.tsx b/app/layout.tsx
index 1bab67dbe638b..0f63de21c0b57 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -9,7 +9,7 @@ import {SkipToContent} from 'sentry-docs/components/skipToContent';
import {ThemeProvider} from 'sentry-docs/components/theme-provider';
const rubik = Rubik({
- weight: ['400', '500', '700'],
+ weight: ['400', '500', '600', '700'],
style: ['normal', 'italic'],
subsets: ['latin'],
variable: '--font-rubik',
diff --git a/src/components/agentSetupCallout/index.tsx b/src/components/agentSetupCallout/index.tsx
index 5c8043f2f412f..668e334cd4cf1 100644
--- a/src/components/agentSetupCallout/index.tsx
+++ b/src/components/agentSetupCallout/index.tsx
@@ -1,15 +1,15 @@
'use client';
-import {ChevronDownIcon, ChevronRightIcon} from '@radix-ui/react-icons';
import * as Sentry from '@sentry/nextjs';
-import Link from 'next/link';
-import {useCallback, useState} from 'react';
+import {Fragment, useCallback, useState} from 'react';
import {Copy} from 'react-feather';
import {usePlausibleEvent} from 'sentry-docs/hooks/usePlausibleEvent';
import {DocMetrics} from 'sentry-docs/metrics';
-import {CodeBlock} from '../codeBlock';
-import {buildPrompt} from './shared';
+import {CliInstallCommand} from '../cliInstallCommand';
+import {ExternalLink} from '../externalLink';
+import {CliSetupMarkdown, InstructionMarkdown} from './markdown';
+import {SENTRY_CLI_URL} from './shared';
import styles from './style.module.scss';
type Props = {
@@ -17,7 +17,7 @@ type Props = {
platformName?: string;
/** Skill package name, e.g. "sentry-nextjs-sdk". Omit for generic/all skills. */
skill?: string;
- /** Custom instructions for tasks other than SDK setup. */
+ /** Custom instructions for tasks other than SDK setup, such as migrations. */
instructions?: {
title: string;
prompt: string;
@@ -26,13 +26,36 @@ type Props = {
};
export function AgentSetupCallout({skill, platformName, instructions}: Props) {
+ if (instructions) {
+ return ;
+ }
+
+ return (
+
+
- Install the Sentry plugin to give your assistant every skill. See the{' '}
- installation docs for more details.
-
-
-
- npx @sentry/agent-plugin install
-
-
-
-
- )}
-
+
+
);
}
diff --git a/src/components/agentSetupCallout/markdown.spec.tsx b/src/components/agentSetupCallout/markdown.spec.tsx
new file mode 100644
index 0000000000000..ff93672a88190
--- /dev/null
+++ b/src/components/agentSetupCallout/markdown.spec.tsx
@@ -0,0 +1,79 @@
+import {Fragment} from 'react';
+import {renderToStaticMarkup} from 'react-dom/server';
+import rehypeParse from 'rehype-parse';
+import rehypeRemark from 'rehype-remark';
+import remarkGfm from 'remark-gfm';
+import remarkStringify from 'remark-stringify';
+import {unified} from 'unified';
+import {describe, expect, it} from 'vitest';
+
+import {CliSetupMarkdown, InstructionMarkdown} from './markdown';
+
+function htmlToMarkdown(html: string) {
+ return String(
+ unified()
+ .use(rehypeParse, {fragment: true})
+ .use(rehypeRemark, {
+ document: false,
+ handlers: {
+ button() {},
+ },
+ })
+ .use(remarkGfm)
+ .use(remarkStringify)
+ .processSync(html)
+ );
+}
+
+describe('CLI setup markdown export', () => {
+ it('keeps the install commands and drops the interactive card', () => {
+ const html = renderToStaticMarkup(
+
+
interactive card
+
+
+ );
+
+ const markdown = htmlToMarkdown(html);
+
+ expect(markdown).not.toContain('interactive card');
+ expect(markdown).toContain('## Set up with Sentry CLI');
+ expect(markdown).toContain('the Sentry Next.js SDK');
+ expect(markdown).toContain(
+ '```bash\ncurl https://cli.sentry.dev/install -fsS | bash'
+ );
+ expect(markdown).toContain(
+ '```powershell\nirm https://cli.sentry.dev/install.ps1 | iex'
+ );
+ expect(markdown).toContain('```bash\nbrew install getsentry/tools/sentry');
+ expect(markdown).toContain('```bash\nnpx sentry@latest');
+ expect(markdown).toContain(
+ '[Learn more about the Sentry CLI](https://cli.sentry.dev/)'
+ );
+ });
+
+ it('names Sentry when the page has no platform', () => {
+ const markdown = htmlToMarkdown(renderToStaticMarkup());
+
+ expect(markdown).toContain('Set up Sentry with the Sentry CLI.');
+ expect(markdown).not.toContain('SDK');
+ });
+
+ it('includes custom instruction prompts', () => {
+ const markdown = htmlToMarkdown(
+ renderToStaticMarkup(
+
+ )
+ );
+
+ expect(markdown).toContain('## Agent-Assisted Migration');
+ expect(markdown).toContain('Read the migration guide before changing the SDK.');
+ expect(markdown).toContain(
+ 'Copy this prompt into your AI agent to migrate your Sentry SDK.'
+ );
+ });
+});
diff --git a/src/components/agentSetupCallout/markdown.tsx b/src/components/agentSetupCallout/markdown.tsx
new file mode 100644
index 0000000000000..cd6e77204ff2d
--- /dev/null
+++ b/src/components/agentSetupCallout/markdown.tsx
@@ -0,0 +1,56 @@
+import {CLI_INSTALL_METHODS, SENTRY_CLI_URL, setupTarget} from './shared';
+import styles from './style.module.scss';
+
+type SetupProps = {
+ platformName?: string;
+};
+
+function commandLanguage(id: string) {
+ return id === 'powershell' ? 'language-powershell' : 'language-bash';
+}
+
+/**
+ * Semantic copy of the CLI setup card. The interactive card is omitted from
+ * markdown exports, so this block is what those pages include instead.
+ */
+export function CliSetupMarkdown({platformName}: SetupProps) {
+ return (
+
+
Set up with Sentry CLI
+
+ Set up {setupTarget(platformName)} with the Sentry CLI. Install the CLI with one
+ of these commands, then follow the Sentry CLI docs to finish setup.
+
- One command teaches Claude Code, Cursor, Codex, and Grok how to install and
- configure Sentry for you.{' '}
-
- Read about the agent plugin
-
- .
-
-
- Use Sentry without leaving your agent conversations by setting up the{' '}
-
- Sentry MCP server
- {' '}
- and{' '}
-
- Sentry CLI
-
- .
-
+
+
+
+
+
+
Set up with Sentry CLI
+
+
+
+
+
+
+ Learn more about the Sentry CLI
+
+
+
-
+
+
);
}
diff --git a/src/components/linkWithPlatformIcon.tsx b/src/components/linkWithPlatformIcon.tsx
index b44627ba812f1..0413c14e81187 100644
--- a/src/components/linkWithPlatformIcon.tsx
+++ b/src/components/linkWithPlatformIcon.tsx
@@ -5,7 +5,7 @@ import {SmartLink} from './smartLink';
type Props = {
label?: string;
platform?: string;
- /** Agent skill name, e.g. "sentry-react-sdk". When provided, renders an inline "Agent Setup" copy-prompt button. */
+ /** Agent skill name, e.g. "sentry-react-sdk". When provided, renders an inline Sentry CLI setup button. */
skill?: string;
url?: string;
};
diff --git a/src/metrics.ts b/src/metrics.ts
index 85adb812369aa..f319dc49442fb 100644
--- a/src/metrics.ts
+++ b/src/metrics.ts
@@ -171,7 +171,7 @@ export const DocMetrics = {
},
/**
- * Track "Copy Prompt" button clicks in the Agent Setup Callout
+ * Track Sentry CLI setup copies from the callout, homepage card, and inline buttons
* @param pathname - Page where the prompt was copied
* @param skill - Skill name if present (e.g., "sentry-nextjs-sdk")
* @param success - Whether the clipboard copy succeeded
diff --git a/vitest.config.mjs b/vitest.config.mjs
index 836de9fb7e92f..9677c5df2ca28 100644
--- a/vitest.config.mjs
+++ b/vitest.config.mjs
@@ -4,4 +4,7 @@ import {defineConfig} from 'vitest/config';
export default defineConfig({
plugins: [tsconfigPaths()],
+ esbuild: {
+ jsx: 'automatic',
+ },
});
From b1c24c73b589dd2120e4581f443ec84cc22b4aca Mon Sep 17 00:00:00 2001
From: Dan Fuller
Date: Wed, 11 Nov 2026 20:44:04 -0500
Subject: [PATCH 060/141] docs(nestjs): Document SentryCron monitor config from
@Cron (#19782)
## DESCRIBE YOUR PR
Documents that `@SentryCron` now sends the schedule and time zone of
`@Cron` on the same method, so check-ins create the monitor. Covers the
server time zone default, which schedules send no config, and the
`fromCronDecorator: false` opt-out.
SDK change: https://github.com/getsentry/sentry-javascript/pull/25013.
Merge after it ships; the page marks it as available since 11.5.0, which
assumes it lands in the next minor.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
---------
Co-authored-by: Claude Opus 5.5
---
includes/nestjs-sentry-cron-decorator.mdx | 27 +++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/includes/nestjs-sentry-cron-decorator.mdx b/includes/nestjs-sentry-cron-decorator.mdx
index d76734fbd7c86..fe6080f036d5a 100644
--- a/includes/nestjs-sentry-cron-decorator.mdx
+++ b/includes/nestjs-sentry-cron-decorator.mdx
@@ -29,3 +29,30 @@ export class MyCronService {
}
```
+
+### Monitor Config From `@Cron`
+
+
+
+If you don't pass a monitor config with a `schedule`, `@SentryCron` sends the schedule and time zone of the `@Cron` decorator on the same method with each check-in, so Sentry creates the monitor on the first run. You can still pass other monitor options, such as `checkinMargin` and `maxRuntime`:
+
+```typescript
+import { Cron } from '@nestjs/schedule';
+import { SentryCron } from '@sentry/nestjs';
+
+export class MyCronService {
+ @Cron('0 * * * *', { timeZone: 'America/Los_Angeles' })
+ @SentryCron('my-monitor-slug', { checkinMargin: 2 })
+ handleCron() {
+ // Your cron job logic here
+ }
+}
+```
+
+If `@Cron` has neither `timeZone` nor `utcOffset`, the job runs in your server's local time zone, so that time zone is sent. If your servers run in different time zones, set `timeZone` on `@Cron`, so every server sends the same one.
+
+The monitor is created, and billed, on the first run. Each check-in overwrites the monitor's schedule and time zone with the ones from `@Cron`, so change them in your code rather than in Sentry.
+
+A six-field expression is sent without its seconds field if that field is a single number, such as `0 30 9 * * *`. Presets such as `@daily` and `@weekly` are sent too. Sub-minute schedules, `Date` values, `utcOffset`, month numbers with `@nestjs/schedule` 3 and earlier (use names such as `MAY`; steps such as `*/3` work), a `*/n` or full-range day field (such as `1-31` or `sun-sat`) combined with the other day field, and time zones that aren't IANA names send no monitor config, including any other options you pass. In those cases, pass a full monitor config to `@SentryCron` or create the monitor in Sentry first.
+
+To send check-ins without a monitor config, pass `{ fromCronDecorator: false }`.
From 3e33d6b98b151e42077bd206eebc0044f61f4d7c Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 11:03:41 +0000
Subject: [PATCH 061/141] Bump API schema to d0a2e344 (#20753)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 6d04258a97ddd..7a45eeba0daca 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '129e790450dfb5c8cdd65c0fa578c0df362d39d5';
+const SENTRY_API_SCHEMA_SHA = 'd0a2e344495068fe5ea70a1b0d686e42c6631aac';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From d67c8ac84157e11aa4dc8d34b8bcd0e15d736f34 Mon Sep 17 00:00:00 2001
From: Abdelrahman Awad
Date: Thu, 12 Nov 2026 06:08:22 -0500
Subject: [PATCH 062/141] docs(develop): Fix the trace metric size limit
(#20750)
The envelope size limits listed 2 KiB per metric, a leftover from statsd
metrics, fixed by documenting Relay's 1 MiB limit per trace metric
(`max_trace_metric_size`).
Relay checks each trace metric in
[`trace_metrics/validate.rs`](https://github.com/getsentry/relay/blob/73ac2fadc88d01abb2aefa8f3ad7a85ce3b9c138/relay-server/src/processing/trace_metrics/validate.rs#L37-L38)
and the 1 MiB default lives in
[`relay-config/src/config.rs`](https://github.com/getsentry/relay/blob/73ac2fadc88d01abb2aefa8f3ad7a85ce3b9c138/relay-config/src/config.rs#L748).
---
develop-docs/sdk/foundations/envelopes/index.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/develop-docs/sdk/foundations/envelopes/index.mdx b/develop-docs/sdk/foundations/envelopes/index.mdx
index 4dfbbb16d251e..8c7cdd507d7bb 100644
--- a/develop-docs/sdk/foundations/envelopes/index.mdx
+++ b/develop-docs/sdk/foundations/envelopes/index.mdx
@@ -343,7 +343,7 @@ These limits are subject to future change and defined currently as (see [Relay c
- *200 MiB* for an envelope after decompression including all envelope items.
- *1 MiB* for event (errors and transactions), span, log, and metric (statsd, buckets, meta) envelope items.
-- *2 KiB* for each metric within an envelope. Relay discards the entire envelope if the one of the metrics exceeds 2 KiB.
+- *1 MiB* for each trace metric within a `trace_metric` item. Relay discards only the metrics that exceed the limit.
- *100 KiB* for monitor check-in items
- *4 KiB* for client report items
- *50 MiB* for profile items
From d52e3b7fd36510652941e7fe2f1913a7a01b70d5 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 11:12:01 +0000
Subject: [PATCH 063/141] Bump API schema to 0a645b70 (#20754)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 7a45eeba0daca..8b75c578ae4f5 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'd0a2e344495068fe5ea70a1b0d686e42c6631aac';
+const SENTRY_API_SCHEMA_SHA = '0a645b70ce7853961410e58f9e177e1af7cd8c7e';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 0c63ef592a420448ca052f73d87aca679e8d1c2f Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 13:50:03 +0100
Subject: [PATCH 064/141] docs(js): Use Lambda Event Functions naming in AWS
Lambda guide (#20722)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
AWS renamed Lambda functions to [Lambda Event
Functions](https://docs.aws.amazon.com/lambda/latest/dg/lambda-functions-chapter.html)
so they're distinct from the new [Lambda Web
Functions](https://docs.aws.amazon.com/lambda/latest/dg/web-functions.html).
This PR follows up on #20352 and updates the current JS AWS Lambda guide
pages to use the new name, which makes it clear that
`@sentry/aws-serverless` is for Event Functions.
The pages follow the same pattern AWS uses. The first mention says
"Lambda Event Functions (formerly called Lambda functions)", and after
that they just say "function". The changes cover page descriptions,
intros, and prerequisites in the guide index, the install methods
(index, layer, npm, container image), and the handler wrapper page.
Left unchanged on purpose:
- Versioned legacy pages (`__v7`–`__v10`), the v11 migration tables, and
span-name docs. They're historical, and "Lambda function name" still
matches the AWS API and context.
- Console navigation steps ("navigate to your Lambda function"). The AWS
API and console resource is still called a function.
- `troubleshooting.mdx` and `unhandledrejection.mdx`. I haven't verified
whether those issues also apply to Web Functions.
Open question: Should Python's AWS Lambda docs get a short note too? Web
Functions only support Node.js for now, so the risk of confusion there
is low.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via @msonnb.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0C5DRTAU2X%3A1794314659.768059)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0C5DRTAU2X%3A1794314659.768059/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Martin Sonnberger <26038247+msonnb@users.noreply.github.com>
---
.../guides/aws-lambda/configuration/lambda-wrapper.mdx | 4 ++--
docs/platforms/javascript/guides/aws-lambda/index.mdx | 8 ++++----
.../guides/aws-lambda/install/container-image.mdx | 6 +++---
.../javascript/guides/aws-lambda/install/index.mdx | 6 +++---
.../javascript/guides/aws-lambda/install/layer.mdx | 4 ++--
.../javascript/guides/aws-lambda/install/npm.mdx | 8 ++++----
6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/docs/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper.mdx b/docs/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper.mdx
index 37f4d666de321..d45540daefe29 100644
--- a/docs/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper.mdx
+++ b/docs/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper.mdx
@@ -1,10 +1,10 @@
---
title: Lambda Handler Wrapper
-description: "Configure Sentry's Lambda function wrapper"
+description: "Configure Sentry's Lambda handler wrapper"
sidebar_order: 2
---
-On this page you'll learn about the options to configure the `Sentry.wrapHandler` wrapper for your Lambda function.
+On this page you'll learn about the options to configure the `Sentry.wrapHandler` wrapper for your Lambda Event Function.
If you're using the AWS Lambda layer with environment variables (i.e. no Sentry code in your function), skip this guide or switch to the [initializing the SDK in code](../../install/layer/#alternative-initialize-the-sdk-in-code).
diff --git a/docs/platforms/javascript/guides/aws-lambda/index.mdx b/docs/platforms/javascript/guides/aws-lambda/index.mdx
index 7532fd6bab979..1fd998ae23dec 100644
--- a/docs/platforms/javascript/guides/aws-lambda/index.mdx
+++ b/docs/platforms/javascript/guides/aws-lambda/index.mdx
@@ -24,11 +24,11 @@ AWS Lambda offers two function types for Node.js, and each needs a different Sen
-On this page you'll get an overview how to install, configure and use Sentry in your AWS Lambda functions. Once set up, our SDK will automatically report error and performance data from your Lambda Functions. Issues in Sentry will automatically include cloudwatch data, function details and execution time measurements.
+On this page you'll get an overview how to install, configure and use Sentry in your AWS Lambda Event Functions (formerly called Lambda functions). Once set up, our SDK will automatically report error and performance data from your functions. Issues in Sentry will automatically include cloudwatch data, function details and execution time measurements.
## Installation
-Depending on your preferences, you can install Sentry in your Lambda functions using the [Sentry AWS Lambda Layer](./install/layer/) (recommended) or the [Sentry AWS NPM package](./install/npm/).
+Depending on your preferences, you can install Sentry in your Event Functions using the [Sentry AWS Lambda Layer](./install/layer/) (recommended) or the [Sentry AWS NPM package](./install/npm/).
### Should I use the Lambda Layer or the NPM package?
@@ -36,12 +36,12 @@ We generally recommend using the Lambda layer as it doesn't require you to deplo
With the layer, you can achieve the same level of customization as with the NPM package.
There are two reasons why you still might want to use the NPM package instead:
-1. You want to minimize lambda function size and tree-shake parts of the SDK code that you don't need. A related reason might be because you're transpiling your code and want to transpile your dependencies as well.
+1. You want to minimize function size and tree-shake parts of the SDK code that you don't need. A related reason might be because you're transpiling your code and want to transpile your dependencies as well.
2. You already use NPM packages and deploy `node_modules` with your function and you don't want to add a (or another) Lambda layer to your functions.
## Configuration
-After installing the SDK, you might want to configure some parameters. Besides the [common SDK configuration](./configuration/), you can also [configure Sentry's Lambda Function handler wrapper](./configuration/lambda-wrapper/) to optimize function runtime overhead and timeout warnings.
+After installing the SDK, you might want to configure some parameters. Besides the [common SDK configuration](./configuration/), you can also [configure Sentry's Lambda handler wrapper](./configuration/lambda-wrapper/) to optimize function runtime overhead and timeout warnings.
## Verify
diff --git a/docs/platforms/javascript/guides/aws-lambda/install/container-image.mdx b/docs/platforms/javascript/guides/aws-lambda/install/container-image.mdx
index 3d901a0c50d11..0f34a9d199008 100644
--- a/docs/platforms/javascript/guides/aws-lambda/install/container-image.mdx
+++ b/docs/platforms/javascript/guides/aws-lambda/install/container-image.mdx
@@ -2,11 +2,11 @@
title: Container Image
description: >-
Learn how to install the Sentry Lambda extension to use Sentry in your
- container image-based Lambda functions.
+ container image-based Lambda Event Functions.
sidebar_order: 3
---
-When you deploy a Lambda function as a container image (for example, with the [Lambda Web Adapter](https://github.com/awslabs/aws-lambda-web-adapter) for SvelteKit, Next.js, or Remix), you can't attach a Lambda layer. That means you also lose the Sentry Lambda extension that ships with our [Lambda Layer](/platforms/javascript/guides/aws-lambda/install/layer/).
+When you deploy a Lambda Event Function as a container image (for example, with the [Lambda Web Adapter](https://github.com/awslabs/aws-lambda-web-adapter) for SvelteKit, Next.js, or Remix), you can't attach a Lambda layer. That means you also lose the Sentry Lambda extension that ships with our [Lambda Layer](/platforms/javascript/guides/aws-lambda/install/layer/).
Without the extension, events queued at the moment Lambda freezes the runtime can be lost. The extension runs as a sidecar process that receives events on a local port and forwards them to Sentry, so envelopes leave the function before the freeze.
@@ -14,7 +14,7 @@ This guide shows how to install the extension into your Docker image and point a
## 1. Prerequisites
-- Your Lambda function is deployed as a [container image](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html).
+- Your Lambda Event Function is deployed as a [container image](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html).
- You have a Sentry SDK in your application (`@sentry/aws-serverless`, `@sentry/sveltekit`, `@sentry/nextjs`, etc.).
## 2. Install `@sentry/aws-serverless`
diff --git a/docs/platforms/javascript/guides/aws-lambda/install/index.mdx b/docs/platforms/javascript/guides/aws-lambda/install/index.mdx
index 44d2f44538a76..f9e14dc98da3e 100644
--- a/docs/platforms/javascript/guides/aws-lambda/install/index.mdx
+++ b/docs/platforms/javascript/guides/aws-lambda/install/index.mdx
@@ -1,7 +1,7 @@
---
title: Installation Methods
sidebar_order: 1
-description: "Review all installation methods for using Sentry in AWS Lambda functions"
+description: "Review all installation methods for using Sentry in AWS Lambda Event Functions"
---
@@ -12,9 +12,9 @@ We generally recommend using the Lambda layer as it doesn't require you to deplo
With the layer, you can achieve the same level of customization as with the NPM package.
There are two reasons why you still might want to use the NPM package instead:
-1. You want to minimize lambda function size and tree-shake parts of the SDK code that you don't need. A related reason might be because you're transpiling your code and want to transpile your dependencies as well.
+1. You want to minimize function size and tree-shake parts of the SDK code that you don't need. A related reason might be because you're transpiling your code and want to transpile your dependencies as well.
2. You already use NPM packages and deploy `node_modules` with your function and you don't want to add a (or another) Lambda layer to your functions.
### What if I'm deploying a container image?
-Container image-based Lambda functions can't attach a layer. Follow the [Container Image guide](/platforms/javascript/guides/aws-lambda/install/container-image/) to install the Sentry Lambda extension into your Docker image so events queued during a Lambda freeze are still delivered.
+Container image-based Event Functions can't attach a layer. Follow the [Container Image guide](/platforms/javascript/guides/aws-lambda/install/container-image/) to install the Sentry Lambda extension into your Docker image so events queued during a Lambda freeze are still delivered.
diff --git a/docs/platforms/javascript/guides/aws-lambda/install/layer.mdx b/docs/platforms/javascript/guides/aws-lambda/install/layer.mdx
index 30d47a8d30130..d060602a23091 100644
--- a/docs/platforms/javascript/guides/aws-lambda/install/layer.mdx
+++ b/docs/platforms/javascript/guides/aws-lambda/install/layer.mdx
@@ -2,7 +2,7 @@
title: Lambda Layer
description: >-
Learn how to add the Sentry Node Lambda Layer to use Sentry in your Lambda
- functions
+ Event Functions
sidebar_order: 1
og_image: /og-images/platforms-javascript-guides-aws-lambda-install-layer.png
---
@@ -14,7 +14,7 @@ If you follow this guide, you don't have to worry about deploying Sentry depende
Before you begin, make sure you have the following:
-- You have a Lambda function deployed in AWS.
+- You have a Lambda Event Function deployed in AWS.
- You know the AWS region that your function is deployed to.
## 1. Add the Sentry Lambda Layer
diff --git a/docs/platforms/javascript/guides/aws-lambda/install/npm.mdx b/docs/platforms/javascript/guides/aws-lambda/install/npm.mdx
index 11a7c6b114264..a40001a8efce1 100644
--- a/docs/platforms/javascript/guides/aws-lambda/install/npm.mdx
+++ b/docs/platforms/javascript/guides/aws-lambda/install/npm.mdx
@@ -2,13 +2,13 @@
title: NPM Package
description: >-
Learn how to install the Sentry AWS NPM package to use Sentry in your Lambda
- functions
+ Event Functions
sidebar_order: 2
og_image: /og-images/platforms-javascript-guides-aws-lambda-install-npm.png
---
-In this guide you will learn how to set up the `@sentry/aws-serverless` SDK for AWS Lambda functions using NPM.
-We recommend starting the SDK automatically via environment variables so that you only have to make minimal code changes to your lambda function.
+In this guide you will learn how to set up the `@sentry/aws-serverless` SDK for AWS Lambda Event Functions using NPM.
+We recommend starting the SDK automatically via environment variables so that you only have to make minimal code changes to your function.
If you need more control over the SDK setup, you can also [initialize the SDK in code](#option-b-manual-setup).
However, you need to modify your code and deploy the Sentry dependencies alongside your function code. If you're looking for the most simple way to set up Sentry, use the [Lambda Layer](/platforms/javascript/guides/aws-lambda/install/layer/) instead.
@@ -17,7 +17,7 @@ However, you need to modify your code and deploy the Sentry dependencies alongsi
Before you begin, make sure you have the following:
-- You have a Lambda function deployed in AWS.
+- You have a Lambda Event Function deployed in AWS.
- You're able to deploy dependencies (i.e. `node_modules`) alongside your function code to AWS Lambda.
## 2. Install
From 2643f9526b944964b07462b01234c616bff94dd8 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 07:51:30 -0500
Subject: [PATCH 065/141] feat(js): Add a framework selector to the Browser
JavaScript quick start (#20695)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
Follow-up to #19974. The Browser JavaScript page
(`/platforms/javascript/`) now gets the same "Framework" dropdown as the
Node.js, Bun, Deno and Cloudflare quick starts. It replaces the "Using a
framework?" warning, which told readers to find their SDK in the sidebar
dropdown.
Every browser framework has its own SDK, so the dropdown works like the
Cloudflare one: there's no "Set up with this guide" group, and selecting
a framework opens its guide. It lists the 15 frontend and full-stack
frameworks: Angular, Astro, Ember, Gatsby, Next.js, Nuxt, React, React
Router, Remix, Solid, SolidStart, Svelte, SvelteKit, TanStack Start and
Vue. The Markdown export still gets the guide links from the hidden
`GuideLinks` list.
`frameworks.spec.ts` now reads the Browser JavaScript quick start from
`docs/platforms/javascript/common/index.mdx`, because the page has no
`guides/browser/` folder.
Open questions:
- Capacitor, Cordova, Electron, Wasm and Effect are left out because
they aren't web frameworks. Should any of them be in the list?
- The 15 entries are in one alphabetical group. If that's too long, the
group could be split into "Frontend frameworks" and "Full-stack
frameworks". That needs configurable group labels in
`FrameworkSelector`.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via **Jan Peer Stöcklmair**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA6TD3QRK%3A1794329344.260179)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA6TD3QRK%3A1794329344.260179/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jan Peer Stöcklmair
---
docs/platforms/javascript/common/index.mdx | 6 ++---
.../frameworkSelector/frameworks.spec.ts | 8 +++++-
.../frameworkSelector/frameworks.ts | 27 ++++++++++++++++++-
3 files changed, 35 insertions(+), 6 deletions(-)
diff --git a/docs/platforms/javascript/common/index.mdx b/docs/platforms/javascript/common/index.mdx
index f2e64835007ec..27e4d77056ae0 100644
--- a/docs/platforms/javascript/common/index.mdx
+++ b/docs/platforms/javascript/common/index.mdx
@@ -4,11 +4,9 @@
-
+This guide focuses on plain JavaScript. If you're using a framework, select it to open its setup instructions:
-This guide focuses on plain JavaScript. If you're working with React, Next.js, or any other framework, choose the fitting SDK from the left-hand dropdown.
-
-
+
diff --git a/src/components/frameworkSelector/frameworks.spec.ts b/src/components/frameworkSelector/frameworks.spec.ts
index bc95d6b12c363..678adb983c3fb 100644
--- a/src/components/frameworkSelector/frameworks.spec.ts
+++ b/src/components/frameworkSelector/frameworks.spec.ts
@@ -34,6 +34,12 @@ const guidePages = (guide: string) => {
return {path, frontmatter: frontmatter('index.mdx'), children};
};
+/** The quick start page of a runtime. Browser JavaScript is the platform's own page. */
+const quickStartFile = (runtime: string) =>
+ runtime === 'browser'
+ ? 'docs/platforms/javascript/common/index.mdx'
+ : join(GUIDES_DIR, runtime, 'index.mdx');
+
const PLATFORM_CONTENT_RE = /]*)\/>/g;
/**
@@ -56,7 +62,7 @@ const switchableIncludePaths = (runtime: string) => {
}
}
};
- scan(readFileSync(join(GUIDES_DIR, runtime, 'index.mdx'), 'utf8'), true);
+ scan(readFileSync(quickStartFile(runtime), 'utf8'), true);
return [...found].sort();
};
diff --git a/src/components/frameworkSelector/frameworks.ts b/src/components/frameworkSelector/frameworks.ts
index 3d4945367259f..6315035c6f2b6 100644
--- a/src/components/frameworkSelector/frameworks.ts
+++ b/src/components/frameworkSelector/frameworks.ts
@@ -49,8 +49,33 @@ export type Runtime = {
title: string;
};
-/** Runtime guides (keyed by guide slug) that have a framework selector on their getting started page. */
+/**
+ * Runtime guides (keyed by guide slug) that have a framework selector on their getting started
+ * page. `browser` is the Browser JavaScript page at `/platforms/javascript/`.
+ */
export const RUNTIMES: Record = {
+ browser: {
+ title: 'Browser JavaScript',
+ frameworks: [],
+ frameworkGuides: [
+ guide('Angular', 'angular'),
+ guide('Astro', 'astro'),
+ guide('Ember', 'ember'),
+ guide('Gatsby', 'gatsby'),
+ guide('Next.js', 'nextjs'),
+ guide('Nuxt', 'nuxt'),
+ guide('React', 'react'),
+ guide('React Router', 'react-router'),
+ guide('Remix', 'remix'),
+ guide('Solid', 'solid'),
+ guide('SolidStart', 'solidstart'),
+ guide('Svelte', 'svelte'),
+ guide('SvelteKit', 'sveltekit'),
+ guide('TanStack Start', 'tanstackstart-react'),
+ guide('Vue', 'vue'),
+ ],
+ includePaths: [],
+ },
node: {
title: 'Node.js',
frameworks: [EXPRESS, FASTIFY, KOA, HAPI],
From bb5b1b75ceac98d8c639bc5f1905786578d2fc3c Mon Sep 17 00:00:00 2001
From: Alex Alderman Webb
Date: Thu, 12 Nov 2026 13:58:21 +0000
Subject: [PATCH 066/141] docs(python): Document Amazon Bedrock tracing
(#20744)
---
.../python/agent-tracing/bedrock/index.mdx | 101 ++++++++++++++++++
docs/platforms/python/agent-tracing/index.mdx | 1 +
docs/platforms/python/integrations/index.mdx | 1 +
src/components/platformIcon.tsx | 2 +
4 files changed, 105 insertions(+)
create mode 100644 docs/platforms/python/agent-tracing/bedrock/index.mdx
diff --git a/docs/platforms/python/agent-tracing/bedrock/index.mdx b/docs/platforms/python/agent-tracing/bedrock/index.mdx
new file mode 100644
index 0000000000000..887962bfe969d
--- /dev/null
+++ b/docs/platforms/python/agent-tracing/bedrock/index.mdx
@@ -0,0 +1,101 @@
+---
+title: Amazon Bedrock
+description: "Learn about using Sentry for Amazon Bedrock."
+sidebar_order: 31
+---
+
+This integration connects Sentry with [Amazon Bedrock](https://aws.amazon.com/bedrock/) calls made through the [Boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) `bedrock-runtime` client.
+
+Once you've installed this SDK, you can use the Sentry Agents Tracing, a Sentry dashboard that helps you understand what's going on with your AI requests.
+
+Sentry AI Observability will automatically collect information about prompts, tools, tokens, and models. Learn more about the [Agents Dashboard](/product/agents/dashboards/).
+
+
+
+## Install
+
+Install `sentry-sdk` from PyPI:
+
+```bash {tabTitle:pip}
+pip install sentry-sdk
+```
+
+```bash {tabTitle:uv}
+uv add sentry-sdk
+```
+
+## Configure
+
+Add `Boto3Integration()` to your `integrations` list:
+
+```python
+import sentry_sdk
+from sentry_sdk.integrations.boto3 import Boto3Integration
+
+sentry_sdk.init(
+ dsn="___PUBLIC_DSN___",
+ # Set traces_sample_rate to 1.0 to capture 100%
+ # of transactions for tracing.
+ traces_sample_rate=1.0,
+ # Check https://docs.sentry.io/platforms/python/data-management/data-collected/ to configure what data is collected
+ data_collection={
+ "gen_ai": {"inputs": True, "outputs": True},
+ },
+ integrations=[
+ Boto3Integration(),
+ ],
+)
+```
+
+## Verify
+
+Verify that the integration works by making a chat request to Bedrock.
+
+```python
+import boto3
+import sentry_sdk
+
+sentry_sdk.init(...) # same as above
+
+client = boto3.client("bedrock-runtime", region_name="us-east-1")
+
+def my_llm_stuff():
+ # or sentry_sdk.traces.start_span(name="The result of the AI inference", parent_span=None) in stream mode
+ with sentry_sdk.start_transaction(name="The result of the AI inference"):
+ response = client.converse(
+ modelId="us.anthropic.claude-haiku-4-5-20251001-v1:0",
+ messages=[
+ {
+ "role": "user",
+ "content": [{"text": "Tell me a short story about a robot."}],
+ }
+ ],
+ )
+ print(response["output"]["message"]["content"][0]["text"])
+```
+
+After running this script, the resulting data should show up in the `AI Spans` tab on the `Explore > Traces > Trace` page on Sentry.io.
+
+If you manually created an Invoke Agent Span (not done in the example above) the data will also show up in the [Agents Dashboard](/product/agents/dashboards/).
+
+It may take a couple of moments for the data to appear in [sentry.io](https://sentry.io).
+
+## Behavior
+
+- The Boto3 integration will connect Sentry with the supported Bedrock methods automatically.
+
+- The supported methods are currently `converse` and `converse_stream` on the `bedrock-runtime` client.
+
+- Sentry considers LLM inputs/outputs as PII (Personally identifiable information) and doesn't include prompts, messages, or responses by default. Tool definitions are still attached by default; setting `inputs` to `False` in the `gen_ai` key described below removes them. To include prompts, messages, and responses, use the `gen_ai` key of the `data_collection` option, which lets you control inputs and outputs separately. When you pass a `data_collection` dictionary, both are collected by default:
+
+ ```python
+ sentry_sdk.init(
+ # ...
+ data_collection={
+ # Record LLM inputs, but not outputs
+ "gen_ai": {"inputs": True, "outputs": False},
+ },
+ )
+ ```
+
+ Alternatively, set `send_default_pii=True` in the `sentry_sdk.init()` call. `send_default_pii` will be removed in version 3.0 of the SDK.
diff --git a/docs/platforms/python/agent-tracing/index.mdx b/docs/platforms/python/agent-tracing/index.mdx
index 11dd15f3d3679..09db76e8f117c 100644
--- a/docs/platforms/python/agent-tracing/index.mdx
+++ b/docs/platforms/python/agent-tracing/index.mdx
@@ -34,6 +34,7 @@ Pick your AI stack. Each page has install and verify details.
| ✓ |
| | ✓ |
| | ✓ |
| | ✓ |
diff --git a/src/components/platformIcon.tsx b/src/components/platformIcon.tsx
index d7ddb88331ced..3e09dc006a42c 100644
--- a/src/components/platformIcon.tsx
+++ b/src/components/platformIcon.tsx
@@ -993,6 +993,7 @@ export const PLATFORM_TO_ICON = {
android: 'android',
anthropic: 'anthropic',
apple: 'apple',
+ aws: 'aws',
capacitor: 'capacitor',
clojure: 'clojure',
cocoa: 'apple',
@@ -1139,6 +1140,7 @@ export const PLATFORM_TO_ICON = {
'python-gcp-functions': 'gcp-functions',
'python-anthropic': 'anthropic',
'python-beam': 'apache-beam',
+ 'python-bedrock': 'aws',
'python-boto3': 'aws',
'python-bottle': 'bottle',
'python-celery': 'celery',
From f25c8955a20f069f7a77808177b728d87bf411b5 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 15:27:27 +0000
Subject: [PATCH 067/141] Bump API schema to c23c1fc5 (#20757)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 8b75c578ae4f5..b952551d56ca9 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '0a645b70ce7853961410e58f9e177e1af7cd8c7e';
+const SENTRY_API_SCHEMA_SHA = 'c23c1fc534f6fe779eb5255f26effefc23e442dd';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From f4a964df1a9294253c52e673359250947e8102fe Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 15:35:17 +0000
Subject: [PATCH 068/141] Bump API schema to 40e0d71b (#20758)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index b952551d56ca9..446dd9819c229 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'c23c1fc534f6fe779eb5255f26effefc23e442dd';
+const SENTRY_API_SCHEMA_SHA = '40e0d71b6670004bd966cccbd82a695f03573b4f';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b41f5b01ff0b0aae8a7a1835c22d4cb10c607847 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 15:35:57 +0000
Subject: [PATCH 069/141] Bump API schema to 43ec4ae0 (#20759)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 446dd9819c229..97cd741155b35 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '40e0d71b6670004bd966cccbd82a695f03573b4f';
+const SENTRY_API_SCHEMA_SHA = '43ec4ae060a24e8288774af38b4331bd08368ae0';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 372425fd5970808e768530ef9fd509e18d2ac086 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 15:44:10 +0000
Subject: [PATCH 070/141] Bump API schema to d3b6fd0f (#20760)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 97cd741155b35..845113a5e1c61 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '43ec4ae060a24e8288774af38b4331bd08368ae0';
+const SENTRY_API_SCHEMA_SHA = 'd3b6fd0f9d9dc83df0926f2013bb053635c55c11';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 867f9d8d30aefdf3530eb2c2dbed251a21d2c327 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 16:48:06 +0000
Subject: [PATCH 071/141] Bump API schema to 6b734c5b (#20762)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 845113a5e1c61..1251169ce7979 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'd3b6fd0f9d9dc83df0926f2013bb053635c55c11';
+const SENTRY_API_SCHEMA_SHA = '6b734c5b1506ae0e9f1d329040811895b9f11421';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From bb0dff4e48bbc8facc4fcc4a815483c652e2239f Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 16:55:48 +0000
Subject: [PATCH 072/141] Bump API schema to 64a372e0 (#20763)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 1251169ce7979..9f6b04c28570a 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '6b734c5b1506ae0e9f1d329040811895b9f11421';
+const SENTRY_API_SCHEMA_SHA = '64a372e01a310bbd3702c7ca3219f85a34e1ab51';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b806e1c3b52b4a709eb13cbfd5bb799be1cdedb6 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 17:32:08 +0000
Subject: [PATCH 073/141] Bump API schema to e9eff808 (#20764)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 9f6b04c28570a..f27f36b708615 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '64a372e01a310bbd3702c7ca3219f85a34e1ab51';
+const SENTRY_API_SCHEMA_SHA = 'e9eff8081f513db8fe60eeda095d8d7e2c65f1f1';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 23680a0b6761abbecfed99c0b42a8fefc7fe1630 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 17:40:39 +0000
Subject: [PATCH 074/141] Bump API schema to 6a777657 (#20765)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index f27f36b708615..32c2ed1f3fbc5 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'e9eff8081f513db8fe60eeda095d8d7e2c65f1f1';
+const SENTRY_API_SCHEMA_SHA = '6a77765796514794233b7ab023c75d0b878aafd6';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 579b6ccf1381deb9e9d2e012a637ec10b7ce07b2 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 10:00:19 -0800
Subject: [PATCH 075/141] chore(build): Remove Codecov bundle analysis plugin
(#20720)
## DESCRIBE YOUR PR
Removes the `@codecov/nextjs-webpack-plugin` bundle analysis setup,
which was added in #9204. It was the only Codecov integration in this
repo. It only uploaded when `CODECOV_TOKEN` was set, and no GitHub
workflow sets that variable. We don't use Codecov anymore, so this just
removes a webpack plugin from every build.
After removal, the custom `webpack` hook in `next.config.ts` had nothing
left in it, so it's deleted too. If `CODECOV_TOKEN` is still set in the
Vercel project env, it can be removed after this merges.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via **shannon.anahata**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0BB8KQT6MU%3A1794380310.189499)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0BB8KQT6MU%3A1794380310.189499/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Shannon Anahata
---
next.config.ts | 13 --
package.json | 1 -
pnpm-lock.yaml | 322 ++++++++++---------------------------------------
3 files changed, 66 insertions(+), 270 deletions(-)
diff --git a/next.config.ts b/next.config.ts
index a3250e3ff8fa5..875ffec912d81 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -1,4 +1,3 @@
-import {codecovNextJSWebpackPlugin} from '@codecov/nextjs-webpack-plugin';
import {withSentryConfig} from '@sentry/nextjs/config';
import {redirects} from './redirects.js';
@@ -125,18 +124,6 @@ const nextConfig = {
contentDispositionType: 'inline', // "open image in new tab" instead of downloading
remotePatterns: REMOTE_IMAGE_PATTERNS,
},
- webpack: (config, options) => {
- config.plugins.push(
- codecovNextJSWebpackPlugin({
- enableBundleAnalysis: typeof process.env.CODECOV_TOKEN === 'string',
- bundleName: 'sentry-docs',
- uploadToken: process.env.CODECOV_TOKEN,
- webpack: options.webpack,
- })
- );
-
- return config;
- },
env: {
// Inline this per-deployment value into the edge middleware at build time.
// The edge runtime can't read server env vars at request time.
diff --git a/package.json b/package.json
index 89e6c56a44837..de28c8217cf06 100644
--- a/package.json
+++ b/package.json
@@ -133,7 +133,6 @@
},
"devDependencies": {
"@babel/preset-typescript": "^7.15.0",
- "@codecov/nextjs-webpack-plugin": "^1.9.0",
"@eslint/js": "^9.26.0",
"@next/eslint-plugin-next": "^15.3.3",
"@tailwindcss/forms": "^0.5.7",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 87d0e30b39657..25864a5e6f0b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -301,9 +301,6 @@ importers:
'@babel/preset-typescript':
specifier: ^7.15.0
version: 7.28.5(@babel/core@7.29.7)
- '@codecov/nextjs-webpack-plugin':
- specifier: ^1.9.0
- version: 1.9.1(next@15.5.24(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@types/node@22.19.11)(babel-plugin-macros@3.1.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.98.0))(webpack@5.105.2(esbuild@0.28.1)(postcss@8.5.23))
'@eslint/js':
specifier: ^9.26.0
version: 9.39.4
@@ -415,21 +412,6 @@ importers:
packages:
- '@actions/core@1.11.1':
- resolution: {integrity: sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==}
-
- '@actions/exec@1.1.1':
- resolution: {integrity: sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==}
-
- '@actions/github@6.0.1':
- resolution: {integrity: sha512-xbZVcaqD4XnQAe35qSQqskb3SqIAfRyLBrHMd/8TuL7hJSz2QtbDwnNM8zWx4zO5l2fnGtseNE3MbEvD7BxVMw==}
-
- '@actions/http-client@2.2.3':
- resolution: {integrity: sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==}
-
- '@actions/io@1.1.3':
- resolution: {integrity: sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==}
-
'@algolia/cache-browser-local-storage@4.26.0':
resolution: {integrity: sha512-z5oJK50poA6TujwqRCMcevZC3CjqhjAv3mOXde6bZVMroe1PqYuKXbN/bSUTZRAMtKkMJLeVt/WXkneTThRQRA==}
@@ -928,23 +910,6 @@ packages:
'@chevrotain/types@11.1.2':
resolution: {integrity: sha512-U+HFai5+zmJCkK86QsaJtoITlboZHBqrVketcO2ROv865xfCMSFpELQoz1GkX5GzME8pTa+3kbKrZHQtI0gdbw==}
- '@codecov/bundler-plugin-core@1.9.1':
- resolution: {integrity: sha512-dt3ic7gMswz4p/qdkYPVJwXlLiLsz55rBBn2I7mr0HTG8pCoLRqnANJIwo5WrqGBZgPyVSMPBqBra6VxLWfDyA==}
- engines: {node: '>=18.0.0'}
-
- '@codecov/nextjs-webpack-plugin@1.9.1':
- resolution: {integrity: sha512-putRt+22vw+CVtigzVMpTl3B96MxZNC1IkTm5OmZujY4HY/tZt9Qn55rOoa0xQsV4ur3nNN1uiIoPGmJn4ZvVQ==}
- engines: {node: '>=18.0.0'}
- peerDependencies:
- next: 14.x || 15.x
- webpack: 5.x
-
- '@codecov/webpack-plugin@1.9.1':
- resolution: {integrity: sha512-isyETXPJfhuG+UOteElc1X/IHpBG0dZNAa7loquA9N6lcu4szwNkwHvLdnMJ49kjVwcIpZBjUD2eZPhneBcDYQ==}
- engines: {node: '>=18.0.0'}
- peerDependencies:
- webpack: 5.x
-
'@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
@@ -1789,54 +1754,6 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
- '@octokit/auth-token@4.0.0':
- resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==}
- engines: {node: '>= 18'}
-
- '@octokit/core@5.2.2':
- resolution: {integrity: sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==}
- engines: {node: '>= 18'}
-
- '@octokit/endpoint@9.0.6':
- resolution: {integrity: sha512-H1fNTMA57HbkFESSt3Y9+FBICv+0jFceJFPWDePYlR/iMGrwM5ph+Dd4XRQs+8X+PUFURLQgX9ChPfhJ/1uNQw==}
- engines: {node: '>= 18'}
-
- '@octokit/graphql@7.1.1':
- resolution: {integrity: sha512-3mkDltSfcDUoa176nlGoA32RGjeWjl3K7F/BwHwRMJUW/IteSa4bnSV8p2ThNkcIcZU2umkZWxwETSSCJf2Q7g==}
- engines: {node: '>= 18'}
-
- '@octokit/openapi-types@20.0.0':
- resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==}
-
- '@octokit/openapi-types@24.2.0':
- resolution: {integrity: sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==}
-
- '@octokit/plugin-paginate-rest@9.2.2':
- resolution: {integrity: sha512-u3KYkGF7GcZnSD/3UP0S7K5XUFT2FkOQdcfXZGZQPGv3lm4F2Xbf71lvjldr8c1H3nNbF+33cLEkWYbokGWqiQ==}
- engines: {node: '>= 18'}
- peerDependencies:
- '@octokit/core': '5'
-
- '@octokit/plugin-rest-endpoint-methods@10.4.1':
- resolution: {integrity: sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==}
- engines: {node: '>= 18'}
- peerDependencies:
- '@octokit/core': '5'
-
- '@octokit/request-error@5.1.1':
- resolution: {integrity: sha512-v9iyEQJH6ZntoENr9/yXxjuezh4My67CBSu9r6Ve/05Iu5gNgnisNWOsoJHTP6k0Rr0+HQIpnH+kyammu90q/g==}
- engines: {node: '>= 18'}
-
- '@octokit/request@8.4.1':
- resolution: {integrity: sha512-qnB2+SY3hkCmBxZsR/MPCybNmbJe4KAlfWErXq+rBKkQJlbjdJeS85VI9r8UqeLYLvnAenU8Q1okM/0MBsAGXw==}
- engines: {node: '>= 18'}
-
- '@octokit/types@12.6.0':
- resolution: {integrity: sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==}
-
- '@octokit/types@13.10.0':
- resolution: {integrity: sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==}
-
'@opentelemetry/api@1.9.1':
resolution: {integrity: sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==}
engines: {node: '>=8.0.0'}
@@ -4043,9 +3960,6 @@ packages:
bcp-47@2.1.0:
resolution: {integrity: sha512-9IIS3UPrvIa1Ej+lVDdDwO7zLehjqsaByECw0bu2RRGP73jALm6FYbzI5gWbgHLvNdkvfXB5YrSbocZdOS0c0w==}
- before-after-hook@2.2.3:
- resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==}
-
bignumber.js@9.3.1:
resolution: {integrity: sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==}
@@ -4513,9 +4427,6 @@ packages:
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
- deprecation@2.3.1:
- resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==}
-
dequal@2.0.3:
resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
engines: {node: '>=6'}
@@ -7241,10 +7152,6 @@ packages:
engines: {node: '>=18.0.0'}
hasBin: true
- tunnel@0.0.6:
- resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==}
- engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'}
-
type-check@0.4.0:
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
engines: {node: '>= 0.8.0'}
@@ -7294,10 +7201,6 @@ packages:
undici-types@6.21.0:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
- undici@6.27.0:
- resolution: {integrity: sha512-YmfV3YnEDzXRC5lZ2jWtWWHKGUm1zIt8AhesR1tens+HTNv+YZlN/dp6G727LOvMJ8xjP9Be7Y2Sdr96LDm+pg==}
- engines: {node: '>=18.17'}
-
unified@10.1.2:
resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==}
@@ -7352,17 +7255,10 @@ packages:
unist-util-visit@5.1.0:
resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==}
- universal-user-agent@6.0.1:
- resolution: {integrity: sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==}
-
universalify@0.2.0:
resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==}
engines: {node: '>= 4.0.0'}
- unplugin@1.16.1:
- resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==}
- engines: {node: '>=14.0.0'}
-
update-browserslist-db@1.2.3:
resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
hasBin: true
@@ -7585,9 +7481,6 @@ packages:
resolution: {integrity: sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw==}
engines: {node: '>=10.13.0'}
- webpack-virtual-modules@0.6.2:
- resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}
-
webpack@5.105.2:
resolution: {integrity: sha512-dRXm0a2qcHPUBEzVk8uph0xWSjV/xZxenQQbLwnwP7caQCYpqG1qddwlyEkIDkYn0K8tvmcrZ+bOrzoQ3HxCDw==}
engines: {node: '>=10.13.0'}
@@ -7717,40 +7610,11 @@ packages:
resolution: {integrity: sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==}
engines: {node: '>=12.20'}
- zod@3.25.76:
- resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
-
zwitch@2.0.4:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
snapshots:
- '@actions/core@1.11.1':
- dependencies:
- '@actions/exec': 1.1.1
- '@actions/http-client': 2.2.3
-
- '@actions/exec@1.1.1':
- dependencies:
- '@actions/io': 1.1.3
-
- '@actions/github@6.0.1':
- dependencies:
- '@actions/http-client': 2.2.3
- '@octokit/core': 5.2.2
- '@octokit/plugin-paginate-rest': 9.2.2(@octokit/core@5.2.2)
- '@octokit/plugin-rest-endpoint-methods': 10.4.1(@octokit/core@5.2.2)
- '@octokit/request': 8.4.1
- '@octokit/request-error': 5.1.1
- undici: 6.27.0
-
- '@actions/http-client@2.2.3':
- dependencies:
- tunnel: 0.0.6
- undici: 6.27.0
-
- '@actions/io@1.1.3': {}
-
'@algolia/cache-browser-local-storage@4.26.0':
dependencies:
'@algolia/cache-common': 4.26.0
@@ -8628,29 +8492,6 @@ snapshots:
'@chevrotain/types@11.1.2': {}
- '@codecov/bundler-plugin-core@1.9.1':
- dependencies:
- '@actions/core': 1.11.1
- '@actions/github': 6.0.1
- chalk: 4.1.2
- semver: 7.8.5
- unplugin: 1.16.1
- zod: 3.25.76
-
- '@codecov/nextjs-webpack-plugin@1.9.1(next@15.5.24(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@types/node@22.19.11)(babel-plugin-macros@3.1.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.98.0))(webpack@5.105.2(esbuild@0.28.1)(postcss@8.5.23))':
- dependencies:
- '@codecov/bundler-plugin-core': 1.9.1
- '@codecov/webpack-plugin': 1.9.1(webpack@5.105.2(esbuild@0.28.1)(postcss@8.5.23))
- next: 15.5.24(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@types/node@22.19.11)(babel-plugin-macros@3.1.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.98.0)
- unplugin: 1.16.1
- webpack: 5.105.2(esbuild@0.28.1)(postcss@8.5.23)
-
- '@codecov/webpack-plugin@1.9.1(webpack@5.105.2(esbuild@0.28.1)(postcss@8.5.23))':
- dependencies:
- '@codecov/bundler-plugin-core': 1.9.1
- unplugin: 1.16.1
- webpack: 5.105.2(esbuild@0.28.1)(postcss@8.5.23)
-
'@cspotcode/source-map-support@0.8.1':
dependencies:
'@jridgewell/trace-mapping': 0.3.9
@@ -9327,6 +9168,7 @@ snapshots:
dependencies:
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
+ optional: true
'@jridgewell/sourcemap-codec@1.6.0': {}
@@ -9447,64 +9289,6 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.20.1
- '@octokit/auth-token@4.0.0': {}
-
- '@octokit/core@5.2.2':
- dependencies:
- '@octokit/auth-token': 4.0.0
- '@octokit/graphql': 7.1.1
- '@octokit/request': 8.4.1
- '@octokit/request-error': 5.1.1
- '@octokit/types': 13.10.0
- before-after-hook: 2.2.3
- universal-user-agent: 6.0.1
-
- '@octokit/endpoint@9.0.6':
- dependencies:
- '@octokit/types': 13.10.0
- universal-user-agent: 6.0.1
-
- '@octokit/graphql@7.1.1':
- dependencies:
- '@octokit/request': 8.4.1
- '@octokit/types': 13.10.0
- universal-user-agent: 6.0.1
-
- '@octokit/openapi-types@20.0.0': {}
-
- '@octokit/openapi-types@24.2.0': {}
-
- '@octokit/plugin-paginate-rest@9.2.2(@octokit/core@5.2.2)':
- dependencies:
- '@octokit/core': 5.2.2
- '@octokit/types': 12.6.0
-
- '@octokit/plugin-rest-endpoint-methods@10.4.1(@octokit/core@5.2.2)':
- dependencies:
- '@octokit/core': 5.2.2
- '@octokit/types': 12.6.0
-
- '@octokit/request-error@5.1.1':
- dependencies:
- '@octokit/types': 13.10.0
- deprecation: 2.3.1
- once: 1.4.0
-
- '@octokit/request@8.4.1':
- dependencies:
- '@octokit/endpoint': 9.0.6
- '@octokit/request-error': 5.1.1
- '@octokit/types': 13.10.0
- universal-user-agent: 6.0.1
-
- '@octokit/types@12.6.0':
- dependencies:
- '@octokit/openapi-types': 20.0.0
-
- '@octokit/types@13.10.0':
- dependencies:
- '@octokit/openapi-types': 24.2.0
-
'@opentelemetry/api@1.9.1': {}
'@oxc-parser/binding-android-arm-eabi@0.152.0':
@@ -11248,11 +11032,13 @@ snapshots:
dependencies:
'@types/eslint': 9.6.1
'@types/estree': 1.0.9
+ optional: true
'@types/eslint@9.6.1':
dependencies:
'@types/estree': 1.0.9
'@types/json-schema': 7.0.15
+ optional: true
'@types/estree-jsx@1.0.5':
dependencies:
@@ -11504,20 +11290,26 @@ snapshots:
dependencies:
'@webassemblyjs/helper-numbers': 1.13.2
'@webassemblyjs/helper-wasm-bytecode': 1.13.2
+ optional: true
- '@webassemblyjs/floating-point-hex-parser@1.13.2': {}
+ '@webassemblyjs/floating-point-hex-parser@1.13.2':
+ optional: true
- '@webassemblyjs/helper-api-error@1.13.2': {}
+ '@webassemblyjs/helper-api-error@1.13.2':
+ optional: true
- '@webassemblyjs/helper-buffer@1.14.1': {}
+ '@webassemblyjs/helper-buffer@1.14.1':
+ optional: true
'@webassemblyjs/helper-numbers@1.13.2':
dependencies:
'@webassemblyjs/floating-point-hex-parser': 1.13.2
'@webassemblyjs/helper-api-error': 1.13.2
'@xtuc/long': 4.2.2
+ optional: true
- '@webassemblyjs/helper-wasm-bytecode@1.13.2': {}
+ '@webassemblyjs/helper-wasm-bytecode@1.13.2':
+ optional: true
'@webassemblyjs/helper-wasm-section@1.14.1':
dependencies:
@@ -11525,16 +11317,20 @@ snapshots:
'@webassemblyjs/helper-buffer': 1.14.1
'@webassemblyjs/helper-wasm-bytecode': 1.13.2
'@webassemblyjs/wasm-gen': 1.14.1
+ optional: true
'@webassemblyjs/ieee754@1.13.2':
dependencies:
'@xtuc/ieee754': 1.2.0
+ optional: true
'@webassemblyjs/leb128@1.13.2':
dependencies:
'@xtuc/long': 4.2.2
+ optional: true
- '@webassemblyjs/utf8@1.13.2': {}
+ '@webassemblyjs/utf8@1.13.2':
+ optional: true
'@webassemblyjs/wasm-edit@1.14.1':
dependencies:
@@ -11546,6 +11342,7 @@ snapshots:
'@webassemblyjs/wasm-opt': 1.14.1
'@webassemblyjs/wasm-parser': 1.14.1
'@webassemblyjs/wast-printer': 1.14.1
+ optional: true
'@webassemblyjs/wasm-gen@1.14.1':
dependencies:
@@ -11554,6 +11351,7 @@ snapshots:
'@webassemblyjs/ieee754': 1.13.2
'@webassemblyjs/leb128': 1.13.2
'@webassemblyjs/utf8': 1.13.2
+ optional: true
'@webassemblyjs/wasm-opt@1.14.1':
dependencies:
@@ -11561,6 +11359,7 @@ snapshots:
'@webassemblyjs/helper-buffer': 1.14.1
'@webassemblyjs/wasm-gen': 1.14.1
'@webassemblyjs/wasm-parser': 1.14.1
+ optional: true
'@webassemblyjs/wasm-parser@1.14.1':
dependencies:
@@ -11570,19 +11369,23 @@ snapshots:
'@webassemblyjs/ieee754': 1.13.2
'@webassemblyjs/leb128': 1.13.2
'@webassemblyjs/utf8': 1.13.2
+ optional: true
'@webassemblyjs/wast-printer@1.14.1':
dependencies:
'@webassemblyjs/ast': 1.14.1
'@xtuc/long': 4.2.2
+ optional: true
'@xml-tools/parser@1.0.11':
dependencies:
chevrotain: 7.1.1
- '@xtuc/ieee754@1.2.0': {}
+ '@xtuc/ieee754@1.2.0':
+ optional: true
- '@xtuc/long@4.2.2': {}
+ '@xtuc/long@4.2.2':
+ optional: true
abab@2.0.6: {}
@@ -11598,6 +11401,7 @@ snapshots:
acorn-import-phases@1.0.4(acorn@8.18.0):
dependencies:
acorn: 8.18.0
+ optional: true
acorn-jsx@5.3.2(acorn@8.15.0):
dependencies:
@@ -11615,7 +11419,8 @@ snapshots:
acorn@8.16.0: {}
- acorn@8.18.0: {}
+ acorn@8.18.0:
+ optional: true
agent-base@6.0.2:
dependencies:
@@ -11628,11 +11433,13 @@ snapshots:
ajv-formats@3.0.1(ajv@8.20.0):
optionalDependencies:
ajv: 8.20.0
+ optional: true
ajv-keywords@5.1.0(ajv@8.20.0):
dependencies:
ajv: 8.20.0
fast-deep-equal: 3.1.3
+ optional: true
ajv@6.14.0:
dependencies:
@@ -11647,6 +11454,7 @@ snapshots:
fast-uri: 3.1.8
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
+ optional: true
algoliasearch@4.26.0:
dependencies:
@@ -11879,8 +11687,6 @@ snapshots:
is-alphanumerical: 2.0.1
is-decimal: 2.0.1
- before-after-hook@2.2.3: {}
-
bignumber.js@9.3.1: {}
binary-extensions@2.3.0: {}
@@ -11989,7 +11795,8 @@ snapshots:
dependencies:
readdirp: 4.1.2
- chrome-trace-event@1.0.4: {}
+ chrome-trace-event@1.0.4:
+ optional: true
ci-info@3.9.0: {}
@@ -12027,7 +11834,8 @@ snapshots:
comma-separated-tokens@2.0.3: {}
- commander@2.20.3: {}
+ commander@2.20.3:
+ optional: true
commander@4.1.1: {}
@@ -12363,8 +12171,6 @@ snapshots:
delayed-stream@1.0.0: {}
- deprecation@2.3.1: {}
-
dequal@2.0.3: {}
detect-libc@2.1.2: {}
@@ -12472,6 +12278,7 @@ snapshots:
dependencies:
graceful-fs: 4.2.11
tapable: 2.3.3
+ optional: true
entities@2.2.0: {}
@@ -12755,6 +12562,7 @@ snapshots:
dependencies:
esrecurse: 4.3.0
estraverse: 4.3.0
+ optional: true
eslint-scope@8.4.0:
dependencies:
@@ -12824,7 +12632,8 @@ snapshots:
dependencies:
estraverse: 5.3.0
- estraverse@4.3.0: {}
+ estraverse@4.3.0:
+ optional: true
estraverse@5.3.0: {}
@@ -12871,7 +12680,8 @@ snapshots:
event-target-shim@5.0.1: {}
- events@3.3.0: {}
+ events@3.3.0:
+ optional: true
execa@5.1.1:
dependencies:
@@ -12925,7 +12735,8 @@ snapshots:
fast-levenshtein@2.0.6: {}
- fast-uri@3.1.8: {}
+ fast-uri@3.1.8:
+ optional: true
fast-xml-builder@1.2.0:
dependencies:
@@ -13096,7 +12907,8 @@ snapshots:
dependencies:
is-glob: 4.0.3
- glob-to-regexp@0.4.1: {}
+ glob-to-regexp@0.4.1:
+ optional: true
glob@13.0.6:
dependencies:
@@ -14025,6 +13837,7 @@ snapshots:
'@types/node': 22.20.4
merge-stream: 2.0.0
supports-color: 8.1.1
+ optional: true
jest-worker@29.7.0:
dependencies:
@@ -14105,7 +13918,8 @@ snapshots:
json-schema-traverse@0.4.1: {}
- json-schema-traverse@1.0.0: {}
+ json-schema-traverse@1.0.0:
+ optional: true
json-stable-stringify-without-jsonify@1.0.1: {}
@@ -14162,7 +13976,8 @@ snapshots:
lines-and-columns@1.2.4: {}
- loader-runner@4.3.2: {}
+ loader-runner@4.3.2:
+ optional: true
locate-path@5.0.0:
dependencies:
@@ -14750,7 +14565,8 @@ snapshots:
natural-compare@1.4.0: {}
- neo-async@2.6.2: {}
+ neo-async@2.6.2:
+ optional: true
next-plausible@3.12.5(next@15.5.24(@babel/core@7.29.7)(@opentelemetry/api@1.9.1)(@types/node@22.19.11)(babel-plugin-macros@3.1.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(sass@1.98.0))(react-dom@19.2.4(react@19.2.4))(react@19.2.4):
dependencies:
@@ -15649,7 +15465,8 @@ snapshots:
require-directory@2.1.1: {}
- require-from-string@2.0.2: {}
+ require-from-string@2.0.2:
+ optional: true
requires-port@1.0.0: {}
@@ -15821,6 +15638,7 @@ snapshots:
ajv: 8.20.0
ajv-formats: 3.0.1(ajv@8.20.0)
ajv-keywords: 5.1.0(ajv@8.20.0)
+ optional: true
search-insights@2.17.3: {}
@@ -15949,6 +15767,7 @@ snapshots:
dependencies:
buffer-from: 1.1.2
source-map: 0.6.1
+ optional: true
source-map@0.5.7: {}
@@ -16144,7 +15963,8 @@ snapshots:
- tsx
- yaml
- tapable@2.3.3: {}
+ tapable@2.3.3:
+ optional: true
teeny-request@9.0.0:
dependencies:
@@ -16167,6 +15987,7 @@ snapshots:
optionalDependencies:
esbuild: 0.28.1
postcss: 8.5.23
+ optional: true
terser@5.51.2:
dependencies:
@@ -16174,6 +15995,7 @@ snapshots:
acorn: 8.18.0
commander: 2.20.3
source-map-support: 0.5.21
+ optional: true
test-exclude@6.0.0:
dependencies:
@@ -16284,8 +16106,6 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
- tunnel@0.0.6: {}
-
type-check@0.4.0:
dependencies:
prelude-ls: 1.2.1
@@ -16342,8 +16162,6 @@ snapshots:
undici-types@6.21.0: {}
- undici@6.27.0: {}
-
unified@10.1.2:
dependencies:
'@types/unist': 2.0.11
@@ -16437,15 +16255,8 @@ snapshots:
unist-util-is: 6.0.1
unist-util-visit-parents: 6.0.2
- universal-user-agent@6.0.1: {}
-
universalify@0.2.0: {}
- unplugin@1.16.1:
- dependencies:
- acorn: 8.15.0
- webpack-virtual-modules: 0.6.2
-
update-browserslist-db@1.2.3(browserslist@4.28.1):
dependencies:
browserslist: 4.28.1
@@ -16621,6 +16432,7 @@ snapshots:
watchpack@2.5.2:
dependencies:
graceful-fs: 4.2.11
+ optional: true
web-namespaces@2.0.1: {}
@@ -16630,9 +16442,8 @@ snapshots:
webidl-conversions@7.0.0: {}
- webpack-sources@3.5.1: {}
-
- webpack-virtual-modules@0.6.2: {}
+ webpack-sources@3.5.1:
+ optional: true
webpack@5.105.2(esbuild@0.28.1)(postcss@8.5.23):
dependencies:
@@ -16674,6 +16485,7 @@ snapshots:
- lightningcss
- postcss
- uglify-js
+ optional: true
whatwg-encoding@2.0.0:
dependencies:
@@ -16792,6 +16604,4 @@ snapshots:
yocto-queue@1.2.2: {}
- zod@3.25.76: {}
-
zwitch@2.0.4: {}
From 7a7ffc5a334eb054d445b8bc9171a348c870b848 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 18:10:39 +0000
Subject: [PATCH 076/141] Bump API schema to ffef2e1c (#20766)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 32c2ed1f3fbc5..7b777e19973be 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '6a77765796514794233b7ab023c75d0b878aafd6';
+const SENTRY_API_SCHEMA_SHA = 'ffef2e1c0fa38b88f06159659f3bac78c0e8586c';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From f1b98a76769a468fb0bf1868d4c4936af7365e7f Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 18:19:53 +0000
Subject: [PATCH 077/141] Bump API schema to c94043be (#20767)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 7b777e19973be..c9d16a608cb73 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'ffef2e1c0fa38b88f06159659f3bac78c0e8586c';
+const SENTRY_API_SCHEMA_SHA = 'c94043bec3273830a9238b269d2e33b3f92a2d0b';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 6af64848ab0fafcb68a20338b9b500fa4fc25ed1 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 18:51:26 +0000
Subject: [PATCH 078/141] Bump API schema to 9b2c7225 (#20769)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index c9d16a608cb73..0a2d87a849dc0 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'c94043bec3273830a9238b269d2e33b3f92a2d0b';
+const SENTRY_API_SCHEMA_SHA = '9b2c7225088e026a7ff8489cd40fffa8865af3ff';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 5e4a9690cbcc81b17ca825d9af6ebbb49f54084c Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 19:01:05 +0000
Subject: [PATCH 079/141] Bump API schema to 3fe91b7a (#20770)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 0a2d87a849dc0..00b49abba7232 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '9b2c7225088e026a7ff8489cd40fffa8865af3ff';
+const SENTRY_API_SCHEMA_SHA = '3fe91b7adf44cf93bad21d5439923e8827a48441';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 22af4d68f01d0fd24814c3a7e73b72ceaed5a767 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 19:36:34 +0000
Subject: [PATCH 080/141] Bump API schema to 36853aa5 (#20771)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 00b49abba7232..4a546ed2f3d7a 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '3fe91b7adf44cf93bad21d5439923e8827a48441';
+const SENTRY_API_SCHEMA_SHA = '36853aa5797564435e9980030d84689df3bb04f5';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 716f84bfc3fdc7d521c60dc36778e98e416beeea Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 19:45:01 +0000
Subject: [PATCH 081/141] Bump API schema to 277ad58b (#20772)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 4a546ed2f3d7a..7e1be6d947a51 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '36853aa5797564435e9980030d84689df3bb04f5';
+const SENTRY_API_SCHEMA_SHA = '277ad58b83f5a28e84e9a8fca4cddf26ddc5c037';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From af4718b708a6b3ccaaaf5ca3793dd0bce9ee2ebe Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 21:16:09 +0000
Subject: [PATCH 082/141] Bump API schema to 95b38cf1 (#20773)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 7e1be6d947a51..e47f604558973 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '277ad58b83f5a28e84e9a8fca4cddf26ddc5c037';
+const SENTRY_API_SCHEMA_SHA = '95b38cf190bfca73c77a09b2156567ac64daf6a9';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b8932f2b0eceffa42624c6a94282a172415622e5 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 21:25:11 +0000
Subject: [PATCH 083/141] Bump API schema to 9dccc92b (#20774)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index e47f604558973..344b52dd25057 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '95b38cf190bfca73c77a09b2156567ac64daf6a9';
+const SENTRY_API_SCHEMA_SHA = '9dccc92b74f0b5d97d29d63c998ece18dfe886ae';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 36e7968aeeff4cb5cbbe2801759aef28cbaa05fc Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 22:48:13 +0000
Subject: [PATCH 084/141] Bump API schema to 18c2d5fb (#20777)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 344b52dd25057..975dba1e8b444 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '9dccc92b74f0b5d97d29d63c998ece18dfe886ae';
+const SENTRY_API_SCHEMA_SHA = '18c2d5fb69b4be701941c02da0a7adb578dcaee0';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 5e4ffd91b12eabc39cc1235bef5f650b9a98915a Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Thu, 12 Nov 2026 22:56:13 +0000
Subject: [PATCH 085/141] Bump API schema to e5635105 (#20779)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 975dba1e8b444..9eb45a1eb6ba4 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '18c2d5fb69b4be701941c02da0a7adb578dcaee0';
+const SENTRY_API_SCHEMA_SHA = 'e5635105e1d8ce48f225e0a787955586808d54f3';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From f62b827350b4dbd7100534b32068472a27033bef Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 13:40:45 +0000
Subject: [PATCH 086/141] Bump API schema to f15d1f5c (#20795)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 9eb45a1eb6ba4..53409eb979a7b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'e5635105e1d8ce48f225e0a787955586808d54f3';
+const SENTRY_API_SCHEMA_SHA = 'f15d1f5ca4fb6216a05d761d3cf3ddbd79d57b9f';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From bcd767eade11a29ee5126d3214a8faa11435a02a Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 13:48:22 +0000
Subject: [PATCH 087/141] Bump API schema to b771503e (#20796)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 53409eb979a7b..28b44fb8ab598 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'f15d1f5ca4fb6216a05d761d3cf3ddbd79d57b9f';
+const SENTRY_API_SCHEMA_SHA = 'b771503e4d6ef54f1e800a764beb7ee890f57855';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 635a5ec30edc06a5f6768693a6ab6bfbbfc0c3d6 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 14:33:34 +0000
Subject: [PATCH 088/141] Bump API schema to c08ef494 (#20797)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 28b44fb8ab598..683f066c2cae0 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'b771503e4d6ef54f1e800a764beb7ee890f57855';
+const SENTRY_API_SCHEMA_SHA = 'c08ef4942a0c885e4e34932da528ea69f2cb133d';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From e99454f31a81f0812209e0ea77e522714a7342d7 Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 14:37:26 +0000
Subject: [PATCH 089/141] feat(api): Read the API base path from the spec's
server URL (#20787)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
> **Merge order:**
[getsentry/sentry-api-schema#148](https://github.com/getsentry/sentry-api-schema/pull/148)
→
[getsentry/sentry-docs#20787](https://github.com/getsentry/sentry-docs/pull/20787)
→
[getsentry/sentry#131065](https://github.com/getsentry/sentry/pull/131065)
→ the getsentry/toolkit bump, after `@sentry/api` 2.0.0 is published.
Docs has to merge before sentry#131065. When that merges, the spec sync
commits the new spec to sentry-api-schema, which auto-releases
`@sentry/api` and auto-bumps the schema in sentry-docs. Without this PR
merged first, the docs would drop `/api/0` from paths and curl examples.
This PR also works with the current spec.
## DESCRIBE YOUR PR
Sentry's OpenAPI spec is moving `/api/0` out of every path and into its
server URL, so clients read the base path (and the API version in it)
from the spec
([getsentry/sentry-api-schema#148](https://github.com/getsentry/sentry-api-schema/pull/148),
then the getsentry/sentry change). The API reference ignored the
spec-level `servers`, so after that change, pages and curl examples
would drop `/api/0`.
`apiLocation()` joins the server URL's path to each operation path. The
server it shows is only the origin, still `https://sentry.io` by
default, or the operation's own server.
Before, with the new spec shape:
```
GET /organizations/
curl https://sentry.io/organizations/
```
After, with either spec shape:
```
GET /api/0/organizations/
curl https://sentry.io/api/0/organizations/
```
**No visual change, so no screenshots.** I ran `apiCategories()` against
a spec built from getsentry/sentry master and against the same spec
built with the change. The page data was byte-identical, including the
per-operation `https://{region}.sentry.io` server on
`/api/0/seer/models/`.
Checks: the `resolveOpenAPI.spec.ts` vitest suite passes, with one new
table test covering both spec shapes and an operation-level server.
ESLint and Prettier pass on the changed files.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
It does block the getsentry/sentry spec change from merging.
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via @BYK.
--
[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A640c5343d03e547097aa9b8a711daaf5)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A640c5343d03e547097aa9b8a711daaf5/?project=4510944073809921)
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <126780+BYK@users.noreply.github.com>
---
src/build/open-api/types.ts | 1 +
src/build/resolveOpenAPI.spec.ts | 22 +++++++++++++++++++++-
src/build/resolveOpenAPI.ts | 27 +++++++++++++++++++++------
3 files changed, 43 insertions(+), 7 deletions(-)
diff --git a/src/build/open-api/types.ts b/src/build/open-api/types.ts
index 20d07a6947d26..ce7bc72425b9b 100644
--- a/src/build/open-api/types.ts
+++ b/src/build/open-api/types.ts
@@ -78,6 +78,7 @@ export type DeRefedOpenAPI = {
};
};
tags: Tag[];
+ servers?: ServerMeta[];
};
export type ResponseContent = {
diff --git a/src/build/resolveOpenAPI.spec.ts b/src/build/resolveOpenAPI.spec.ts
index 62aef56e2acc3..52a9d563287e2 100644
--- a/src/build/resolveOpenAPI.spec.ts
+++ b/src/build/resolveOpenAPI.spec.ts
@@ -1,6 +1,6 @@
import {describe, expect, test} from 'vitest';
-import {toDocumentedParameter} from './resolveOpenAPI';
+import {apiLocation, toDocumentedParameter} from './resolveOpenAPI';
const EXPERIMENTAL_NOTICE =
'**Experimental:** This parameter is under active development and may change.\n\n';
@@ -44,3 +44,23 @@ describe('toDocumentedParameter', () => {
);
});
});
+
+describe('apiLocation', () => {
+ const regional = [{url: 'https://{region}.sentry.io/api/0'}];
+
+ test.each([
+ [
+ 'paths carry the base path',
+ [{url: 'https://{region}.sentry.io'}],
+ undefined,
+ '/api/0/organizations/',
+ ],
+ ['the server URL carries it', regional, undefined, '/organizations/'],
+ ['an operation server carries it', regional, regional, '/organizations/'],
+ ])('shows the full path when %s', (_, specServers, operationServers, path) => {
+ expect(apiLocation(path, specServers, operationServers)).toEqual({
+ apiPath: '/api/0/organizations/',
+ server: operationServers ? 'https://{region}.sentry.io' : 'https://sentry.io',
+ });
+ });
+});
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 683f066c2cae0..08f61c5159e3b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -126,6 +126,25 @@ export function toDocumentedParameter(
};
}
+const DEFAULT_SERVER = 'https://sentry.io';
+const SERVER_URL = /^([a-z][a-z0-9+.-]*:\/\/[^/]*)(\/.*)?$/i;
+
+// Sentry's spec puts the API base path, such as `/api/0`, in its server URL, and its
+// paths are relative to it. Pages show the origin and the full path after it.
+export function apiLocation(
+ path: string,
+ specServers: {url: string}[] | undefined,
+ operationServers: {url: string}[] | undefined
+): {apiPath: string; server: string} {
+ const operationServer = operationServers?.[0]?.url;
+ const [, origin = DEFAULT_SERVER, basePath = ''] =
+ SERVER_URL.exec(operationServer ?? specServers?.[0]?.url ?? '') ?? [];
+ return {
+ apiPath: `${basePath.replace(/\/+$/, '')}${path}`,
+ server: operationServer ? origin : DEFAULT_SERVER,
+ };
+}
+
function isDeprecatedOperationId(operationId: string | undefined): boolean {
return operationId ? DEPRECATED_PREFIX_REGEX.test(operationId) : false;
}
@@ -168,18 +187,14 @@ async function apiCategoriesUncached(): Promise {
const titleSource = apiData.summary || apiData.operationId || '';
const cleanName = stripDeprecatedPrefix(titleSource);
- let server = 'https://sentry.io';
- if (apiData.servers && apiData.servers[0]) {
- server = apiData.servers[0].url;
- }
+ const location = apiLocation(apiPath, data.servers, apiData.servers);
apiData.tags.forEach(tag => {
categoryMap[tag].apis.push({
- apiPath,
+ ...location,
method,
name: cleanName,
deprecated: isDeprecated,
experimental: isExperimental,
- server,
slug: slugify(cleanName),
summary: apiData.summary
? stripDeprecatedPrefix(apiData.summary)
From a3d78d8c031dc1abbab4df6e3f38efd981790014 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 14:42:57 +0000
Subject: [PATCH 090/141] Bump API schema to f05e956a (#20798)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 08f61c5159e3b..74fa04f6cefce 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'c08ef4942a0c885e4e34932da528ea69f2cb133d';
+const SENTRY_API_SCHEMA_SHA = 'f05e956a9d0603cde9e3bd1af40a8ba141b4c882';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From db96a79183f3a9008c4cc1323f01765c035bb479 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:06:18 +0000
Subject: [PATCH 091/141] Bump API schema to 36d0d115 (#20799)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 74fa04f6cefce..f6ff435a1afde 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'f05e956a9d0603cde9e3bd1af40a8ba141b4c882';
+const SENTRY_API_SCHEMA_SHA = '36d0d1159d8b494f5cfbbd56bc18855fd683e9c9';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From bea506af0795d19b5412e69f13ef0b5920c44ec2 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:08:56 +0000
Subject: [PATCH 092/141] Bump API schema to 153706be (#20800)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index f6ff435a1afde..f66f3e60e385b 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '36d0d1159d8b494f5cfbbd56bc18855fd683e9c9';
+const SENTRY_API_SCHEMA_SHA = '153706be2e16174c7e6bfce382b0f20feb3bddcf';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From e1a31cc9a7fccd239c675fc62c890cda25f9c510 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:25:05 +0000
Subject: [PATCH 093/141] Bump API schema to 2c01f623 (#20801)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index f66f3e60e385b..6a35ee00d40bf 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '153706be2e16174c7e6bfce382b0f20feb3bddcf';
+const SENTRY_API_SCHEMA_SHA = '2c01f62369fa57abcd08fb95c9c0959d6ac9f814';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From a2d3512183e8f33e5fa27a9ffc1cb7b8edc95e99 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:26:23 +0000
Subject: [PATCH 094/141] Bump API schema to 78718872 (#20802)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 6a35ee00d40bf..5b8c62b20b839 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '2c01f62369fa57abcd08fb95c9c0959d6ac9f814';
+const SENTRY_API_SCHEMA_SHA = '78718872cd054c9e708fd944c50f2c3bce3e864c';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 48055c18b4f36f7f754a737c0fc00f1d630b0d23 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:44:15 +0000
Subject: [PATCH 095/141] Bump API schema to 19b0d618 (#20803)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 5b8c62b20b839..9315823ceb32a 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '78718872cd054c9e708fd944c50f2c3bce3e864c';
+const SENTRY_API_SCHEMA_SHA = '19b0d618175a4e35e2808fa32b0088d7daf4a69a';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From b2730e0ab8ab7fe3989477272956dff67e7001ef Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:46:53 +0000
Subject: [PATCH 096/141] Bump API schema to a2c2741c (#20804)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 9315823ceb32a..91ad650412a38 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '19b0d618175a4e35e2808fa32b0088d7daf4a69a';
+const SENTRY_API_SCHEMA_SHA = 'a2c2741c1598b513c3757e76f6cbb512aa61025b';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 1b7ba5cea304dfec0e461e5b053b514b4ed13c58 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:49:59 +0000
Subject: [PATCH 097/141] Bump API schema to 5710a54d (#20805)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 91ad650412a38..a54d47b1bc614 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = 'a2c2741c1598b513c3757e76f6cbb512aa61025b';
+const SENTRY_API_SCHEMA_SHA = '5710a54d2560cf682f650fd93497ae5300362541';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 6fab73b264af82a034d27825a681cf621f25fbbf Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 15:52:52 +0000
Subject: [PATCH 098/141] Bump API schema to 461c4966 (#20806)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index a54d47b1bc614..c32e7cb876733 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '5710a54d2560cf682f650fd93497ae5300362541';
+const SENTRY_API_SCHEMA_SHA = '461c49666fed7649f1ba51c19cb618ae4c81e594';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 05480c1d760fb4592fa65e745380d5bc2bc7ce68 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 16:00:50 +0000
Subject: [PATCH 099/141] Bump API schema to 6c92bebc (#20807)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index c32e7cb876733..c70cc166d27e8 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '461c49666fed7649f1ba51c19cb618ae4c81e594';
+const SENTRY_API_SCHEMA_SHA = '6c92bebc3cbb1a4b6498ca2429626503e9c9bd8e';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From e6fb2b0e22a66f0793aa9c43eb4a4e501c27f815 Mon Sep 17 00:00:00 2001
From: Stefan Jandl
Date: Fri, 13 Nov 2026 17:04:55 +0100
Subject: [PATCH 100/141] docs(unity): Fix broken code samples and migration
guide (#20412)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
Fixes Unity code samples that don't compile against SDK 4.x, and brings
the migration guide up to date. Every sample was checked against the
sentry-unity 4.13.0 source.
Changes:
- `SentryUnity.Init` in code samples (class removed in 4.0): the
Environments, Releases and Event Debouncing samples use `SentrySdk.Init`
with `using Sentry.Unity;`.
- The 4.0.0 migration guide omits the main breaking change: new "Static
API moved to `Sentry.Unity`" section, plus a "Renamed options" section
(`AttachBreadcrumbsToEvents` → `AddBreadcrumbsWithStructuredLogs`).
- The 4.0.0 migration sample derives from a non-existent
`OptionsConfiguration`: it derives from `SentryOptionsConfiguration`.
- The troubleshooting APK+OBB manual-init sample doesn't compile on 4.x:
usings and DSN placeholder added, and the text explains why this case
keeps **Enable Sentry** checked.
- Manual initialization is undocumented: new "Manual Initialization"
section on the programmatic-configuration page, with a warning that
unchecking **Enable Sentry** turns off native support and symbol upload.
On WebGL the sample initializes at `AfterSceneLoad`, since the SDK sets
itself up at `BeforeSceneLoad` there.
- The configure-scope sample uses the removed `User` type: new Unity
include, and the .NET include uses `SentryUser`.
- Distributed-tracing samples don't compile: namespaces fixed, and the
POST sample uses a `UnityWebRequest` form that exists on Unity 2021.3.
- Sampling samples (.NET fallback) don't compile: `0.25f`, a missing
comma, and `isSampled` as a named argument.
- Structured logs: `SentryLog.ParentSpanId` doesn't exist; it's
`SpanId`.
- Migration guide 3.0 and Lite sections are stale: Unity 2021.3, the
0.11.0 steps match the editor, and a typo is fixed.
- The custom-instrumentation sample is missing a `;`.
- Hook names render as identifiers that don't exist (`BeforeSend`): the
pages use `SetBeforeSend`, `SetBeforeSendTransaction` and
`SetBeforeBreadcrumb`. The attachments page's `mimetype` parameter is
`contentType`.
- The 4.0 `CaptureFeedback` "After" sample uses the removed
`UserFeedback`; it uses `SentryFeedback` now.
**Shared .NET includes changed** (these render on the .NET docs too, so
a .NET docs reviewer may want a look):
`configuration/sample-rate/dotnet.mdx`,
`performance/custom-sampling-context/dotnet.mdx`,
`performance/force-sampling-decision/dotnet.mdx`,
`performance/add-spans-example/dotnet.mdx`,
`enriching-events/scopes/configure-scope/dotnet.mdx`.
Pages to check on the preview:
- `/platforms/unity/migration/`
-
`/platforms/unity/configuration/options/programmatic-configuration/#manual-initialization`
- `/platforms/unity/configuration/filtering/`
- `/platforms/unity/enriching-events/scopes/`
- `/platforms/unity/configuration/sampling/`
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
.../configuration/event-debouncing/index.mdx | 3 +-
.../unity/configuration/filtering.mdx | 8 +--
.../programmatic-configuration/index.mdx | 34 +++++++++++
.../enriching-events/attachments/index.mdx | 6 +-
.../enriching-events/breadcrumbs/index.mdx | 2 +-
docs/platforms/unity/migration/index.mdx | 58 ++++++++++++++-----
.../platforms/unity/troubleshooting/index.mdx | 8 +--
.../configuration/sample-rate/dotnet.mdx | 4 +-
.../custom-instrumentation/unity.mdx | 14 ++++-
.../scopes/configure-scope/dotnet.mdx | 4 +-
.../scopes/configure-scope/unity.mdx | 14 +++++
platform-includes/logs/setup/unity.mdx | 2 +-
.../performance/add-spans-example/dotnet.mdx | 2 +-
.../custom-sampling-context/dotnet.mdx | 2 +-
.../force-sampling-decision/dotnet.mdx | 2 +-
platform-includes/set-environment/unity.mdx | 2 +-
platform-includes/set-release/unity.mdx | 2 +-
17 files changed, 123 insertions(+), 44 deletions(-)
create mode 100644 platform-includes/enriching-events/scopes/configure-scope/unity.mdx
diff --git a/docs/platforms/unity/configuration/event-debouncing/index.mdx b/docs/platforms/unity/configuration/event-debouncing/index.mdx
index beab2938c5514..2d72ce36a85fa 100644
--- a/docs/platforms/unity/configuration/event-debouncing/index.mdx
+++ b/docs/platforms/unity/configuration/event-debouncing/index.mdx
@@ -16,13 +16,14 @@ The time that needs to pass after an event has been triggered to be captured aga
```csharp
+using Sentry.Unity;
using UnityEngine;
public class DebouncerTestMonoBehaviour : MonoBehaviour
{
void Start()
{
- SentryUnity.Init(o =>
+ SentrySdk.Init(o =>
{
o.Dsn = "___PUBLIC_DSN___";
o.EnableLogDebouncing = true;
diff --git a/docs/platforms/unity/configuration/filtering.mdx b/docs/platforms/unity/configuration/filtering.mdx
index 41c61d553738c..06b922a4b6884 100644
--- a/docs/platforms/unity/configuration/filtering.mdx
+++ b/docs/platforms/unity/configuration/filtering.mdx
@@ -12,11 +12,11 @@ We also offer [Inbound Filters](/concepts/data-management/filtering/) to filter
## Filtering Error Events
-Configure your SDK to filter error events by using the callback method and configuring, enabling, or disabling integrations.
+Configure your SDK to filter error events by using the callback method and configuring, enabling, or disabling integrations.
-### Using
+### Using
-All Sentry SDKs support the callback method. Because it's called immediately before the event is sent to the server, this is your last chance to decide not to send data or to edit it. receives the event object as a parameter, which you can use to either modify the event’s data or drop it completely by returning `null`, based on custom logic and the data available on the event.
+All Sentry SDKs support the callback method. Because it's called immediately before the event is sent to the server, this is your last chance to decide not to send data or to edit it. receives the event object as a parameter, which you can use to either modify the event’s data or drop it completely by returning `null`, based on custom logic and the data available on the event.
@@ -24,7 +24,7 @@ Note also that breadcrumbs can be filtered, as discussed in [our Breadcrumbs doc
## Filtering Transaction Events
-To prevent certain transactions from being reported to Sentry, use the or configuration option, which allows you to provide a function to evaluate the current transaction and drop it if it's not one you want.
+To prevent certain transactions from being reported to Sentry, use the or configuration option, which allows you to provide a function to evaluate the current transaction and drop it if it's not one you want.
### Using
diff --git a/docs/platforms/unity/configuration/options/programmatic-configuration/index.mdx b/docs/platforms/unity/configuration/options/programmatic-configuration/index.mdx
index 4c5e2b9bb8420..b3a4e916d47a6 100644
--- a/docs/platforms/unity/configuration/options/programmatic-configuration/index.mdx
+++ b/docs/platforms/unity/configuration/options/programmatic-configuration/index.mdx
@@ -67,3 +67,37 @@ With runtime initialization, the native SDKs are initialized at runtime alongsid
### Build Time Initialization
When using build time initialization, the native SDKs are configured during build time and initialize before the Unity engine starts. This means the options are baked into the outputted projects and cannot be modified at runtime via C# code. Changes to properties like `Release` and `Environment` will not apply to events generated by the native SDKs.
+
+## Manual Initialization
+
+To initialize the SDK yourself instead of letting it self-initialize, uncheck **Enable Sentry** in the editor window (**Tools > Sentry**) and call `SentrySdk.Init` as early as possible, for example from a `RuntimeInitializeOnLoadMethod`:
+
+```csharp
+using Sentry.Unity;
+using UnityEngine;
+
+public static class SentryInitializer
+{
+#if UNITY_WEBGL
+ // On WebGL, the SDK sets itself up at BeforeSceneLoad, so initialize after it
+ [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
+#else
+ [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
+#endif
+ private static void Init()
+ {
+ SentrySdk.Init(options =>
+ {
+ options.Dsn = "___PUBLIC_DSN___";
+ });
+ }
+}
+```
+
+When you initialize manually, the options from the editor window and the option configuration script don't apply. Only the options you set in code are used.
+
+
+
+With **Enable Sentry** unchecked, the build doesn't set up native support or upload debug symbols, so the SDK only captures C# errors. To keep native crash support, leave **Enable Sentry** checked and use the option configuration script instead.
+
+
diff --git a/docs/platforms/unity/enriching-events/attachments/index.mdx b/docs/platforms/unity/enriching-events/attachments/index.mdx
index 6a982c9303b3d..005d7d0ac990d 100644
--- a/docs/platforms/unity/enriching-events/attachments/index.mdx
+++ b/docs/platforms/unity/enriching-events/attachments/index.mdx
@@ -25,11 +25,7 @@ The filename is the name of the file to display in Sentry. When using bytes you
`contentType`
-The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
-
-`mimetype`
-
-The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
+The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`. The content type also determines how the attachment is rendered in the Sentry UI. Sentry can render the following MIME types:
- `text/plain`
- `text/css`
diff --git a/docs/platforms/unity/enriching-events/breadcrumbs/index.mdx b/docs/platforms/unity/enriching-events/breadcrumbs/index.mdx
index df05624f6743d..892dd982c9bf2 100644
--- a/docs/platforms/unity/enriching-events/breadcrumbs/index.mdx
+++ b/docs/platforms/unity/enriching-events/breadcrumbs/index.mdx
@@ -27,7 +27,7 @@ Manually record a breadcrumb:
## Customize Breadcrumbs
-SDKs allow you to customize breadcrumbs through the hook.
+SDKs allow you to customize breadcrumbs through the hook.
This hook is passed an already assembled breadcrumb and, in some SDKs, an optional hint. The function can modify the breadcrumb or decide to discard it entirely by returning `null`:
diff --git a/docs/platforms/unity/migration/index.mdx b/docs/platforms/unity/migration/index.mdx
index 29a2481ec7fc6..cf2e63531c7bb 100644
--- a/docs/platforms/unity/migration/index.mdx
+++ b/docs/platforms/unity/migration/index.mdx
@@ -7,9 +7,34 @@ sidebar_section: configuration
## Migrating to 4.0.0
+### Static API moved to `Sentry.Unity`
+
+The SDK's static API has moved from `Sentry.Unity.SentryUnity` and `Sentry.SentrySdk` to `Sentry.Unity.SentrySdk`. The underlying .NET SDK's `SentrySdk` class is now internal, so code with only `using Sentry;` no longer compiles.
+
+Update your `using` directives and replace calls to `SentryUnity`:
+
+**Before:**
+```csharp
+using Sentry;
+using Sentry.Unity;
+
+SentryUnity.Init(options => options.Dsn = "___PUBLIC_DSN___");
+SentrySdk.CaptureMessage("Test event");
+```
+
+**After:**
+```csharp
+using Sentry.Unity;
+
+SentrySdk.Init(options => options.Dsn = "___PUBLIC_DSN___");
+SentrySdk.CaptureMessage("Test event");
+```
+
+Calls such as `SentrySdk.CaptureException()` stay the same. Keep `using Sentry;` as well if you use types from that namespace, like `SentryId` or `SentryLevel`.
+
### Minimum Unity version
-Unity 2020 support has been removed as it reached End of Life in 2023. The minimum supported version is now Unity 2021.
+Unity 2020 support has been removed as it reached End of Life in 2023. The minimum supported version is now Unity 2021.3.
### Ubuntu version requirement for Linux servers
@@ -17,10 +42,12 @@ If you are running your game on a Linux server, note that `sentry-native` is now
### Programmatic configuration changes
-The deprecated `RuntimeConfiguration` and `BuildtimeConfiguration` classes have been removed. You must now use the single `OptionsConfiguration` script for all programmatic configuration. Use preprocessor directives to set platform-specific options:
+The deprecated `RuntimeConfiguration` and `BuildtimeConfiguration` classes have been removed. You must now use a single options configuration script, deriving from `SentryOptionsConfiguration`, for all programmatic configuration. Use preprocessor directives to set platform-specific options:
```csharp
-public class SentryOptionsConfiguration : OptionsConfiguration
+using Sentry.Unity;
+
+public class MyOptionsConfiguration : SentryOptionsConfiguration
{
public override void Configure(SentryUnityOptions options)
{
@@ -92,12 +119,8 @@ SentrySdk.CaptureUserFeedback(new UserFeedback(eventId, "user@example.com", "Use
**After:**
```csharp
-var feedbackResult = SentrySdk.CaptureFeedback(new UserFeedback
-{
- Email = "user@example.com",
- Message = "User comment",
- Name = "User Name"
-}, out var captureResult);
+var feedback = new SentryFeedback("User comment", "user@example.com", "User Name", associatedEventId: eventId);
+var feedbackId = SentrySdk.CaptureFeedback(feedback, out var captureResult);
```
Note that `CaptureFeedback` now returns a `SentryId` and provides a `CaptureFeedbackResult` out parameter to indicate capture success or failure reason.
@@ -143,6 +166,10 @@ Backpressure handling is now enabled by default. The SDK will monitor system hea
The SDK now always adds a breadcrumb when capturing an exception. The option to opt-out of this behavior has been removed.
+### Renamed options
+
+The option `AttachBreadcrumbsToEvents` has been renamed to `AddBreadcrumbsWithStructuredLogs`. It controls whether logs that are sent as structured logs are also added as breadcrumbs.
+
### Tag changes
The SDK no longer sets tags automatically. Tag promotion from contexts now happens exclusively in Sentry. The following tags have been removed:
@@ -167,7 +194,7 @@ To restore the previous behaviour, you can set the `IosNativeInitializationType`
The Runtime- and BuildTime-Configuration have been merged into a single OptionsConfiguration script. This allows for programmatic configuration of the SDK in one place using preprocessor directives instead of having to duplicate setting options in two different files.
-You can still use the old configuration classes, but they have been deprecated and will be removed in a future version. Going forward, you should use the new OptionsConfiguration script and make use of the preprocessor directives when setting options for different platforms.
+The old configuration classes were deprecated in this version and removed in 4.0.0. Use a single options configuration script and preprocessor directives to set options for different platforms.
## Migrating to 0.28.0
@@ -184,20 +211,19 @@ If you make use of the programmatic configuration, you'll need to update your im
### Programmatic Configuration Changes
-You no longer need to to call `SentryUnity.Init`. Instead, you can let the SDK self-initialize and modify the options taken from the Sentry Unity editor configuration window by providing a `ScriptableOptionsConfiguration` object.
+You no longer need to call `SentryUnity.Init`. Instead, you can let the SDK self-initialize and modify the options taken from the Sentry Unity editor configuration window by providing a `ScriptableOptionsConfiguration` object.
- Open the Sentry Unity editor configuration window.
- Go to the `Options Config` tab.
-- Click `Create options configuration`.
- - This will prompt you to pick a location for your version of the scriptable options configuration script.
- - It will also create an instance of the ScriptableOptionsConfiguration and set in it the configuration window.
+- Click **New** next to **Option Config Script**.
+ - This creates a script deriving from `SentryOptionsConfiguration` and an instance of it, and sets it in the configuration window.
- Add your code to the newly created script.
Learn more in our [options documentation](/platforms/unity/configuration/options/).
## Migrating From 0.7.0 or Earlier
-Starting from version 0.7.0, the SDK is [aliasing](https://blog.sentry.io/2022/02/24/alias-an-approach-to-net-assembly-conflict-resolution) its dependencies. We do this to avoid creating conflicts with other packages. This also means that if you were relying on our dependencies for certain types like `System.Text.Json`, then you'll have to import them into your project yourself going forward.
+Starting from version 0.7.0, the SDK is [aliasing](https://blog.sentry.io/alias-an-approach-to-net-assembly-conflict-resolution/) its dependencies. We do this to avoid creating conflicts with other packages. This also means that if you were relying on our dependencies for certain types like `System.Text.Json`, then you'll have to import them into your project yourself going forward.
## Migrating From 0.3.0 or Earlier
@@ -210,7 +236,7 @@ The Sentry SDK deprecated the use of JSON files to store options and now uses sc
The Sentry Unity Lite SDK is deprecated for mobile, desktop, WebGL, and console players.
Customers using Unity 5.x can still use the Sentry Unity Lite as it continues to be compatible with sentry.io.
-The updated Sentry Unity SDK requires Unity version 2019.4 or higher with .NET Standard 2.0 scripting profile.
+The updated Sentry Unity SDK requires Unity 2021.3 or higher.
diff --git a/docs/platforms/unity/troubleshooting/index.mdx b/docs/platforms/unity/troubleshooting/index.mdx
index 57557090d8f44..0ac4d537926a2 100644
--- a/docs/platforms/unity/troubleshooting/index.mdx
+++ b/docs/platforms/unity/troubleshooting/index.mdx
@@ -45,7 +45,8 @@ When exporting your Unity project as APK+OBB, the `ScriptableSentryOptions` conf
Instead of relying on the ScriptableObject configuration and auto-initialization, you can manually initialize the SDK from your code:
```csharp
-using Sentry;
+using Sentry.Unity;
+using UnityEngine;
public class GameInitializer : MonoBehaviour
{
@@ -53,7 +54,7 @@ public class GameInitializer : MonoBehaviour
{
SentrySdk.Init(options =>
{
- options.Dsn = "YOUR_DSN_HERE";
+ options.Dsn = "___PUBLIC_DSN___";
options.Debug = true;
// Add other configuration options as needed
});
@@ -61,8 +62,7 @@ public class GameInitializer : MonoBehaviour
}
```
-Since this way the options are embedded in code, the reliance on the `/Resources` being available at the time of initialization falls away.
-Prior to version `4.0.0`, native support is limited when programmatically initializing the SDK.
+Since this way the options are embedded in code, the reliance on the `/Resources` being available at the time of initialization falls away. Unlike regular [manual initialization](/platforms/unity/configuration/options/programmatic-configuration/#manual-initialization), keep **Enable Sentry** checked in the editor window: the SDK can't load its options from the OBB, so your `SentrySdk.Init` call is the only one, and the build still sets up native support.
### Library not loaded: @rpath/Sentry.framework/Sentry
diff --git a/platform-includes/configuration/sample-rate/dotnet.mdx b/platform-includes/configuration/sample-rate/dotnet.mdx
index 513e0e52c4676..1c37c1b6d8e70 100644
--- a/platform-includes/configuration/sample-rate/dotnet.mdx
+++ b/platform-includes/configuration/sample-rate/dotnet.mdx
@@ -1,9 +1,9 @@
```csharp
// Add this to the SDK initialization callback
-options.SampleRate = 0.25;
+options.SampleRate = 0.25f;
```
```fsharp
// Add this to the SDK initialization callback
-options.SampleRate <- 0.25 // Capture 25%
+options.SampleRate <- Nullable 0.25f // Capture 25%
```
diff --git a/platform-includes/distributed-tracing/custom-instrumentation/unity.mdx b/platform-includes/distributed-tracing/custom-instrumentation/unity.mdx
index 424e9fd811f62..e9e3e7ee68c6e 100644
--- a/platform-includes/distributed-tracing/custom-instrumentation/unity.mdx
+++ b/platform-includes/distributed-tracing/custom-instrumentation/unity.mdx
@@ -21,6 +21,7 @@ If you're using .NET's `HttpClient`, you can extract trace headers from the resp
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
+using Sentry.Unity;
using UnityEngine;
public class TraceReceiver : MonoBehaviour
@@ -73,6 +74,7 @@ For WebGL builds or if you prefer Unity's coroutine-based approach, use `UnityWe
```csharp
using System.Collections;
+using Sentry.Unity;
using UnityEngine;
using UnityEngine.Networking;
@@ -128,7 +130,7 @@ The easiest way to propagate traces is to use .NET's `HttpClient` with `SentryHt
```csharp
using System.Net.Http;
using System.Threading.Tasks;
-using Sentry.Http;
+using Sentry;
using UnityEngine;
public class TraceSender : MonoBehaviour
@@ -164,6 +166,7 @@ For WebGL builds or if you prefer Unity's coroutine-based approach, you can manu
```csharp
using System.Collections;
+using Sentry.Unity;
using UnityEngine;
using UnityEngine.Networking;
@@ -171,8 +174,13 @@ public class TraceSender : MonoBehaviour
{
IEnumerator SendRequest()
{
- var jsonData = "{}";
- using var www = UnityWebRequest.Post("https://example.com/api/action", jsonData, "application/json");
+ var jsonData = System.Text.Encoding.UTF8.GetBytes("{}");
+ using var www = new UnityWebRequest("https://example.com/api/action", UnityWebRequest.kHttpVerbPOST)
+ {
+ uploadHandler = new UploadHandlerRaw(jsonData),
+ downloadHandler = new DownloadHandlerBuffer()
+ };
+ www.SetRequestHeader("Content-Type", "application/json");
// Add Sentry trace headers to propagate the trace
var traceHeader = SentrySdk.GetTraceHeader();
diff --git a/platform-includes/enriching-events/scopes/configure-scope/dotnet.mdx b/platform-includes/enriching-events/scopes/configure-scope/dotnet.mdx
index e4dae22941902..3ed47f913d2bd 100644
--- a/platform-includes/enriching-events/scopes/configure-scope/dotnet.mdx
+++ b/platform-includes/enriching-events/scopes/configure-scope/dotnet.mdx
@@ -2,7 +2,7 @@
SentrySdk.ConfigureScope(scope =>
{
scope.SetTag("my-tag", "my value");
- scope.User = new User
+ scope.User = new SentryUser
{
Id = "42",
Email = "john.doe@example.com"
@@ -16,7 +16,7 @@ open Sentry
SentrySdk.ConfigureScope (
fun scope ->
scope.SetTag ("my-tag", "my value")
- scope.User <- User (
+ scope.User <- SentryUser (
Id = "42",
Email = "john.doe@example.com"
)
diff --git a/platform-includes/enriching-events/scopes/configure-scope/unity.mdx b/platform-includes/enriching-events/scopes/configure-scope/unity.mdx
new file mode 100644
index 0000000000000..ff24947c92843
--- /dev/null
+++ b/platform-includes/enriching-events/scopes/configure-scope/unity.mdx
@@ -0,0 +1,14 @@
+```csharp
+using Sentry;
+using Sentry.Unity;
+
+SentrySdk.ConfigureScope(scope =>
+{
+ scope.SetTag("my-tag", "my value");
+ scope.User = new SentryUser
+ {
+ Id = "42",
+ Email = "john.doe@example.com"
+ };
+});
+```
diff --git a/platform-includes/logs/setup/unity.mdx b/platform-includes/logs/setup/unity.mdx
index 7b2dc0a85f608..45aa10d1aa361 100644
--- a/platform-includes/logs/setup/unity.mdx
+++ b/platform-includes/logs/setup/unity.mdx
@@ -77,6 +77,6 @@ The log object of type `SentryLog` has the following members:
- `Message` Property: (`string`) The formatted log message.
- `Template` Property: (`string?`) The parameterized template string.
- `Parameters` Property: (`ImmutableArray>`) The parameters to the template string.
-- `ParentSpanId` Property: (`SpanId?`) The span id of the span that was active when the log was collected.
+- `SpanId` Property: (`SpanId?`) The span id of the span that was active when the log was collected.
- `TryGetAttribute(string key, out object value)` Method: Gets the attribute value associated with the specified key. Returns `true` if the log contains an attribute with the specified key and it's value is not `null`, otherwise `false`.
- `SetAttribute(string key, object value)` Method: Sets a key-value pair of data attached to the log. Supported types are `string`, `bool`, integers up to a size of 64-bit signed, and floating-point numbers up to a size of 64-bit.
diff --git a/platform-includes/performance/add-spans-example/dotnet.mdx b/platform-includes/performance/add-spans-example/dotnet.mdx
index b348f4e8a06a2..23a8809822544 100644
--- a/platform-includes/performance/add-spans-example/dotnet.mdx
+++ b/platform-includes/performance/add-spans-example/dotnet.mdx
@@ -28,7 +28,7 @@ public async Task PerformCheckoutAsync()
var processSpan = transaction.StartChild(
"process", // operation
"processing shopping cart" // description
- )
+ );
await ProcessShoppingCartAsync();
diff --git a/platform-includes/performance/custom-sampling-context/dotnet.mdx b/platform-includes/performance/custom-sampling-context/dotnet.mdx
index 262b06668a7aa..8dccdf72802fc 100644
--- a/platform-includes/performance/custom-sampling-context/dotnet.mdx
+++ b/platform-includes/performance/custom-sampling-context/dotnet.mdx
@@ -7,7 +7,7 @@ var samplingContext = new Dictionary
};
var transaction = SentrySdk.StartTransaction(
- new TransactionContext("GET /search", "http")
+ new TransactionContext("GET /search", "http"),
samplingContext
);
diff --git a/platform-includes/performance/force-sampling-decision/dotnet.mdx b/platform-includes/performance/force-sampling-decision/dotnet.mdx
index 9da3c20ea4822..4fb26553f9e05 100644
--- a/platform-includes/performance/force-sampling-decision/dotnet.mdx
+++ b/platform-includes/performance/force-sampling-decision/dotnet.mdx
@@ -1,6 +1,6 @@
```csharp
// IsSampled -> true
-var transactionContext = new TransactionContext("GET /search", "http", true);
+var transactionContext = new TransactionContext("GET /search", "http", isSampled: true);
var transaction = SentrySdk.StartTransaction(transactionContext);
```
diff --git a/platform-includes/set-environment/unity.mdx b/platform-includes/set-environment/unity.mdx
index 3872f0436db8b..5ecab79ecdf92 100644
--- a/platform-includes/set-environment/unity.mdx
+++ b/platform-includes/set-environment/unity.mdx
@@ -1,7 +1,7 @@
```csharp
using Sentry.Unity;
-SentryUnity.Init(o =>
+SentrySdk.Init(o =>
{
o.Environment = "production";
});
diff --git a/platform-includes/set-release/unity.mdx b/platform-includes/set-release/unity.mdx
index 61ece839244ee..c5046233cab66 100644
--- a/platform-includes/set-release/unity.mdx
+++ b/platform-includes/set-release/unity.mdx
@@ -1,7 +1,7 @@
```csharp
using Sentry.Unity;
-SentryUnity.Init(o =>
+SentrySdk.Init(o =>
{
o.Release = "my-project-name@2.3.12";
});
From e85e93a9e3843b6a221d066927b2edc872ee2f75 Mon Sep 17 00:00:00 2001
From: Stefan Jandl
Date: Fri, 13 Nov 2026 17:33:30 +0100
Subject: [PATCH 101/141] docs(unity): Fix options page defaults, types and
stale options (#20413)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## DESCRIBE YOUR PR
Corrects the Unity Options page so it matches what the Unity SDK
(4.13.0) does. Most users configure the SDK in the editor window, so the
defaults shown are the window's values, with a note where a manual
`SentrySdk.Init` gets something different.
**Stacked on #20412** (broken code samples): this PR's base is that
branch, so the diff shows only this PR's changes.
- Remove the claim that `SENTRY_DSN`, `SENTRY_ENVIRONMENT` and
`SENTRY_RELEASE` are read: Unity never reads environment variables.
Without a DSN the SDK is disabled.
- Remove `ServerName`: the SDK strips it from every event.
- `Debug`, `DiagnosticLevel` and `AttachStacktrace` show the editor
window's defaults, with the manual-init default as a note. `Debug`
explains **Only In Editor**.
- Fix types and defaults: `InitCacheFlushTimeout` (`TimeSpan`, zero),
`ShutdownTimeout` (`TimeSpan`, 2 seconds), `Transport` (`ITransport`),
`HttpProxy` (`IWebProxy`). `Transport` and `HttpProxy` have no effect on
WebGL and Nintendo Switch.
- Tracing: a `TracesSampler` alone covers only transactions you create.
The automatic startup, scene-load and `Awake` instrumentation needs
`TracesSampleRate` greater than 0.
- `CaptureFailedRequests`: applies to `HttpClient` requests through
`SentryHttpMessageHandler`, not to `UnityWebRequest`, and can only be
set in code.
- Mark `AnrDetectionEnabled` and `AnrTimeout` deprecated, pointing to
the app hang options, and drop the advice to call the obsolete
`DisableAnrIntegration()`.
- Replace `InAppInclude`/`InAppExclude` (not accessible from Unity code)
with the public `AddInAppInclude`/`AddInAppExclude` methods, and list
the SDK's default excludes.
- Release: the actual default format and how the product name is
sanitized; typo fix.
- Add a Unity include for the Diagnostic Logger page, in place of the
.NET fallback (Visual Studio, ASP.NET). It covers the editor-window
settings, where the logs show up, and a file logger that's safe in
Unity.
- Fix the `IsGlobalModeEnabled` anchor in the shared thread-locality
include. This also fixes the link on the .NET and PowerShell Scopes
pages.
Pages to check on the preview:
- `/platforms/unity/configuration/options/`
- `/platforms/unity/configuration/diagnostic-logger/`
- `/platforms/unity/enriching-events/scopes/` (the `IsGlobalModeEnabled`
link)
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: JoshuaMoelans <60878493+JoshuaMoelans@users.noreply.github.com>
---
.../unity/configuration/options/index.mdx | 86 +++++++++----------
.../configuration/options/thread-locality.mdx | 2 +-
.../configuration/diagnostic-logger/unity.mdx | 58 +++++++++++++
3 files changed, 101 insertions(+), 45 deletions(-)
create mode 100644 platform-includes/configuration/diagnostic-logger/unity.mdx
diff --git a/docs/platforms/unity/configuration/options/index.mdx b/docs/platforms/unity/configuration/options/index.mdx
index 6febe18215188..a9f5b5f787aa1 100644
--- a/docs/platforms/unity/configuration/options/index.mdx
+++ b/docs/platforms/unity/configuration/options/index.mdx
@@ -12,19 +12,15 @@ The SDK provides a configuration window that allows you to set most of Sentry's
-Options that can be read from an environment variable (`SENTRY_DSN`, `SENTRY_ENVIRONMENT`, `SENTRY_RELEASE`) are read automatically.
+
-
-
-The DSN tells the SDK where to send the events. If this value is not provided, the SDK will try to read it from the `SENTRY_DSN` environment variable. If that variable also does not exist, the SDK will just not send any events.
-
-In runtimes without a process environment (such as the browser) that fallback does not apply.
+The DSN tells the SDK where to send the events. Without a DSN, the SDK is disabled and doesn't send any events. The SDK doesn't read the DSN from the environment variable.
Learn more about [DSN utilization](/concepts/key-terms/dsn-explainer/#dsn-utilization).
-
+
Sets the environment. This string is freeform and set by default. A release can be associated with more than one environment to separate them in the UI (think `staging` vs `prod` or similar).
@@ -34,47 +30,49 @@ By default, the SDK reports `editor` when running inside the Unity Editor. Other
-Sets the release. The SDKk will try to automatically configure a release out of the box. Release names are strings, but some formats are detected by Sentry and might be rendered differently. Learn more about how to send release data so Sentry can tell you about regressions between releases and identify the potential source in [the releases documentation](/product/releases/) or the sandbox.
+Sets the release. The SDK will try to automatically configure a release out of the box. Release names are strings, but some formats are detected by Sentry and might be rendered differently. Learn more about how to send release data so Sentry can tell you about regressions between releases and identify the potential source in [the releases documentation](/product/releases/) or the sandbox.
-By default the SDK will read from `Application.productName` and `Application.version` to create the release in the format `$"{Application.productName}@{Application.version}".`
+By default, the SDK creates the release from `Application.productName` and `Application.version`, in the format `{productName}@{version}`. In the product name, line breaks, tabs, `/`, `\`, `..` and `@` are each replaced with `_`. If the product name is empty, only whitespace, or only dots, the release is just `Application.version`.
-
+
+
+Turns debug mode on or off. If debug is enabled, the SDK prints useful debugging information if something goes wrong with sending the event. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns.
-Turns debug mode on or off. If debug is enabled SDK will attempt to print out useful debugging information if something goes wrong with sending the event. The default is always `false`. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns.
+In the editor window, **Enable Debug Output** is on and **Only In Editor** is checked, so the SDK prints its diagnostic logs in the Editor but not in builds. Uncheck **Only In Editor** to get them in builds too.
-
+
-Enabling `debug` mode makes the SDK generate as much diagnostic data as possible. However, if you'd prefer to lower the verbosity of the Sentry SDK diagnostics logs, configure this option to set the appropriate level:
+Sets the minimum level of the SDK's diagnostic logs when `debug` mode is on. In the editor window, this is **Verbosity Level**.
-- `debug`: **default** The most verbose mode
-- `info`: Informational messages
-- `warning`: Warning that something might not be right
-- `error`: Only SDK internal errors are printed
-- `fatal`: Only critical errors are printed
+- `SentryLevel.Debug`: The most verbose mode
+- `SentryLevel.Info`: Informational messages
+- `SentryLevel.Warning`: Warning that something might not be right
+- `SentryLevel.Error`: Only SDK internal errors are printed
+- `SentryLevel.Fatal`: Only critical errors are printed
-For app models that don't have a console to print to, you can customize the SDK's diagnostic logger to write to a file or to Visual Studio's debug window.
+To write the logs somewhere else, such as a file, customize the SDK's diagnostic logger.
## Data Enrichment & Attachments
-
+
-A list of string prefixes of module names that belong to the app. This option takes precedence over `in-app-exclude`.
+Adds a prefix of module names that belong to the app. Call `options.AddInAppInclude("MyCompany.")` with a string prefix, or pass a `Regex`, or use `options.AddInAppIncludeRegex(pattern)`. Includes take precedence over excludes.
Sentry differentiates stack frames that are directly related to your game ("in application") from stack frames that come from other packages such as the standard library, third party plugins, or other dependencies. The game's code that is part of the 'Assembly-CSharp' is automatically marked as `inApp`. The difference is visible in [sentry.io](https://sentry.io), where only the "in application" frames are displayed by default.
-
+
-A list of string prefixes of module names that do not belong to the app, but rather to third-party packages. Modules considered not part of the app will be hidden from stack traces by default.
+Adds a prefix of module names that don't belong to the app, but to third-party packages. Call `options.AddInAppExclude("ThirdParty.")` with a string prefix, or pass a `Regex`, or use `options.AddInAppExcludeRegex(pattern)`. Modules considered not part of the app will be hidden from stack traces by default.
-This option can be overridden using .
+The Unity SDK excludes `UnityEngine`, `UnityEditor`, `Cysharp` and `DG.Tweening` by default. Use to override an exclude.
@@ -84,7 +82,7 @@ This variable controls the total amount of breadcrumbs that should be captured.
-
+
When enabled, stack traces are automatically attached to all messages logged. Stack traces are always attached to exceptions; however, when this option is set, stack traces are also sent with messages. This option, for instance, means that stack traces appear next to all log messages.
@@ -127,6 +125,8 @@ Set this boolean to `false` to disable sending of client reports. Client reports
Once enabled, this feature automatically captures HTTP client errors, like bad response codes, as error events and reports them to Sentry.
+It applies to requests sent with an `HttpClient` that uses `SentryHttpMessageHandler`, for example `new HttpClient(new SentryHttpMessageHandler())`. Requests sent with `UnityWebRequest` aren't captured. On iOS and macOS, the option is also passed to the native Cocoa SDK, unless the app initializes that SDK itself. The status codes that count as failed are set by `FailedRequestStatusCodes`, which defaults to 500–599. Both options can only be set in code.
+
@@ -159,12 +159,6 @@ If you enable this option, be sure to manually remove what you don't want to sen
-
-
-This option can be used to supply a server name. When provided, the name of the server is sent along and persisted in the event. For many integrations, the server name actually corresponds to the device hostname, even in situations where the machine is not actually a server.
-
-
-
## Hooks
These options can be used to hook the SDK in various ways to customize the reporting of events.
@@ -217,9 +211,9 @@ A callback function that controls view hierarchy capture behavior. Return `false
Transports are used to send events to Sentry. Transports can be customized to some degree to better support highly specific deployments.
-
+
-Switches out the transport used to send events. How this works depends on the SDK. It can, for instance, be used to capture events for unit-testing or to send it through some more complex setup that requires proxy authentication.
+Switches out the transport used to send events. It can, for instance, be used to capture events for unit-testing or to send it through some more complex setup that requires proxy authentication. On WebGL and Nintendo Switch, this option has no effect: the SDK always sends events with `UnityWebRequest` there.
@@ -229,23 +223,23 @@ The maximum number of [envelopes](https://develop.sentry.dev/sdk/data-model/enve
-
+
-When set, a proxy can be configured that should be used for outbound requests. This is also used for HTTPS requests unless a separate `https-proxy` is configured. However, not all SDKs support a separate HTTPS proxy. SDKs will attempt to default to the system-wide configured proxy, if possible. For instance, on Unix systems, the `http_proxy` environment variable will be picked up.
+Sets the proxy the SDK uses to send events to Sentry, for both HTTP and HTTPS. On WebGL and Nintendo Switch, this option has no effect.
-
+
When caching is enabled (that is, is set), this option controls the timeout that limits how long the SDK will attempt to flush existing cache during initialization. Note that flushing the cache involves sending the payload to Sentry in a blocking operation. Setting this option to zero means that Sentry will **not** attempt to flush the cache during initialization, but instead will do so when the next payload is queued up.
-The default is `1` (one) second.
+The default is zero, so the SDK doesn't block during initialization to flush the cache.
-
+
-Controls how many seconds to wait before shutting down. Sentry SDKs send events from a background queue. This queue is given a certain amount to drain pending events. The default is SDK specific but typically around two seconds. Setting this value too low may cause problems for sending events from command line applications. Setting the value too high will cause the application to block for a long time for users experiencing network connectivity problems.
+Controls how long to wait before shutting down. Sentry SDKs send events from a background queue. This queue is given a certain amount of time to drain pending events. The default is two seconds. Setting this value too low may cause problems for sending events from command line applications. Setting the value too high will cause the application to block for a long time for users experiencing network connectivity problems.
@@ -253,25 +247,25 @@ Controls how many seconds to wait before shutting down. Sentry SDKs send events
-A number between `0` and `1`, controlling the percentage chance a given transaction will be sent to Sentry. (`0` represents 0% while `1` represents 100%.) Applies equally to all transactions created in the app. Either this or must be defined to enable tracing.
+A number between `0` and `1`, controlling the percentage chance a given transaction will be sent to Sentry. (`0` represents 0% while `1` represents 100%.) Applies equally to all transactions created in the app. The automatic startup, scene-load and `Awake` instrumentation only runs when this is greater than `0`.
-A function responsible for determining the percentage chance a given transaction will be sent to Sentry. It will automatically be passed information about the transaction and the context in which it's being created, and must return a number between `0` (0% chance of being sent) and `1` (100% chance of being sent). Can also be used for filtering transactions, by returning 0 for those that are unwanted. Either this or must be defined to enable tracing.
+A function responsible for determining the percentage chance a given transaction will be sent to Sentry. It will automatically be passed information about the transaction and the context in which it's being created, and must return a number between `0` (0% chance of being sent) and `1` (100% chance of being sent). Can also be used for filtering transactions, by returning 0 for those that are unwanted. A `TracesSampler` on its own enables tracing for the transactions you create. The automatic instrumentation also needs to be greater than `0`.
-Controls whether the SDK will automatically trace the app's startup.
+Controls whether the SDK will automatically trace the app's startup. Requires to be greater than `0`.
-Controls whether the SDK will automatically trace when loading scenes.
+Controls whether the SDK will automatically trace when loading scenes. Requires to be greater than `0`.
@@ -293,12 +287,16 @@ Sets how long the main thread must be unresponsive before the SDK captures an ap
-Controls the managed Unity watchdog in the Sentry configuration window. To disable this detector programmatically, call `options.DisableAnrIntegration()`.
+**Deprecated:** Use instead.
+
+Controls the managed C# watchdog. You can only set it in the editor window, under **Advanced > Automatic Behaviour > C# Watchdog (Deprecated)**. Programmatic initialization doesn't add the watchdog.
+**Deprecated:** Use instead.
+
Sets how long the Unity main thread must be unresponsive before the managed watchdog reports an ANR event.
diff --git a/includes/platforms/configuration/options/thread-locality.mdx b/includes/platforms/configuration/options/thread-locality.mdx
index 0a8a95b053582..7f1b716e004f0 100644
--- a/includes/platforms/configuration/options/thread-locality.mdx
+++ b/includes/platforms/configuration/options/thread-locality.mdx
@@ -1,7 +1,7 @@
Read on if you're curious to know how thread locality works for scope data. In .NET, there
-are two modes for managing ambient data (which is data that's available in different parts of an application and doesn't need to be passed explicitly through method arguments): a disabled global mode and an enabled global mode. Usually, Sentry will automatically choose the most appropriate mode for your application type. However, this can be overridden by setting [`SentryOptions.IsGlobalModeEnabled`](../../configuration/options/#is-global-mode-enabled) manually.
+are two modes for managing ambient data (which is data that's available in different parts of an application and doesn't need to be passed explicitly through method arguments): a disabled global mode and an enabled global mode. Usually, Sentry will automatically choose the most appropriate mode for your application type. However, this can be overridden by setting [`SentryOptions.IsGlobalModeEnabled`](../../configuration/options/#IsGlobalModeEnabled) manually.
If global mode is disabled (appropriate for most server-based applications), the
ambient scope data will be stored as an `AsyncLocal` and will flow with the execution
diff --git a/platform-includes/configuration/diagnostic-logger/unity.mdx b/platform-includes/configuration/diagnostic-logger/unity.mdx
new file mode 100644
index 0000000000000..d5a85b4e16e50
--- /dev/null
+++ b/platform-includes/configuration/diagnostic-logger/unity.mdx
@@ -0,0 +1,58 @@
+Sentry's SDK includes its own internal logger to report diagnostics that may be useful when troubleshooting your Sentry configuration.
+
+In the editor window (**Tools > Sentry**), the diagnostic logs are controlled by **Enable Debug Output**, **Only In Editor** and **Verbosity Level**. By default, debug output is on and limited to the Editor, at the `Warning` level. Uncheck **Only In Editor** to also get the logs in builds.
+
+To set the same options in code, use an option configuration script or a manual `SentrySdk.Init`:
+
+```csharp
+using Sentry;
+using Sentry.Unity;
+
+public class SentryOptionConfiguration : SentryOptionsConfiguration
+{
+ public override void Configure(SentryUnityOptions options)
+ {
+ // Enable debug mode to write diagnostic messages
+ options.Debug = true;
+
+ // Log everything, from the most verbose level up
+ options.DiagnosticLevel = SentryLevel.Debug;
+ }
+}
+```
+
+The SDK writes its diagnostic logs to Unity's log, tagged `Sentry`. They show up in the Editor's Console window, in the Player log of a build, and in logcat or the Xcode console on mobile. They aren't sent to Sentry.
+
+## Customize Implementation
+
+To write the logs somewhere else, set the `DiagnosticLogger` option. The SDK only uses a custom logger while `Debug` is on.
+
+For example, `FileDiagnosticLogger` writes diagnostic messages to a file at the path you specify:
+
+```csharp
+using Sentry.Infrastructure;
+using UnityEngine;
+
+// ...
+options.Debug = true;
+#if !UNITY_EDITOR
+// The option configuration script also runs in the Editor during builds,
+// so only create the file logger in the game itself.
+options.DiagnosticLogger = new FileDiagnosticLogger(
+ System.IO.Path.Combine(Application.persistentDataPath, "sentry-log.txt"));
+#endif
+```
+
+
+
+The `FileDiagnosticLogger` implementation will overwrite any existing file, and will grow indefinitely. You should avoid using it long-term in a production environment.
+
+`FileDiagnosticLogger` keeps its file open until the process exits, and creating a second logger for the same file can throw. If several instances of the game can run at once, give each its own file name. Don't use it with `Application.persistentDataPath` on Nintendo Switch or Xbox, where the SDK itself doesn't write to that path.
+
+
+
+
+
+You can also create your own diagnostic logger class, either by implementing the `IDiagnosticLogger` interface, or inheriting from the `DiagnosticLogger` abstract class and overriding the `LogMessage` method.
+
+
From 7be45d0af9a5794160c5256a58bc8fb94e42dda9 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 16:50:59 +0000
Subject: [PATCH 102/141] Bump API schema to 99650c98 (#20808)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index c70cc166d27e8..1f703253331bd 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '6c92bebc3cbb1a4b6498ca2429626503e9c9bd8e';
+const SENTRY_API_SCHEMA_SHA = '99650c980d8e4ac7a639756a325358257f2ddea2';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 951cffc24591b6e45b94e24dbe14fb02c7354836 Mon Sep 17 00:00:00 2001
From: "sentry-api-schema-updater[bot]"
<271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 17:01:28 +0000
Subject: [PATCH 103/141] Bump API schema to c3c65c9c (#20809)
Co-authored-by: sentry-api-schema-updater[bot] <271575301+sentry-api-schema-updater[bot]@users.noreply.github.com>
---
src/build/resolveOpenAPI.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/build/resolveOpenAPI.ts b/src/build/resolveOpenAPI.ts
index 1f703253331bd..9432072bedbd4 100644
--- a/src/build/resolveOpenAPI.ts
+++ b/src/build/resolveOpenAPI.ts
@@ -6,7 +6,7 @@ import {DeRefedOpenAPI, Parameter} from './open-api/types';
// SENTRY_API_SCHEMA_SHA is used in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
// DO NOT change variable name unless you change it in the sentry-docs GHA workflow in getsentry/sentry-api-schema.
-const SENTRY_API_SCHEMA_SHA = '99650c980d8e4ac7a639756a325358257f2ddea2';
+const SENTRY_API_SCHEMA_SHA = 'c3c65c9cd405d0bab44ee3ddb818437c83151a50';
const activeEnv = process.env.GATSBY_ENV || process.env.NODE_ENV || 'development';
From 9547e273bc923eed81362573133f3f7bf92d6500 Mon Sep 17 00:00:00 2001
From: Colton Allen
Date: Fri, 13 Nov 2026 16:03:57 -0600
Subject: [PATCH 104/141] Add Linear integration documentation (#20709)
## DESCRIBE YOUR PR
Adds Linear for Seer integration documentation.
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [x] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## LEGAL BOILERPLATE
Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
## EXTRA RESOURCES
- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
---
docs/integrations/debugging/index.mdx | 2 +-
.../debugging/linear-seer/index.mdx | 64 +++++++++++++++++++
docs/integrations/index.mdx | 3 +-
docs/product/ai-in-sentry/seer/index.mdx | 4 ++
4 files changed, 71 insertions(+), 2 deletions(-)
create mode 100644 docs/integrations/debugging/linear-seer/index.mdx
diff --git a/docs/integrations/debugging/index.mdx b/docs/integrations/debugging/index.mdx
index 7cb86699008a9..5aec6a0c5f517 100644
--- a/docs/integrations/debugging/index.mdx
+++ b/docs/integrations/debugging/index.mdx
@@ -11,8 +11,8 @@ description: "Learn more about Sentry's debugging integrations."
- [Foam](/integrations/debugging/foamai/)
- [Google Cloud Platform for Seer](/integrations/debugging/gcp-seer/)
- [Grafana for Seer](/integrations/debugging/grafana-seer/)
+- [Linear for Seer](/integrations/debugging/linear-seer/)
- [Logicstar](/integrations/debugging/logicstar/)
- [Rookout](/integrations/debugging/rookout/)
- [Sourcery](/integrations/debugging/sourcery/)
- [Tembo](/integrations/debugging/tembo/)
-
diff --git a/docs/integrations/debugging/linear-seer/index.mdx b/docs/integrations/debugging/linear-seer/index.mdx
new file mode 100644
index 0000000000000..a120182baac9d
--- /dev/null
+++ b/docs/integrations/debugging/linear-seer/index.mdx
@@ -0,0 +1,64 @@
+---
+title: Linear Seer Integration
+sidebar_order: 1
+
+description: "Learn how adding Linear data to Seer's context helps you debug and fix issues."
+---
+
+
+
+The Linear for Seer integration gives [Seer Agent](/product/ai-in-sentry/seer/#seer-agent) read-only access to issues, projects, and comments in your Linear workspace. Seer can then use Linear data to enhance or supplement Sentry telemetry in issue analysis or investigations.
+
+The connection is shared across your Sentry organization. You can connect one Linear workspace per Sentry organization.
+
+Sentry installs the integration as an app in your Linear workspace, so Seer reads Linear as the app instead of as the person who connected it. Seer connects through [Linear's read-only MCP server](https://linear.app/docs/mcp), which only exposes read tools, so Seer can't create or change anything in Linear.
+
+This integration is separate from the [Linear issue tracking integration](/integrations/issue-tracking/linear/), which is built by Linear and lets you create and link Linear issues from Sentry.
+
+## Install the Linear for Seer Integration
+
+
+
+Sentry Owner, Manager, or Admin permissions are required to install this integration.
+
+You also need to be a Linear workspace admin, because installing an app in a Linear workspace requires admin permissions. A Linear workspace admin can complete these steps for you.
+
+
+
+1. Navigate to [Seer Connector Settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/seer/connectors/).
+2. Select the Linear for Seer integration and click **Add Workspace**.
+3. Click **Authorize Linear**. A Linear authorization window opens. If it doesn't, allow popups from Sentry in your browser and click **Authorize Linear** again.
+4. In the Linear window, select the workspace you want to connect, review the requested access, and approve it.
+
+ Linear's authorization screen lists read and write permissions. Seer only uses Linear's read-only MCP server, so it can only read data from your workspace.
+
+ If Linear asks which teams the app can access, select every team whose issues and projects you want Seer to read. Seer can't see data from teams the app can't access.
+
+5. After you approve, Sentry checks that it can read the workspace before completing installation. The new connection appears as **Linear (_Workspace Name_)**.
+
+ If the check fails, the error appears in the setup modal. Correct the problem and click **Authorize Linear** again. You can retry in the same setup modal.
+
+## Configure
+
+The integration has no settings to edit. Sentry refreshes the Linear access token automatically, so you don't need to rotate it.
+
+To reauthorize the workspace, click the **Configurations** tab on the [Linear for Seer settings page](https://sentry.io/orgredirect/organizations/:orgslug/settings/integrations/linear/?tab=configurations), click **Configure** for the workspace, then click **Reconnect Linear** and approve access in Linear again. Choose the same workspace you connected originally. To connect a different workspace, uninstall the current connection first, then install the integration again.
+
+To change which teams Seer can read, update the app's team access in Linear's [Applications settings](https://linear.app/settings/applications). Only Linear workspace admins can change an app's team access.
+
+When you uninstall the integration, Sentry revokes the app's access in Linear. If another Sentry organization is connected to the same Linear workspace, Sentry keeps the app's access in Linear so that organization's connection keeps working.
+
+## Troubleshooting
+
+If the connection needs attention:
+
+- **Linear authorization was canceled:** You closed or declined the Linear authorization window. Click **Authorize Linear** to try again.
+- **The authorization popup was blocked:** Allow popups from Sentry in your browser, then click **Authorize Linear** again.
+- **Could not reach Linear:** Linear could not be reached during setup. Wait a moment, then try again.
+- **Linear authorization failed:** Linear rejected the authorization. Confirm that you're a Linear workspace admin and approved the requested access, then authorize the workspace again. If this appears for an existing connection, the app's access was likely revoked in Linear. Click **Reconnect Linear** to restore it.
+- **The app can't read your Linear workspace:** The app was installed but can't read workspace data. Check the app's access in Linear's [Applications settings](https://linear.app/settings/applications). If your workspace requires approval for third-party apps, make sure an admin has approved it. See Linear's [third-party app approvals](https://linear.app/docs/third-party-application-approvals).
+- **Remove the current Linear connection before connecting a different workspace:** Your Sentry organization is already connected to a different Linear workspace. Uninstall that connection, or select the original workspace when you reconnect.
+- **The integration was disabled:** Sentry disables the connection if Linear stops accepting its credentials, for example after someone revokes the app's access in Linear. Click **Reconnect Linear** to authorize the workspace again.
+- **Seer can't find issues or projects you expect:** Check that the app has access to the teams that own them in Linear's [Applications settings](https://linear.app/settings/applications).
+
+After correcting the setup, click **Authorize Linear** during installation or **Reconnect Linear** in the integration settings.
diff --git a/docs/integrations/index.mdx b/docs/integrations/index.mdx
index c56b7d5a84f5c..825b76241e863 100644
--- a/docs/integrations/index.mdx
+++ b/docs/integrations/index.mdx
@@ -96,7 +96,7 @@ For more details, see the [full Integration Platform documentation](/integration
| Integration | Link Issue to user sessions |
| ------------------------------------------------------ | --------------------------- |
| [Atlas](/integrations/session-replay/atlas/) | X |
-| [BetterBugs](/integrations/session-replay/betterbugs/) | X |
+| [BetterBugs](/integrations/session-replay/betterbugs/) | X |
| [FullStory](/integrations/session-replay/fullstory/) | X |
| [Jam](/integrations/session-replay/jam/) | X |
| [OpenReplay](/integrations/session-replay/openreplay/) | X |
@@ -119,6 +119,7 @@ For more details, see the [full Integration Platform documentation](/integration
| [Foam](/integrations/debugging/foamai/) | |
| [Google Cloud Platform for Seer](/integrations/debugging/gcp-seer/) | |
| [Grafana for Seer](/integrations/debugging/grafana-seer/) | |
+| [Linear for Seer](/integrations/debugging/linear-seer/) | |
| [Logicstar](/integrations/debugging/logicstar/) | |
| [Rookout](/integrations/debugging/rookout/) | X |
| [Sourcery](/integrations/debugging/sourcery/) | |
diff --git a/docs/product/ai-in-sentry/seer/index.mdx b/docs/product/ai-in-sentry/seer/index.mdx
index 51a585c0afe03..a1def5ffbbad5 100644
--- a/docs/product/ai-in-sentry/seer/index.mdx
+++ b/docs/product/ai-in-sentry/seer/index.mdx
@@ -132,6 +132,10 @@ The [Google Cloud Platform for Seer](/integrations/debugging/gcp-seer/) integrat
The [Grafana for Seer](/integrations/debugging/grafana-seer/) integration gives [Seer Agent](#seer-agent) access to metrics and logs through your Grafana Cloud data sources. Seer can then use Grafana data to enhance or supplement Sentry telemetry in issue analysis or investigations.
+### Linear for Seer Integration
+
+The [Linear for Seer](/integrations/debugging/linear-seer/) integration gives [Seer Agent](#seer-agent) read-only access to issues, projects, and comments in your Linear workspace. Seer can then use Linear data to enhance or supplement Sentry telemetry in issue analysis or investigations.
+
## Privacy and security
Sentry includes strong guarantees for privacy and security of your data. At a glance:
From cf5a659a1b295e01852f4f4c3a44fbf7e5801f2b Mon Sep 17 00:00:00 2001
From: "sentry-junior[bot]"
<264270552+sentry-junior[bot]@users.noreply.github.com>
Date: Fri, 13 Nov 2026 17:43:06 -0500
Subject: [PATCH 105/141] docs(slack): Remove assistant:write scope and Seer
Agent assistant docs (#20810)
## DESCRIBE YOUR PR
As of getsentry/sentry#116567 (merged 2026-06-01), Sentry's Slack
integration no longer asks for the `assistant:write` OAuth scope, and
the assistant feature was taken out of the Slack app. The docs still
listed the scope and described the assistant experience.
- `docs/integrations/notification-incidents/slack/`:
- removed the `assistant:write` row from the required bot scopes table
- removed the paragraph about opening Seer Agent as an agent panel in
paid Slack workspaces, and its screenshot
- removed the "Disabling the AI Assistant Experience" troubleshooting
section and its two screenshots
- deleted the now-unused images `slack-agent-panel.png`,
`slack-agent-notifications.png`, and `slack-agent-dms.png`
- `develop-docs/integrations/slack/`: removed the `assistant:write` row
from the self-hosted bot scopes table and took it out of the self-hosted
note listing scopes used only by Seer
Not changed here: the self-hosted setup page still lists the
`assistant_thread_started` bot event and has an "Agents & AI Apps"
section about the Agent/Assistant toggle. Those may be stale too.
## IS YOUR CHANGE URGENT?
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## PRE-MERGE CHECKLIST
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
via **alex.sohn**.
--
[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0AN404SG1X%3A1794603606.697669)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0AN404SG1X%3A1794603606.697669/?project=4510944073809921)
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Alex Sohn
---
develop-docs/integrations/slack/index.mdx | 3 +--
.../slack/img/slack-agent-dms.png | Bin 41017 -> 0 bytes
.../slack/img/slack-agent-notifications.png | Bin 34161 -> 0 bytes
.../slack/img/slack-agent-panel.png | Bin 39294 -> 0 bytes
.../notification-incidents/slack/index.mdx | 17 -----------------
5 files changed, 1 insertion(+), 19 deletions(-)
delete mode 100644 docs/integrations/notification-incidents/slack/img/slack-agent-dms.png
delete mode 100644 docs/integrations/notification-incidents/slack/img/slack-agent-notifications.png
delete mode 100644 docs/integrations/notification-incidents/slack/img/slack-agent-panel.png
diff --git a/develop-docs/integrations/slack/index.mdx b/develop-docs/integrations/slack/index.mdx
index 6cf9addb47cc3..af0cd177ed9f2 100644
--- a/develop-docs/integrations/slack/index.mdx
+++ b/develop-docs/integrations/slack/index.mdx
@@ -70,13 +70,12 @@ On the same page under **Scopes** you'll need to add **Bot Scopes** and **User S
Add the following scopes to **Bot Scopes**:
- `app_mentions:read`, `assistant:write`, `channels:history` and `groups:history` are used for Seer
+ `app_mentions:read`, `channels:history`, and `groups:history` are used for Seer
Features which are not currently available for self-hosted. You can freely omit them.
| Scope | Reason |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `assistant:write` | Enables accessing the app as a personal Slack Agent. |
| `app_mentions:read` | Receive `app_mention` events when the bot is mentioned (e.g. @Sentry) in a message. |
| `channels:read` | List and validate public channels when configuring alert destinations, and resolve channel names to IDs. |
| `channels:history` | (Optional) Allows Sentry to read messages from public channels. Sentry uses this to gather thread context for conversations with Seer Agent. |
diff --git a/docs/integrations/notification-incidents/slack/img/slack-agent-dms.png b/docs/integrations/notification-incidents/slack/img/slack-agent-dms.png
deleted file mode 100644
index 072d9a837fd1205610196a8a3e5b0fac7c0aba22..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 41017
zcmbTdg;U$j7xoPWN|EAjDNx)C#ih7A#ogUqlHyvVxVyVM6e|>WcMVPrYIn!
ze-U_p^bVg3kOB7WE4ev&Y}hkpqn7_@i**b_`3cW-;f&
zKqI{VhdHqbf_F(+MeT5s?ZLp#;T@Dmmy{d>9i7!x#e-*L7Oo5=bWyw(9$b|Jg!l;JQau5}IZ!6NVwGE0=~ag9!(B
z#UlY7s!ZLB-d+Yd5U?n%VApyS{L0`UTg->@y+t0}-|&)(kIxoEaJJCu)tXBf`P?
zNeW`+6Y}L4p&*4${`bjVBCC8=Tnc=VtB-_L`GX;g3v6>j5O=7!@}1xY-?c2n3$yRl
zY*cjRFSa%hZ7#7En6lZ0&Ita0kJplhYC49S%XAKuNX1*_*!b<1mlih?wuMAAa%AA9
zc?U%e9ZLjZ;}R(&5yxc5p)sMQn+g-@Ww`EnDtv?FTu|PU-wU6jMBkKO{|nWkn|Mg;
z|3FCqpcI}Feo(lV(Yw@Mf`c62yt$Pr6o)J8?vr$yj`CT={Q%!T`bUsFR@ifqh&;3+
z46qZ0sp2UXt8I}bDbV)vwbMscU)HCwg4RY6^J{0vg&ub
z`b4t&+~}1gIc!m3m!6{KWl5-^JYnd37d6jSr#j2U(c-zlQSW*4(c>O1PVw(nP6uuZ
zP~TToZSi9MB`T)>WPJDOG4uxTu>L_rQ~#M(gOqYOTsL*wU-;MrqaSeHxoP@GaNEYv-6{W|Mp3)
zOvhcrE$SJxR+N{ot*x1nYZZA84G-b+{Ke#74Et0&s{7^CnZQV}C67BeDdt-h497G2)W(Z)?l
z*38pI+*4NE(?;A5y8K)Ka&bwJN)$ys{gs{k)1cO{dv;;QVvUB9@*m`{`k4@Wzz;cW
zLPD#FysD~~*522T#M7TuEZ=64z@?LMC#Gu_CMKdYTgxLvnZIy;Sxc82P*YQ9U1C(n
zCKlozZ5PkH7UodojJF)km#Z7!Ck`u@DKi;ppWt-!h?+s86Fx+PfI%?C88}ZKCh{$D67oW;|)0K3(g38n%vB(
z2^8h^@7S8|?RCnltteooMjO3>({!NSInM{u!6fW>V9jfYUDE&n~&Z8zal
zpSAYW^8UfjhCvJI{LTISFf9+y{o~D1g2~#VgP2%$3n7RD=R3Vu%$e|
zvA5REy3ES_a^yimPg?p%Z!L+qQcSA6s+fdUV2y0)G2_??{b-b(oJ-WAqNCG=0k#Jh*`4#OxMsMTkUee2ff|F(GCbbCnX)|D-~0f8
z2$`IGz$+FBQPtSYK@arJ@8m>RS69Zx+1Xf9goMJ9m=~?ahc^!g7iY(Sft9hx>yjcF
z__ppd-Co&jIZWk%xuF*P`N$DrOISa~Agn=G*!4
zg=EF=-|fdI3JXnVzci?EHsa1TCN`k{x*7B2`FLhSQDeQKx5=$G(^K0JVDx?XtzuI3
zC4dbQe5q~ZX_7JJJm&7<(PwF;`_Hz*whD}_P@Z*VugdU)ja{yKK)UygosAjNYM`5t
zKN1DZvJH*fe!4vs7Z)e;%FfLUU!pKbk&dHK%_e>D*-q>`N0{T}4A+TcWTr17(;tDe
z1&9FscOdWH!%ZXn_Ws=fmhN=Dzt}iksu@5=QpVs;n3NDS24@A@?tQw`d+GeV#2S2F-HjGyE8kK1OMRjURp{zi~MYX7&WZI_L_?7
z+O(hKy1~{xqok{deI6@yB`st6{)OF$ib@L3*G07wv>VRB!Trz05=f!nladNe
zO*wBoY0dXb2{n>h(NkN`t6#jpT3)f5UOyMym5qJaAeSrZN)Dz(1RoVNz>ur__OQesKH0SN&Q)05L?*CV_#26<@RG&}llR&rzta&ikr
z(Jah`Aro9i-OT2@{j;$X`Y|
z`IEjue8R%WXw;jVlgP2pdJfGC^NV4)5@Hh0W3;lOl$5L#JuG@5-jB>I%wJrue>HlV
z<9~;L#dml%z8sjfa_w!g!Wr|+&y94lV>&HPH+fX^>uW2NjuQsHcprd~Z_7LwWEp-q
zF+A;T=IcYL`l*~B>WrQXXD|Lx>#4$)cV)BfC)i(Qn*;URWgAstl2&;)AIgmKhoI!+v_u|
z6bLCKGhwVVFQ+tOX5UF5-i%8w1Z1MW4_;+vVF>jrDl3bKj?VN*Bh)V9MnHJyV$gPo
zJsO#(ZT|MX>TP@5*!CsmI~e(Q>X7}URg6vD|$3(*nH8wM(-$#_|=p|r6^}8mqp85
zrjWR3L0=&==iSbIW4~$rS#;}o-;BBTGY$Qxk>=3c%xDl=>j(h_3I#>Y*Gish1M$@4
zpOMOpHTE_3q&|D+fo{EiF+sq9Eq600JTsHD2F6qYl?Wc
z18{9^t(5?sh=>T&6F|`W6D?y4WL7mn74QRC*Hcx6Zj$6&TNtdSs~Z*6?f;0=c||z$
zS6_wd5T!q24-@c>$pAYl&Smp*VfyZw)`fJrbN
z6&2X)euDrD8%%nbo0I@PKCZZ-jgVH64s@(3HYu;9W}>2+9HtwbprK)wNew|Z(%1i?
z97$U}q>@B{*IyD|n4KA@S}>p~j)bHNZ>S11#5SbpW6_&8H^(26d|a&6>phXTkwtNW
z<~3w2j<)2F#s(~G;4TQ^;@y)zVRC&W@4xN=mzu8qjEO1xL3TwB1bLU0wHof!Nl_i7
z1U|oG{p4+<83Ftd{)ropVb^pwVk5)|DV%c#(}aj%plD=(89&TwX6FG8G7yhki!Fts
zM>_vUPfOzxzMptIdl*fBo_6-19HH8JOM5b2D!aG~dk5N<5XLYo<0f7tAQ&i@%lW@V
zs3v1E=+YD6lVhby#yHzwG)`-BGvDcA%-1IRt(HYSul3@B`LeqMHN(g+3_b#V8GA5VLq
zezAToVy2Cf0eN)9)I`mu8ohX)uQu05GT{HrPOc9APX7GkEh@I#BLMej@SLJJa{7PC
zLq+u@0bb&nYp$$zZzj9-IQTr|&F!$i*(Mqjz4py;QeW@8l(tGt?)`o5
z>(WAHZ&ajmjr~c5E$O=_yN=<}wJ4~Nd;Vg;2wP19~YfA2dBmgKT}qJmRoCZ
zER2bdZ;6Si3F=BJ8a!#X13qVh9(Q@5{mm9;zDi0K(ndDV(-*M`*DZY+vH5>?5Xk*X
zSMLGVE71%_BlJ|*uycS;qBpQOxFjL6Cp0vrJTgRZU}j-reOX3VBF$^>P?3~-rr6@`
zytVgn*Q+-nu~<4(qHJ_W4?~ckqasSpRR5G`=5sP$(mWm>UK2k4M?Ad8#p(oHeB%fd
zde|}NxbwE*1biNHdh4wPLPK*>q*P^X9EOc`ZoWxAZ>~;uD`pQ&1Sg(T?~y;#3fuwC
zHb7@{3m;+g!WM=01V>lDCN`4~)DwsL_+?y2R|;)(6-i1INlH4fID~p5LC<-5b#8k>
zwfPk%-3vk^1L{&CTl!iCI+|gA)TvcLu@QAeVL|@!iPhC54JhKeMoQ~HD54
zdZvBMZBug6L+cf%Ml&8wagR`U+SEmc(uCSo*S#pIJ>5g
zJ_1prjANM{QKY`3x=&*#0uI^Tiw@X$zbvP}Hz_)tb@dMj8*E_x7bVDLc8{RjHE?a@
zFEyc|dyJ9wMJ@+NJ@z3X7Z2Cn`e9;5m$qfGnZE|Ih@ej
zo-x{-Ox9YnH?$bF`f$F;m)voiHc+|vtcm>JDT(;sUhM`4BBWyEJePPt-f@#>3rZqM
zu4lEZu5_emc@~!(>@BcT0)gTVDTzavsUV!2mWwo6y}0??q#h$xPo7$-K~nfla)g^SM(ke
zven=+5Y}wRQ@!?yh83TPNVB1{q^PT=qNcc^LYSXQN?K>;oBG7e>~f#(*6`XJt|rF+
zpV{RC(vw0L#J%hRPd3kQZt8AY3kx1q05x&H10KD}
zZxj;JV&u*(EKE&JqC?P@J0_N9`o!hLS
zSXvwy+gMf>{f;k{<=56>{L8`Zw7$N&>VGuZT$wsWmbOf|b9rG^5>RBbq~cn)|ZQgX&i2>%Q&gj{qO|P%lFI7H
z#O&nW&ihfcm=)81-*;9sR`-j{{iARI6-B~UcSag%BuHCiuXSesRF%o1%bVZ+Ub_4n
zry5<^*m#}HN?X9;`{xWb!e1DlXa3B)U(M6d7P0b)U46|j8#fWKe|TtmFo%XTIW;v*
zXY-HYn&;-3Q&M6YbOqVlEGONg%fSHj7^n%5+AcwvNAUPTQ0Wd
zWcMs^MP_xCwAN6s&F`pxOk@)T3D+a6VWtgz#JKoN$|9d#sR*E#VgFv331&cRUwRdx^uW$MKwQ+Xw>+}rIplO*C_;B~+VCVQeR3$I@y%%g|Obm?m
z0rY@G2Gh|bXhEE9<*DX+e>i!xPp30;3F`x0uQZnuJ>AzxL91*LP)-H_I){he$YU0S
zyofhGXzXbD*7EW&%@cKWdfIs{zdg1#Ukh2R*2`^M9q8{bOPBcmU4z2{Nth)TbK>n;
ziE8(X&)v-X$#>~3`nvf6R@*0xFM#fI5MTDB&a9$Ps!Ix?wThY
z@X<;g2On#Gk++wct){Oha5A&tQ-dHY776&2%<1xey9Do-@oboIi7#Mm;i_dIzD-T3la-m3
zWtCGw?XI<12_xG;qYKO7`R-bOa&ksac5-Tb7DX!h!zCkQc}1Dy^5KQq>GtlRS$TOhb<)=cQCOj3Vd~&$T3BdPR-9k^
zxwNV_pW)FGg8&7I!R9-XB)+7i51+4iz{G~Y(&fgm>%neudtxa@47wLBjnvY7@}cEt
zL)gJIIJ45w-yeI|*Dz`sfDnL5c*+ini}>c0^YgS=B7{T4Pr}(+!`$B0R@3rgGV7%v
ztIMEMUhcN3SuqCvtcvB_fq6?u=_UFdDn35`W!9y$we<%#10-amLh;|LpN)5=ylprZ
zWDOk1U)o0yrkVYI^#_S*E64{Ze#1F*80P=Frlq8W@ihNw^?a>W2knPF0s=zSaQ|FX
z4yqMoFT}>i21f17%*^b4*cr4vJUqO;y)`Wf{%~)G0Z-m@Y{`Q_A{9(DG)TDV-PHxY
ze!kLDQt`w}nC4+y2&Xc+IT?Qx66yauJUj?Q_lbsM0{)zTa?`UTU4(Jwqaa~@eSNYp
z{`bhpsRaN|32rVf<5`aJpE0KmlkG-oYW?d)s4*{TS-)&73a?w8wv=Aswk<`Mu672(
zbH$`{aISX
zZXG*>+I5X^rMp?N*LzV_uju+n3=auzRSKT@!ZQYc>}PxJaj_xK?aMv_EA6Y=^d_vV
z@Dw_#KpF-U{EW0;O^BAJ2?+$3mo}XqH?!w!sTZ5=kgJ`AN-gE)=I>jbel*PEwIx91
z?-n+SiVM>tn{!r^nv0%`Ef@#;mvtOV%F%H#(dd5$4Ijed*hN56u8dW0>s|e@QY8tJ
zm6s=@j?1Z#RasF`P*GKsU-B~PYHMe=2S~n=&`3)`yP-DyA_?PFwld$0w%~3YI6m@A
zOG_)v$rSztAD@`8!FVA0tOXtO;3f>~H_%p8R_5{>)Ct@phjE
zO03}XMO-&Ls#@miM5bDhE
zPGqU$oy}(URxAPnsqb+AoH}c|vIKvZ=Kan)K`l&3+oKqQdsg9`AA~S5{80-`<0U(i
zw#*_+g@MTRtulq8Z6HT-30yB+RN(NSL~mwhW>8m9Mh1TlwIfXGdOAt2oUfPZ+o(50
zD}3cetY#YuP{@dD=t~sOChn|@`i8k*s?1PCmVKhQ~J|CWsO>)Vq;4TqGMGw3HQVD7
zh*tpgdeVP;T6($F>wYl$HypEeVJVqBZBtLHm5!d-*w&Ysn$uzH;cYZybThENK@ui1ICPt)*jac{MXlS66#AgGetuV+Bl{W@~#~URJ@x
zPITFHz`?_>($7a)@-;mBgLvfQ2G(Q9Vn{8poa+2Ykq#dwQAkt*$O9rHU`4a3}3=*bUadK(;y3W
zgj7k9L;A3Cc?Z)VS*(vA2GX}Y4VLHUE!9kMrV&Wg&|eQTot!^qz^_ksM)k2))cAJ=
zI5UUJKp3@W;^;}T9$^4gK^`z=;kDvuo1LKy=&`Z9MCA#ctwDT+qp@4U3WhEZDvUWj
zHyg9f?KJ)Zpy0lauSu|l@QKng$9WY1O2x!S{He+ijWfjgtsrhS3UV-}YQ|1vEr)$R
zphgcXOC6LJS8X*{ZD}jeyFx1&n1&kfm~7yI3~AzeZ6|h2tcJWkkJpi;JW5;bUOOXa
z%j@fq{(gHgvB6NcVTbIqsAx33HIiVlSKp4zh6Y!Dzwm|z&RdUp`)Za%T&mk8dtXQw`EPKNs5p5Oy7I`}&-zoUWk
zx9RhC931tRli3$jgb28#%@E$HWq#xH4goox2=cG;SEbLK4u?*kLX9DfB@)t-)JS{F
z+To9J9^RJP;U86T9x_rSMXC%I)%!Su(XU#&ZaSQ|jpsHtveSc7;`rJHhfV9yxCQJ@
zet4AE=Ax*3(`jP{md84x;=a;zuQmR@5@x*121~ES!1m%aKNHqZWH9h`bVY3qEef(X&dUkPsuA2!Q5BWWi9Mc2;&$BM
zYLiV0SB?mG@^!U0*;!t38)h|1@AY{;TYrIEsoei-7x(yTaWh^4MYvURx6^?nz0ShDdC-sBKuSF{{H!t`X9!bK|FjWVG!@)j?WLYp!VN_;d;h8kiGY*Ewa@t)t6ltiFC@#
z7j{Rn*)lrX+TL0m%ShpoWCj-w16_)WirV3|akm=I8GlDddK}US%`nHMA~>JQ2WH^d
z4Q{-9!0!XlpUMG$)gS{H-zvWi5tw~K#&5%c>?Q1!z7rs4VdCeq7Ue5-lM*=^HP^+t
zf^SHTjL7TlEdDO5udk!8V4$lesiq$lCvAO`spTB%W6}VQW5MuS`Q<&8SYZg=D%9|=?LPTD!!Fxuz
zsNMci94gm-e=2=a$u=IRmlJtP3RXX+o9NWZTtOkPm;Lc{w?@L+96@fcy3$gIsf+&A
zli7>OFuPQ?2cM3WRb9>bi@PfqK3Dg}`SsC3nc7cue>YZYdP+iASxgH`kB=@Y!dOE~
z!a6cCq6!*%T5=)-6Y^to8r~Tm$e~7lB7PZN`E$A)qAJHug8k{CHJ=I~O!SJS
z5;}k_2Y)1R)4@yUzdjB%*NkJQ>Z!*dWSI_zZ-ph{k57qq_PQufJ2#T=KRr{=Oc|ob
zis44^u)qo;##Q9QlhI%S4$X1*hcu$hi0DYSZzB9uYb_24p>`E^aO#ZzmZYJ-OqrON
z3hg4WNhZNoG`xTQGF%dbLxPbp)CvjZXQnjMFIixlU&|jUVo~^xPrZ2e1bim&CN+wr
zTD7~YO_Xdr&-2Ia?T_h?xZwl@afTfY?4TE!00Rp{M_pGn$cW0)5>M^nzPYwerj%6Z
z!&3+5otH%kot+(h>1T;YKPQ&ebfr`rRjZMT(Xmw>-Q|^4Uj9`90sdv}v`Qw1C=`@`
z_M6PV2j&)6JAR4vH8i~1DkCPS&QT}R7_`VoMyeqDFIR$UYX8#eODUI36ZdVd1{O@3K
z)-t73_zX5Otk2J%^%r!97yiy5djXRgstiMwS?}-f$%Qy#d_eUs
zz~KBmi~OAY{M@0sx@ufO5#r&g(*wKs_*^WhfKEVQp)zHmQghgOK1Yi}U{LEoO|7
zVE^j0(fiUXw!kunADHtG#t?C1ETx+K{JuK_yuq8_Q)^pGao_OJ19ut0`Fqfx3!;Ha
zzXt~qsZ5M9ccC`})0mV5q#F?<5i+A&L2a_@dtfjaCh5^;akArMpJSL2XU;z(0wRHv
zL&muNreLD{dhy>(QeiVVaQ+Gq&gh?M1ZUX-+{lRp=S*TTX<+FPs)9z9)`)2>Rn0z5
zQ|`|ZdeZN?u0H4@1#$EQQM?ZYqGk|*|IiYQdc*?IpRk_Y^f-98
zy?u`kBUdL&B*2zcgvYHi+CW|WaeU{v+Yj08=1X_i`q??NS%DZPfCTgUo_%p?odSRN
z;3BW)b7gJ0eth!b>4l}OxwUzoQ(mcEUUhY8d46GjPG<6BPpAZh^i6!*pm=u++t=tGD!bti8AQr1-bxCG&uSPke-CI!y6(dA}IKS
zSzoB^CN>s>%dhTzJnp}?u@v0E-ZC2VZ)em%7MS$`QIYCXRE4eiw}67mKH}GHUJBwr
z@y;K<1G_H&P-Z_?mW1J6We!IWhIL~1V?ufxzoc)xi#UnJ!iKQb22Qem^l4v!?nQq!
z0y5B027-#H8|Q`(G06G&;d7^8Wx~-RCLmi#LryJ|
z3dhOd0P^Ba*XDV=!U2Tpard9MUw@enkW}7Dgubr~9F0Q9mkcYZi2B)XNt!Q19(Y0lvR-uBK;OIXr>O1u82)
zZw3UPle1_C5{~qb(~HnmS627^>8D@bnwypAEG)O(`gUaOByF81A|C5#Z;eHUw>-0X
zXHeYQ6Keb_)mp^;PzcAbOT^NxEdQ^Q=lL_fgcc=n3(v$Sp3IW
zlM#k-f&X#A|M#!A0E2Kf1o>|Cy;fT(r@1JPxv1Oe&5L5(qiWpC%FON3OmJ-~URf?)
zQ7)NjJc(@@iDMdpNfL!k7PeEi5y1j4Cwp%{nn9QE`C_p2SC(_9l*K!t+np5mz~gPPAj<afMXx3ivLI{vWIdoItz6b%ioCbArXxB6DO|LH)W
z+n4hXOZv#S&eFFZtbWR9{VdBp2Hc>%HiPm-QgV;uX!w>t(G0SGjVb6=m1=UajFHt8
z{dSNof6oVUyhUQpDXuPW?5yc7%rC5LsPE{=Z)pS>AI_(@-z?D{PBmjH
z5`J$fJxHeeO!%kNj3Gj9^dDOE4NC0Y6{hk8LzmAf>mwh`4uA~-vEMuKol32hhpm=}
zvgCu#8X%ZI&Zne6dq&_~`^Fmw2FEKjko@6}NI4
z_U_2_!LO443kYC0%cdH~9t{E&gGN|5fRwAxH&L_jaAv5;rPxu1axF
zr%)i?Y=zrApLQ?YG|pdwuICx>JvOa8>N
z{=Mx5}*lstL6_zdqwi4PFVuLg{4n3;+!eL=gKp^%oTy>Vxf|f
zx*Z)1#Oc)r8-%r6;4L21sW;LK%%3reic3oxQlW^tB*Z5bWi~VW=8~T^Y|w=~Hh%n$
zFKY`)OB!FE&l(x5s%wieNOtI~;Fmw?@LKRZFSB(z*@6Oj6#lm!PL=q!HT%7SuMAUh
zzD3=x%L4++6q~^7vzcf=BN12CNQq@k($|%jw}?lR&iIa$*wAJNFBt8F?
zd(r!R8!duA#M5Cj=zaQ!O&k;q%@bJ*EwTWo^ZE4cU?(>>dr=5lJJ@BCln%7b*LO~mmi|{5UAszWkY*!&0i8?AT54N_EmKrWOIEzu<(wPzN>I`V>
zG6P8tTYo>&Ry<7X!qa*B$u?RQLeB3hFbmy&290K3Vzi|1WG|sGEPB@_VaoBhtH|`LA?F-4Ba~G~=2agQ9%n
zOI(k)fZmNQj=eIx!@mUo%I^V?;Wa~hLRUAhwN9`7<@K4WaW0SVG^+5z2489Lbr@)D
zP$XTjX)=P)1J#L#EL09b%V6-8H4`_qsD@5oo7Z2gE%iMc
zYSe-+VHg{FR_73L+Pt;sj1OV&aPmKm6E}7ls)%A^;-J$9E31MOFEwN1z
z>}_l`w5S(OD_x?=QiW(Jawu1W&ptjG#At3#>rIaM;%Z{@Qi~FbHWSddZYuHia)-Q*
z07OXb@$%L@sLlcGJUq=D-uXPX1q?wBYxjQzCwD0)207i_gC5sF+)vQUIFSWqeSY6Z
zOl|0q1QdpuH$QC;MS~b22%gfhWRFJ@B1aAQ=ZqCK6^H&|y>GX*z#gE5g~hmZdS)V;
zCtIih+IWOG9n29f=J%^CTmkIOD{cL4Gd8+xxMtou@{x_hRh3Tmw$nXcX#hf$6)KE>a#|
zBI4PhkoG0u5Ed@Cx>mye-qY*lTQY0u^g5sRjIj1fb8Cm0)6H~XNkZ^B_2tgJj7<(g
z2HG>hvSPlL2n6u@w8I1Pz1=Wc!_d#>gT|-FzKPy053R^UMX%)Vdse)z@3ufM$A8BF
z9T;2ISzR#*sRhu3+_zaT$Z0v}ef{K){dD6J=pwya^~R0=!&L$}yx8Y${SkLqxy$!9
z>g(%Fq4dqo%~FklneTgoDdt_l`^zop-I`NiQL$3wWiOOMro;Oml|J!!;(&yKzWyL(
zm6g=9Xfw@?+YOAU>O}#GGJoT)(bO3A#$x)th^xP*_VNnw4NwQ(Ao!1OqI6NQx2hHu
z*I*`rE|%9fI=x`pOyR|rUn5#;%mjXF;Hx%loTEeE=VK}1BWbjiw^OLN%<(K@-8>v
zzhjKD(KXN$(A!-rG`AqbSNvYZ;@(+D59BemnG%4kdk?S&9PFQ3?R7Tk32jvVyY)It
z6L5cnk0)34(Wa{)Wm@x$p~n6hSY?GUC%qrvd_M*98^}J3OO1vfTEimK(asTi5NRj^_Z+mYp$X{QOJ~%976lNYx
z&(1c`Q;#0Z`~7J@JUaK|t2KK(@MNCh@Nq_%^5E`#Z9HjZMJFjl=W`ZrS_veY{u$
z+<8ubW!r{*3A%ufrMpR%q(j@@QwE^t(=E9~y)%6AjV9BS+1zt6!~BFk4wn=qz3Q`U
z1$2lvw_|)_f>EpQYX+N^WO$g(tj%Ia$E+z%|E`+a7t|*bepD))ca=+DLL}R`Yo2$F
zpa(D?lV@e8vcvEpXX9sZV1TsJnFyDN^EMdu5>LFx*v|2Yp^7aU=#pxi7y{fT
zl@ihyS9A1m{;0^d8Q$1qy^a25-y_?y0H7#ypFp|<=t18Mh!^8VhPd%&8vOaN=)zcJ
zcI5+^&yK5qg0;@n>bHvpBFw)pWUx!c_feSb^Xlu{L4Y6#S>sIm{n(Lh$CHwlW>^{=
zA4mTdV}SQmZ)a{EvKopllSS~JHgkZEmYyDq;mlC<>cemY|98)eWfY(g
z=q;|XQZ3?)o?JdWCME@W`&PqOV3%Qb*s6~7&b7&fMKCCOq
zbv?aYYmFOqdz!Z?Dg=m6L!}U3SKWEIpGX;=c)^lgzK`cTQ--V7VT@?JnuMOzBXp*E
zJv~LkyZVY+ZN1qhPN%*3jhdkbFU9cto;WtTOEMb?|q!
zw6NRC3EMnr5w+t1P}?Er#zzchy(F(6?uh{D&Naj1GYLUYV{6m3;H~S8T&PsBd2_CW
zoWgB_fU=QU`|HD3Uv$ez1Q-I#j6bS{#wemJk?`K9N{b9P?yz|txaUY1?JwQl4j8}@
z!4I>WCG=KSq9LnwYDT;@&2t^nuFus4_33AY;DiyweB{%Z{EZ!rE(ZFsAOCCR`1Dnu
z2k)ba@SgJ|xRl%F6X!s^*>Jp=2QTav_2b&>=}A>1?TWopOYJ?zu&b0va=Oh(YfICv
zm;wlUE;%tkdBb^@$9O9p1Tpbi2mt~l63mJ0o>W!s4v9`t+tk9N9C-#6sE|B~b7DBJ;ht`CFt
zNlAWr2b>l2)MI+zdF%i^Jg$5Tla=@VJy3NxB+s
zx5lW~AyIrxH9Jdy;VGL=%+x;d@KpH8-uF~+5e9=11HPztc`8zcI;dhgSQUuWp5k$G
z9@MwrpRFCtO#QPDcH^OGT~w?8HWK#MCtUz||3#29@BNvMdEwJD3k%C9>?+j<9|{p*
zml%ZlM@T!Y1M0(vpuMUwm_GpKCkXn7_PIVEFcAi8t9cRA4hJCkI8$fMDD#}YE*{`~mUNnGTMv4W|!^9PF`lIW>Ra-+X@v?swvzVFG}+(QVyM-e2k%)kud
zib#5wAF~-hWgs>`P7#ikybQ55Se}kkLbxELEOHjl?=VKhfb%;i0a6oDr_s_=HrOA8+cEH^mOP^iN>jp
z6Xb6@yJyMh#oTnRdsa(CKN)lH9*2&Ky?c~s#ePO^Fvdjcm7;N0Q}&gcT_e6!Pd5Yc
z(XZ!*0(v#!b=CTNI;;~E3XZGJmXsUXyx|RL&r`0$d-ZlgqZLszZefc9###mUybUms
z6_BjQ3O+=Gb}+?7X2-_HcA|%|0B;K%8N(7H2Y19|WFf7Hd4Y6K0W-OYiNV@Q#VaWV
z07qi&S7!&dpI66V@b85{r_UG|=v1LF>5WnarYE4&^QqAv;nV~X!0ZM_-LCkzaFM0`E@Qj-By0vY&Ven&adGZJa@{nzrVE;u&Eug#BDUr04apoyl%fDh#7>aC==
zUfpfGRrox`jQ8$*Vc>R1$kDLf>++CVZ^)SFO*<_I(1JE$=(8f=>3F##fUG1uy|m!w
z4J_9RX;W%DAd6HED
zK$wj2_4ms2^8APM?d{VeXYNH_jV#2K?O#vqkYG9R11Gdt6qojCrOI;O-v~nefgEcP
z>m5v?LkP!E0BA=6_0hJ+rpAzCRDQt(cPXZ8t?!!kJ+UF^M^m|_FQ18mEiQtjb0UFf
z1qyz0^axko{a=`c?hvNq^096GEso>ia%LVLcsY@>G2Kh)jXu(7|NAB~dRLhT$Rr{i
zMsYz2dV^w#_GZMOft6R@PPmq^;_SU2H?nt+{TD~6Vo~35Up;cAVwOjCD4b`D1e_HJ
z=6ZPATt|mN;#O1X4Wf|?X*7hi0GyDnP)VA_6!L$>24qs`Eg$S6OAG+{;cUpn=XkrZ-#46AMz9w(Fm1b`3=@YV#@Q;)UW*CTK^m84n8N>
zy|4FAnEb)>F2CSWs1$oMcp~MPiEMgm$NoZKxc<`{a$hztT{4IUJp3#iA#Bd-4MMJU
z|3bb(G!}Z3Dkh@;jh(U_>M!vOFBG9a$S-CQ56?dIiSh|CYbI{Mxohw?1&&-?|^Bsy19bOIoeyF}Vi-w2;>Pz$%EjR?W3M$$anB|a{!
zT;nX3bF-W^lAPsZE&4E%CB(94@bkHoWLURSx+mba^l!J@s2Ik^&%IATzuV2iIV-HA
zJ)0bG1>xKpJIB25cIT3ad8ihDSy-Hsa#zu?^F$k>vsUtxG#haO#-+|xEqWh2^4
z{~vpA6%<$WwtJG`5+t~j;K3odH16(Bf)m`mad&qQ?jE!Q1PJc#?(Pi@r}Lk0=G0eH
z=Uhz9%~Va_Ko=Kl@3r^Zd-1-{^Lwh-$C(Y8SA5>H4rFC#CZvo#Arw`{{mwwAGx6O!
zEbTpm$d&XQ=8;}Chd=(gWWC^rLLM4L{^c@gd%V&TLp;*z}_Zf+AUZwa9CP
zJlaHW8<{jTG%lNzDS-|b#_;pp^8vu%l^rv3IPc$6@7&)4U=h6_6uP$)C<}lr58Q!UGY3m&7NPBJz!NmLp{R
z2wp1^#}NmW1iY`emv-=HHvmF@oNPX5hxV%+;jC{5N`}Cj(>d~Uz)ijEx;ai5OUI|H
z!&$;;@b=DY6$gKVL7BY=&9y$7!Z5Bd-23wU5pZ4l#p
zJ;%sE4IIY5Fu;Etlw-rWYq>wb$Cc_8s89UFWj{MVSyo;VwUnEk+T7^jZfpD_wXu@;
z@GVal;7?o_v>8*twd4cw5PPJYkfas@@3{NDrgT5R%n(oNq#~&^(qzRGc4z{DF!*WO
z^IJjY2xAxreczRfbi582YUL(iw_!6!QW2lhN{U$XiS5o{hkpyW!JCPTc
z7b-!eno_uU;7XYex(MDfxsD%`EkCAPtcHGBjkKQ(dr_=!2#=5WpPNw~*fL%O*$ZsC
z8ln1Jh_GR9JoRX;+h~ZA&c1%PV`)L`a)rXw0~uFc&4w)&o)x
z1|5!9=RuWz9xjayUmyO?hL?s}E2tUBm|Yd@NL@!pvU51~bwVhEUgm4S8zqvVN99)Q
zLhtVHnTd`MVJ*um%geto0Jn*(0WP@A&*OaydjAI+Y-rVFX!FPLh2+$B
zr=!tghSCdxPIfQLi=35%XFlTVMh;>kBGu_6w*}1>3^ce93BnWNfnfMALqimpmNx@2
zK0YtkPH3ncBh}-~^LYCOA_4zb$=f!D5>4jW=y2lr!LRZR^cj3{!uN;l{nTpN7wQTo
z%3}W^ZOz&(-PZBBsn_MXMhiTPTE8xjZ@`Mm(t_r4@XK~!PW4&tc3}C?)LFz8L1q&x
z$CptBj`@X;c$)?tUTmS0XSht{3lF`1j(zmeXSFD=0
z5u?AO!JlY8H+`pk1CO0(R+m>Wf;_CY{zQl^)H1~?#c67uf1w`-xxdABbs31ti#zG7
zyJ@z!r0R-?FVu9pcxL{}DbC2KPw1|RO$`mLNc{L7NMdUX*bV(>tU&@#hH%Ml9|fLh)An3
z9A#PjZf~-G(A?b7m_b8LM0}n^fGv-W@8H^0-x``XI5j^ktEVQWqIgb4SVj4-+4DvK
zeuH*W^xDoY24&wc4@N5wcoqCzk6w6bQ8{w&h$Y~HYYjmzr;i2DW1gXn%LRZYSJnrf=XTD
z?w(C%(;}aG8cxe<$DLY0)tZ*k6R|z9M=7DO=j%H=d#+p8+l#l8^=(Ja7K$;7=WC7p
z8)N<5Wex|gkfOC5Ce7562pMFB7*}R=JiQ!7FyFD>F@p=|+$D{JxAjS_^M7?m{`E-y
z^;`evkN@`NzyIm~)o=fcaqw&O1-=YL(RPuN^74d|PsK`tva2I;l7`3oJzDAJ8J0~chp*oe_
zQp70K$oi>~g13W?2}H$IOGWRzaGy-NwE}G*I>&Wez+N8Y-KBwE_GT7nm}Lz}Px4a!
zb2}^L3UaXVJ8wR&-mb2ubYR5h@?varySZ??+|Ik-&NiDA7j-wc6}D6q6xVmvT9`Wh
z@OhnmUBd1Qi*5d(q}ludN3+QkU$b~Wh1v{{+5&gb;xtlb2@5NakR<0LX2K?Z`x-aT
zJT2V-w?~Jcw$C>YRf~(iC?od|pf}%>_-sG+v^||XkSmg8)Sew$9Us~qAKMICYe6KCH@fh1M@G>3R)G65geMplTh&9CT
z?9QFn_N3rw;AcFa8^35H6^AL+DvSY=&IeEk2vPCzGI9yB3-R-P0?=3u-p>XmS&U=f
z`u+INGmbnr%ht-Co{2$5LGI@Ec76Zcac`h{{I#bfcD-f%{J#5je!aWp_4U5zb)aT`
z`F`VWFiKmh1KD>FIIBF|__zcmAWy=#^f--G!cs>1;TK
zK^wY1huTa1_Ll#Dde48S_ZUXr9hM#bI&*|}a+W&W$*+qDzu5!6RKEB?lpoDluy6>V
zwSA}yerjPMEirrhbT|5o@wtfaNVlCm!pFyeaB
zvYnWi2@aha8mhfmwX(9ezc@NNJUbyIIX@*oBqcl|Cpy`USf?FiN_^Qeul5Cj}Mmz<%CwJGJ`D&^Mi}
zx16muoo=uiZ!jHiuspd8xbHrM+U|c&na20Fn_8HeEL3XMy12S5xyeXN3;15+cw@+u
z=d1qd@7Lj=V_(dbw@=<)Cq#z33&MUS@zh=ZO-M~
z>ew4fQJJc{tsffc>*%m~=ZEX{IfH*X02Lt=#$Jm&dkOx>zURTCbM<|YF
zG59g~`1l83j$-lc!yToVr6pZ+1nl78p!@E{=GOjq2|rVDs%AngGH8nk*@d)BAv-bx
zXzpD^Q7gQa9`wHl_l!YFECu9ses934T1?30*6-}n3e=8C+~0)I-jj})t|PLGh>+MV
zR0?uyZ4E6b9k1~5(3BKk)Kt?~*R(sG%vgtAUvgsf3Pe`%mT|yOM%0!_5*Q%qNy6S&8Y;dloA#u}zSdgPD_o
znN-fs*iFRBz(U8wPX;1vwIl6$qbxC^EOFxSGyx@z`2F}1xqN$d|E_?7U|e0+(UEQD
zK&*PT%Q+E&`|87npOS$A
z)Kx~0j*eb+DAm`;2y5{H9liHmN_srfg{-5>RhRce+3n52c+j{(j)C^W-4!X>YnZOA
zf(#Q2OKE1npFiT!?_AtnTbr8$_8CL~ba6@l+Rp!Xe9sYwIN+ZoPswr5YQKDb=#?dwmCgLJr5gxN0#z&U*7zt4O&4gfeIoT
z$uzW;rFnn-!|`;r*mt$0hw{DPJAuCe
zAG!b^-*9Fi4|zpY5E4lh$J(u0k{SU5Ob4_^KJNP!jc4wD@vQEu$4m3p#LUeN@598+
z!G!gXACuNSya2iXEVKU5Lc5bR6JkqeWAMEc8dLj!m?lE|qcayrqA)v>?da=Wni
zrPFJheMnQ!mb1Be3oZc@Yqdc}RarVbD$ITa?~|dB9BNc_cIR#tsg8t(u%E<=(BgC5
zZN_TtS;n7h!$XVhmE~bCEA!xP<^QJ`pLY-Fnwtq0F?L>1*$3Y{C@5$5^s?YjDDa2!
zI|J$_Om+XGgNXlJZ3AC}1KXN0gR>ba^P2Tvs!&Qoa$0#&VVQ7}Q$w>#V#2!z*A$$+
zesNCR-MKweGYN^hawe8qYFgUgBV%LDIx$kedI00viZY=_!r|Vi3j-f|J70)j7qnKb
z7o4i~pmyPpxTHzB9nMlZ2K^J7fJux)jy9tO{*b+{$+!fis&7fwsQ8Q<&kq+tE)L0*
z^6;sQoV!u*Gy?3DL{589O?OaFK9`)F>=qgQmoMAf+vcSE@Ob58zx{>v@oPMToj%jy
zW%%J%0(f}Rd4VH1;CGj1YB-3^-}iq^);K{L2D9+4GnBp
zGW{uIDYlgMoq`VM?r|!UwHH}-rvQJmy+aEGepPXEJ+Rj^jPVZxb#Zka8NxAGry3H-
z-QAtd!S2CiV{q0?v!-7oA&=jTAVnfSeEb!o&Q)Ta*Xg
z`fsec>j{hJ+o$`fN*0!uR*q*;kcp7Ox3{H+7T3g9g@^Ny=V5ZECD&0Hd?fR6bbKd7
zo!NvZrlPBiltmWnW``gdfv)!f7e^f4L*mI(!ow4;)kY;LK?4VWPY+}VsbDFlrtX9U
z4gb((SPA{Yf3M-Lr2ZhUylQ_4nEdL3H1b@S7ir7Q&R+Q5>9_kMWUHWX-7BPzC?Z)8
zfg~6e$uJYQki7R(_y>u|U+Fx?+*?{bTk^MRJ;?+#5@hD(tO8N!gNXU$p)Y?gk+Qk!
znzxDu|CdakI-m@Wg>W?HxW7S4O3I};)b~XHUtptFrzV#xCs!BuSnluCQPh^k)b#W8^_DpK=6aA7pW6;}@T(~BL%9duT*{AJ
zjv{V+@sGM3E3O6g(!*)0^1Q+n)CZ6whdGyUdBG%G@9l)>X?wL5VJF(Mf9}$gBk(OPBxs|C6aodx3J=D0e7QLL3PWSLImkhZowe?tkM6SpH0$G_>e^(w5gNvsxT|6!wsMA6m
z=0xR5?UBhS{_aO{dPhTFK^37&^1*v`-)`pv{)CS0yoHgE*$+<(8&5x*yF*nPZbfFn
zr?glgC=s9)`zCZk0v+1nHZ8L6Vcqbo)=HymvC8~rDL~S|%s&wSdvF7KA7S{a_ztPyX*KsBUqonGLR>8rdGDbmx=P(rhR5onQUJf$+koWrOx
zG4QL?;987qhG;_k%88>VPvjAo@BnkTMO!JE=jZ+#7ska|HK+Fv{DLm}SSd|(k(rG6
z61=B%SK8{mMJNINJ^{>szXgx$c|~_UokCBZx2xrCZhL+4`05sX)eGL*epRZJ0#xO^
zG`WFS?vFqg|8?z?HeU7CAy!^zmrL9L&$p})457Tvi}PoCoMKj+d`_4!<26jv?l#&i
zSwV*bL5wwT@*qhfFG;fu|CNcz)s3UOSILOM1y5;f0e)MIv0d_nZ*
zx6>RA;bmL$&^VC(B6$1*e;u`r@Sjh3Op9x4>>YaTHd57RhWPF0XJ_ZJYTXAbvFmmQ
z0%;--7k)DjDSx-nuKF7y`g$WwHnjxY#JMU?k`(D@X=!4aEiJU-82c8$t(Zt~?~C4!
zyCx8RN+Ik@op=upl(Ixh#nq=H$8x!yD~{{q;hzwH3#;Scmi<@uiC=z@wEY(fdS@m#T-%th);y2
zJO^vxjuOchMx~WwIgMtEn;jhsKp!q8S6AI~k(~m1Fp_Vh$7^cf){>Gt3p?Ku-A+#6
zE>4Dgv(%zw;(aOA&xM=zz#t?VNl8h5_k2M?Sl=!K+iI&Vxah3PoINsb{@{G}x4?#n
z&`40tDM8K99OrypP|(XHu&b!zcD1u}yKs1U`Tl%eq}<6;ehyGUNHXIVDb;I2NRyhn
zc~^{tFgG+)(B3!=6Cg|x&lL6AHuIol=D;M@lbD+)W^709WSg
z-G>}IX?K3Oz~DY_K7M{}y?yF>6QoaHNq|2)rB{@jJ`2=2)=AY8W&dE*P{&ap94s(c
zTLwSYqe*&cnw!YUZTyb6^oRzqBTxHT-hPXdj=+d(YFauBC
z?6jp0$`s@{^u@!-5iY-~ev!mUgux@$6+Up7L>yV6_07M7P7EuU+YsQqY-`$}0{Nu{Tw
z^^3|zht#8!H|}7w
zYmb`#ME!Vliiw4XQs{R8a1VxqkB*bRX-u5?#i+<=^|RckJ&m?j-d@2(eTu$qimEEh
z1oDmy1=kTt6pTXwBjjsij55wRrZ>$iXoWGNOTT1vYb9yMw%)!qzS7!#j
zMo7`GYTQD4bAC`I6?U*5SMYxy@8aTytH
z3CL;vZes0$EC@xN0&Ir4!dp>Ju7yc~ZC}~5$dXc$&HvAJ1m1rR(<*#IC_vNJ5$T7bFBe&4IT4w5!oD`f^Ek7x*kvBFL)Gr$P^yiz=XQ98nmZeYQq!i%lu~APA&LG&p
zc5v#z{CG>v>$#A~M1D34p<46_4aOLW5f9|#z}XS2)9cU9723)NZPDMn@7~|$t>Q{6
z`ZMl1E?twud3^g!pAZUwD|_@aM)kOx)9R7jbb&hwm>;<0fQe8L;9kGfhfQ^Gp!Vl)
zi;j*SY#rek!mwWj#pY!s86l4M?e9Zd9s-q98ykS~=^Ub5eKM_Tl>Um~U&-o<#wc0D
zq+~tc9oT0YO^U2klG8(;Lc-$C1$|r~`_<6$!nlH>G~dce3S}?i0!ydQ*>nW5go2%{
zDP4kMvD!WMkT?J@W&2|1yR98sr@?cT;g52A8{4C@El$lV;m3zN4B7sMgy5epL`g~6
zsT#_vPpjf@U@+g}U6PW}QtBb1@4wBw@Fx8H??XhGE5cvVam@k~Jb+HeRseWQpy_KX
z90Gz+V+Ed*4OK=Y22BVY7TdbEv2xwX8!01mw=}n(Q4=}Q+0Gd!JEPyuU6_40Jn&+z
z+gSuu&*dv>pruEnh2G3Px87X=@;PS&wQ9Lu5*V>7qEXT~8>2QRMmbMcjVUCc-~XO4
z%+^xYRqd&?x3asiJ2|yKImAXo57~Cuy=3*W`5Ht7fgbqZzkj(T-!S~A-o%Fy#BC6u
zOBLir_S@hu2MHvD#EU3vyjb$Pf7Hmp@(fmh$ntX=|MyjW|A_v+v8Qmm<2kMK&imyY
z=;F8;=ZEUGH_|f`yPgKRdVA%c>Xg3_CXN&jmRfMt8m7_BMh@-R<`~RM8;iNhXvmOZ
zdIzABd&3n*Xkn1uwYuN7xZRRj+Kh}bMNp{u^DJykOpr$*qx^myIt2XW|0*c>VIB(K
zeJ5onA<^I4+lz4zTNTNkQB_ukw5ny)?epY*1_o@8zo(1cecmYsxX0A<;4==1I=G`U
zJ8qLPpO^pYpw(W54@YG){Uo~Te6D$}1%6ZS@^f{qXC3Y7vH!xpGBY!Cv-|vW!)~L?
z+kGgJT3^uV5$S+Q6hQ2a1=FBX_*WCU6%9akzEJIR*5rgGv}T_J
zEyZ7(jp!ICYuT@LHaqRft~GV~z2&A3#=U_so*$f=N~Y~My4QYv-`SN(YPDM%w);IW
zsbu^eDqgoi#8_H-UhoL}jt4LwPj7SR5#1(hFtlE%fowgKn_`v>;yr-}el)3TY93S8
ziBZ|}o%LB!_f!9%lt*{dHK$d4f72I+-iRSI^X>JXUqMuL;00=!xs^P`SjdMNXFuKa
zuRwXPS*@#~t`0{IEn};>qB_%L#M(dJEf_UY0xoKjGG|$p0^q@FZs)5Zk4H=nd5bV%gr4TPQMWeID(swEGDwev|s5&>nU12u8fo6mwT~-Ab0;r=f6iYIZu8Ez)or&
zyywsTEWsKWjdBxqgdi3HW1|gvhrA`}qSKs}jA;4GYKCSu$q)3n9mUn`zcfEL2i1Y<
zRcjI+FEv^;HR3a77H=5(77=B9&$ER+GS;$n3ov^M2x*OsjARac9TIC8!2790kj=@*
z!X(JIxX>0hw>CXE)-yQQ%Xb!BA2N~mwbOg%_I$061>^&zy+CR~Kt0WNi1}T}^mI;A
zB+Y7BcZ1DSVw4uk8U4C5cr|5=e?+TFH-~^&$aD2@X@*uR3=wit>vw*3%xCuU=ernc
zqw}?@D#tX3lWHP|+DyaFM^(zAZBfy_XGAy`OmI)_>nj9mQyK@hoyIZ{-}g$)y_19a
z$;ZoA|7I&Gi4c#-mC-p2Y>VE%IGC7&!iQcVu)4v(Un4YKPyxL@G~nR=?#hg=4K8bG
zEv=F<1rY(RA&GU{4hEv4qN0zT>hU&)Mptp0WQZ8Pylu&4B@O7y~
zilp!oZ{CM6Xkx+k4z>rD`83fjEZ(WqM0N&j^7mJisyCHR
zXJ~x{96)o^&>+Eax{09%c{<2j(#ntobJ()5uvi9e4>67En4ehO?Kr+Xy*^*uv0-u8
z&7Rdn*RrPBvTxznS;~v;h7q$Eb<0yK1(;P}eRXkiQk0iZ9_nLcUgB8z#qsUKRQ&F2
zvU*DeUi~g5KT|6*Bp=t*(cN9j-^9eYjX_Y*;1dfiX282GB5Gv)Jwrns3XI|%O1^NZ
z=mu7FvQP*%;Q5pzINM!GTKdma0Q@2TYrr^s^dKS`xv(vqnA`6Gf<+8?yTAe$m~cXc
zme~Ou$DwF}zlN*O0=7O8r;|Fg2SgM`X7wZ_Md|$Iw>>x&S!^U88oZ-fbCBG!+Te3
z-+6TiqxO~J;!y5fT;1Fb_iXB44mRGPzoMccDM(9?4UZBhrzwRfnd>g+zpSc+i1DLC
z^h28IxXArpuB58!vnq-Cmm=!|DI6ps6s=_FKSz}{d*ZH)|22_}6KRzw((dP!e$2la
z`zXYf^?@wN1%=cD6->hKR>gT(3UWG!5wU@}4i0yR17E2T5Z)Jt
z)ZitLY$Fi}jBD}A;<;Y@l&X~S^hs`V8=I}2f>EX6x=KXJFa`?;-?Ar7YaE+NS~p6L
z;%0xGa()(n<=2mIU**29K<9(>eWQd}$6<36xk1Jv=f>10>b8d?3Q@Vjn$ojVDQ1Na(Sm(^4V
zELnCK=yrA$bbD->r({*
zr_15k=lk!^5#izB5FZiY5rZY+;A#5@N@)HJ28ZFHlfG06gVsf_1MsF9hp|6V{)|FJ
zqu8~-`H}z^nnN%~v0#q|`HlBCaP`ny;kF>VhVyVxZAK62NbwBec
z`qQqyJJ7LmFphkK<~9kmo&BeL{hdj4nXrQ=YPP29(ai*)^sOfdu|IbDL#c)#s97x9
zy|KdB$A@SuZTr3FN5OaffBQl|a8On*MnC@YNSd6mVbd}`P`?fng1V9rNKTP%Po^c<
zlkijp!Ay^WaD+MN5LygU^y^!+`%}{M6VmOoqa9Pnlc}KE&2~MKr!5FRORk`0gP@Q8
z^Y&dA_eCbr#aellfNQ?bMNB2`!8l2~OWPMgPOGCtc;eP7!*1hqs7}8GXN({{kN@X4
zVLNkOQZ3z(vy^%gQ)fLOt^G=S
z4Bm8XVNCX5|3Jc?vR|^du@7!Fo`^m7EhRZL`ev-1jWO{346q9F)rHG;(xnP@G#}?}yA9tavg|7k3$n#(bVbw@
zbzS_T;}JyrBSiWX@=-GT2tO+s4r%#$e-`
zjPcHJGUP6=I~40k4c1T~^>03$FI!un|B*>pc0&>rL49S4!iez2wo;#U+EoLPFpW2Bijzsi>$2{=hc|*7ZSB8p
zD5`VH6|fOltEw_G96ar?s4g=|4JJ}nX(WtH_if_OFv%L$L~L7U{y