| title | TanStack Start React | ||
|---|---|---|---|
| description | Learn how to set up and configure Sentry in your TanStack Start React application using the installation wizard and capture your first events in Sentry. | ||
| sdk | sentry.javascript.tanstackstart-react | ||
| categories |
|
Logs and Application Metrics need no extra configuration, and you'll learn how to send them in steps #3 and #4.
If you already use console, capture those calls as Sentry Logs with consoleLoggingIntegration.
We also provide integrations for:
- Consola
- Pino
On Node.js, nodeRuntimeMetricsIntegration also collects runtime health metrics automatically.
Let's test your setup and confirm that Sentry is working correctly and sending data to your Sentry project.
Add this button to a page in your app and click it to send a test error:
<button
type="button"
onClick={() => {
throw new Error("Sentry Test Error");
}}
>
Break the world
</button>Start your dev server and click the button.
Now, head over to your project on Sentry.io to view the collected data (it takes a couple of moments for the data to appear).
You've successfully integrated Sentry into your TanStack Start React application! Here's what to explore next:
- Explore practical guides on what to monitor, log, track, and investigate after setup
- Set up Agent Tracing to monitor your AI systems
- Explore TanStack Start React-specific features
- If you encountered issues with the installation wizard, try setting up Sentry manually
- Check Troubleshooting for common issues
- Get support