# Debug the hard parts of Next.js.

From edge middleware to client components, server action, and production-only failures, see what’s actually happening in your app.

[GET STARTED FOR FREE](https://sentry.io/signup/)[SEE IT IN ACTION](https://sentry.io/demo/)

Run this command to sign up for and install Sentry.

Click to Copy

Click to Copy

    npx @sentry/wizard@latest -i nextjs

Get all the context of every error

Prevent Next.js regressions

Fix what’s broken faster

## Get all the context of every error, full-stack

### One install covers client, server, and edge

A single SDK instruments your entire Next.js app — React components, server actions, API routes, and edge middleware. `npx @sentry/wizard -i nextjs` and you're done.

[Get Started in Minutes](https://docs.sentry.io/platforms/javascript/guides/nextjs/)

### Debug with complete context

Sentry groups errors and surfaces everything in one place. Each issue includes stack traces, logs, breadcrumbs, and session replays.

[Watch how Sentry debugs Next.js](https://www.youtube.com/watch?v=jDfIxeXNTZA)

### Trace requests across every boundary

Follow a request from the browser through server components, edge middleware, and back. See every route path, redirect chain, and console log.

[Learn about Tracing](https://docs.sentry.io/platforms/javascript/guides/nextjs/tracing/)

## Prevent Next.js regressions before and after deploy

### Compare releases across every runtime

See error rates and performance before and after every deploy. Pinpoint exactly which release introduced a regression so you can roll back and fix it faster.

[Compare Releases](https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/releases/)

### Use logs to catch issues before they escalate

Capture structured application logs from your Next.js code and automatically import platform logs and distributed traces via [_Vercel drains_](https://docs.sentry.io/product/drains/integration/vercel/) to inspect unexpected behavior in real time.

[Learn more about Logs](https://docs.sentry.io/platforms/javascript/guides/nextjs/logs/)

### See agent behavior before it becomes a problem

Monitor AI agents, LLM tool calls, and MCP servers to catch latency spikes, token blowups, failed tool calls, and noisy third-party APIs—all in one place.

[See how Agent Monitoring works](https://www.youtube.com/watch?v=FhbNw_8VYAo)

## Fix what’s broken faster – from local dev to Vercel production

### Stop Next.js bugs before they make it to production

Seer code review catches breaking changes in your PR before they hit your users.

[Get started with Seer Code Review](https://docs.sentry.io/product/ai-in-sentry/seer/ai-code-review/)

### Catch issues instantly and get automatic root cause analysis

Automatically connect errors with runtime context (browser, [_Node.js_](http://node.js), edge), performance data, and recent changes to generate RCAs and solutions.

[Get started with Seer](https://www.youtube.com/watch?v=o6T640JXwUg)

### Let agents handle the fixes for you

Seer generates PRs with fixes for you, or, delegate to Cursor Cloud Agents to implement solutions in your application code.

[Watch how to use Seer with Cursor Agents](https://www.youtube.com/watch?v=awpCpQPQxbE)

Sentry has changed how we monitor and respond to errors at Vercel by increasing code visibility and reducing resolution times. I’m thrilled for the new SDK to make error monitoring even easier for the Next.js ecosystem.

Lee Robinson

VP of Product,

Vercel

[Read More Vercel testimonial](https://vercel.com)

## FAQs

Why logs in Sentry?

When debugging, logs, traces, and errors work better together. Logs provide the granular context—like retries, API failures, and internal state—that spans and errors can miss. But in most tools today, logs live in a separate system, forcing you to switch between tools to piece together the full picture.

With[ logs in Sentry](https://sentry.io/product/logs/), everything is in one place. You can see logs right alongside your errors and traces—no more context switching, just faster debugging.

Do you have log and trace drains?

Yes. Send logs and traces without code changes to Sentry from platforms where you can't use the Sentry SDKs. [Set up log drains](https://docs.sentry.io/product/drains/) to forward logs from your deployments directly to Sentry without code changes. Log drains are available for [Vercel](https://docs.sentry.io/product/drains/integration/vercel/), [Cloudflare](https://docs.sentry.io/product/drains/integration/cloudflare/), [Heroku](https://docs.sentry.io/product/drains/integration/heroku/), [Supabase](https://docs.sentry.io/product/drains/integration/supabase/), and [Shopify Hydrogen](https://docs.sentry.io/product/drains/integration/shopify-hydrogen/).

How much does Sentry cost?

You can get started for free. Pricing depends on the number of monthly events, transactions, and attachments that you send Sentry. For more details, visit our [pricing page](https://sentry.io/pricing/).

How does Sentry impact my app performance?

Sentry doesn’t impact a web site’s performance.

If you look at the configuration options for when you initialize Sentry in your code, you’ll see there’s nothing regarding minimizing its impact on your app’s performance. This is because our team of SDK engineers already developed Sentry with this in mind.

Sentry is a listener/handler for errors that asynchronously sends out the error/event to Sentry.io. This is non-blocking. The error/event only goes out if this is an error.

Global handlers have almost no impact as well, as they are native APIs provided by the browsers.

## Of course we have more content

[### Log Drains now available: Bringing your platform logs directly into SentrySentry now supports log drains, making it easy to forward logs into Sentry without any application code changes or manual project-key lookups needed. If your lo...](https://blog.sentry.io/log-drains-now-available)

[### Less code, faster builds, same telemetry: Turbopack support for the Next.js SDKTL;DR - Turbopack became the default in Next.js, so we reworked our SDK to stop depending on bundlers. The result is less code, faster builds, and the same tele...](https://blog.sentry.io/turbopack-support-next-js-sdk)

[### Not everything that breaks is an error: a Logs and Next.js storyStack traces are great, but they only tell you what broke. They rarely tell you why. When an exception fires, you get a snapshot of the moment things went sidew...](https://blog.sentry.io/not-everything-that-breaks-is-an-error-a-logs-and-next-js-story)

[### Trace-connected structured logging with LogTape and SentryAs our applications grow from simple side projects into complex distributed systems with many users, the “old way” of console.log debugging isn’t going to hold ...](https://blog.sentry.io/trace-connected-structured-logging-with-logtape-and-sentry)

[### Logging in React Native with SentryLogs are often the first place dev teams look when they investigate an issue. But logs are often added as an afterthought, and developers struggle with the bala...](https://blog.sentry.io/logging-react-native-with-sentry)

[### Log Drains now available: Bringing your platform logs directly into SentrySentry now supports log drains, making it easy to forward logs into Sentry without any application code changes or manual project-key lookups needed. If your lo...](https://blog.sentry.io/log-drains-now-available)

[### Less code, faster builds, same telemetry: Turbopack support for the Next.js SDKTL;DR - Turbopack became the default in Next.js, so we reworked our SDK to stop depending on bundlers. The result is less code, faster builds, and the same tele...](https://blog.sentry.io/turbopack-support-next-js-sdk)

[### Not everything that breaks is an error: a Logs and Next.js storyStack traces are great, but they only tell you what broke. They rarely tell you why. When an exception fires, you get a snapshot of the moment things went sidew...](https://blog.sentry.io/not-everything-that-breaks-is-an-error-a-logs-and-next-js-story)

[### Trace-connected structured logging with LogTape and SentryAs our applications grow from simple side projects into complex distributed systems with many users, the “old way” of console.log debugging isn’t going to hold ...](https://blog.sentry.io/trace-connected-structured-logging-with-logtape-and-sentry)

[### Logging in React Native with SentryLogs are often the first place dev teams look when they investigate an issue. But logs are often added as an afterthought, and developers struggle with the bala...](https://blog.sentry.io/logging-react-native-with-sentry)

[### Log Drains now available: Bringing your platform logs directly into SentrySentry now supports log drains, making it easy to forward logs into Sentry without any application code changes or manual project-key lookups needed. If your lo...](https://blog.sentry.io/log-drains-now-available)

[### Less code, faster builds, same telemetry: Turbopack support for the Next.js SDKTL;DR - Turbopack became the default in Next.js, so we reworked our SDK to stop depending on bundlers. The result is less code, faster builds, and the same tele...](https://blog.sentry.io/turbopack-support-next-js-sdk)

[### Not everything that breaks is an error: a Logs and Next.js storyStack traces are great, but they only tell you what broke. They rarely tell you why. When an exception fires, you get a snapshot of the moment things went sidew...](https://blog.sentry.io/not-everything-that-breaks-is-an-error-a-logs-and-next-js-story)

[### Trace-connected structured logging with LogTape and SentryAs our applications grow from simple side projects into complex distributed systems with many users, the “old way” of console.log debugging isn’t going to hold ...](https://blog.sentry.io/trace-connected-structured-logging-with-logtape-and-sentry)

[### Logging in React Native with SentryLogs are often the first place dev teams look when they investigate an issue. But logs are often added as an afterthought, and developers struggle with the bala...](https://blog.sentry.io/logging-react-native-with-sentry)

## Fix It

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.

[Try Sentry for Free](https://sentry.io/signup/)[Get a Demo](https://sentry.io/demo/)


For large and fast-growing development teams

# Deliver a better product experience with code monitoring at scale

Increase developer velocity and remove silos with full visibility into your code health across your frontend, backend, APIs, and microservices — in a single platform.

[Get in touch](https://sentry.io/demo/)

Meraki logo

Microsoft logo

Vmware logo

Atlassian logo

Github logo

Cloudflare logo

## Help developers see clearer, solve quicker, and learn continuously

### See issues that really matter

Visibility across all platforms, so no bug gets away from you.

### Solve issues in minutes

Deep context removes back-and-forth issue remediation across teams.

### Learn insights to improve

Uncover trends and anomalies across your projects, teams, and organization.

## We scale with you

Every part of Sentry is designed with high availability and redundancy in mind.
When your events spike, we'll be ready.

### 85k

Organizations seeing clearer

### 235k+

Products and services monitored

### 3.5M+

Developers solving issues faster

### 790B

Events recieved each month

[Request a demo](https://sentry.io/demo/)

### Accelerate time to resolution with deep issue context

Quickly pinpoint when, where, and why a user experiences an issue–and who owns the broken code–with actionable error details like the commit that introduced the error, the code owner, and the user actions and functions leading up to when it occurred, so you can reproduce and fix issues faster.

See a Sample Breadcrumb

### See slow faster with performance monitoring

Stop querying log files to troubleshoot performance issues. Use Sentry Tracing to quickly identify errors and latency problems by tracing from your frontend through all your services to see the exact poor-performing API call or slow database query.

See Tracing in action

### Maintain quality and stability with Release Health

Get real-time visibility across releases to see core metrics like crash-free sessions, version adoption, and failure rate so you can see the moment a release starts to degrade and quickly take action.

See a Sample Release

### Uncover business insights with custom queries and dashboards

Identify historical trends and anomalies to optimize code health across your projects and teams. With Sentry’s visual query builder you can query against cross-environment error, release, and application performance data so you can get a holistic view into the health of your entire system.

Explore Dashboards

### Reduce operational overhead

Streamline your workflow to optimize the developer and customer experience with 45+ out-of-the-box tools and an open API to build custom integrations. Developers can receive alerts and the context they need to take action faster in the tools they use every day.

## Your business is our business

When all hell breaks loose, we're here to help.

### Scalable user management and compliance

With single sign-on, SAML, SCIM support, and audit trails, all Sentry customers have access to admin controls that govern identity, access, and usage to keep your data safe, secure, and centrally managed.

### Automatic and Continuous improvement

Don't leave yourself vulnerable with an outdated instance. While we deploy to production multiple times a day, Sentry is always up-to-date (without you even lifting a finger).

### Support

Build a code observability practice customized to your organization. With a dedicated support team, you can discuss product questions, get onboarding help, and provide product feedback almost instantly.

### Reliability

We strive to always be available — Sentry rarely encounters issues. Check for yourself at [status.sentry.io](https://status.sentry.io/), our transparent dashboard that tracks our uptime in real time.

## Exceed security and privacy requirements

Security and compliance are top priorities for Sentry because they are fundamental to your experience. We use a variety of industry-standard technologies and services to secure your data from unauthorized access, disclosure, use, and loss. We undergo a security penetration test from an independent, third-party agency, and we are GDPR, HIPAA, ISO27001, and SOC2 Type 2 compliant as well as Data Privacy Framework certified.

[Learn more](https://sentry.io/trust/)

”Sentry's high-quality tooling helps Disney+ maintain high-quality service to its tens of millions of global subscribers.”

[Request a demo](https://sentry.io/demo/)

Cool Vendors in Software Engineering: Improving Digital Resilience, January 2023. The GARTNER COOL VENDOR badge is a trademark and service mark of Gartner, Inc., and/or its affiliates, and is used herein with permission. All rights reserved. Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner’s Research & Advisory organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.


# Ecommerce Performance Monitoring & Error Tracking

Whether it’s a slow product page on mobile, a JS error breaking your cart, or a third-party integration that ghosted mid-sale, Sentry helps you understand what's broken so you can fix it faster.

[Get a Demo](https://sentry.io/demo/)[Try Sentry For Free](https://sentry.io/signup/)

### works with

[Node.js](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/vercelai/)[NestJS](https://docs.sentry.io/platforms/javascript/guides/nestjs/configuration/integrations/vercelai/)[Nuxt](https://docs.sentry.io/platforms/javascript/guides/nuxt/configuration/integrations/vercelai/)[React](https://sentry.io/for/react)[Vue](https://docs.sentry.io/platforms/javascript/guides/vue/)[Laravel](https://docs.sentry.io/platforms/php/guides/laravel/)[Remix](https://docs.sentry.io/platforms/javascript/guides/remix/configuration/integrations/vercelai/)[React Native](https://sentry.io/for/react-native)[iOS](https://docs.sentry.io/platforms/apple/guides/ios/)[Android](https://docs.sentry.io/platforms/android/)[SvelteKit](https://docs.sentry.io/platforms/javascript/guides/sveltekit/configuration/integrations/vercelai/)[Flutter](https://docs.sentry.io/platforms/dart/guides/flutter/)[WordPress](https://github.com/stayallive/wp-sentry)

Tolerated by 4 million developers

Disney logo

Instacart logo

Duolingo logo

Tonal logo

Gorgias logo

Eventbrite logo

Disney logo

Instacart logo

Duolingo logo

Tonal logo

Gorgias logo

Eventbrite logo

Catch & Fix Bugs Fast - Ecommerce

Optimize Performance

Language and Framework Support

## Catch & Fix Bugs Fast

### Find and fix all kinds of errors (before they hurt your bottom line)

From JS errors in the product grid to image loading failures on mobile and third-party payment script issues during checkout, Sentry automatically captures and groups every type of error in your ecommerce stack.

No need to wade through noisy logs or duplicate reports. Just clear visibility into what broke, how often, and who it’s affecting.

[Learn about Error Monitoring](https://sentry.io/product/error-monitoring/)

### Get the full context behind every issue

When a customer clicks ‘Place Order’ and nothing happens, you need to know what went wrong, not just that it’s broken. Sentry gives you the ‘how’ and ‘why’. You get context like:

  * Full stack traces

  * Breadcrumbs

  * Device & user details

  * Suspect commits that likely caused the issue

\- all at a glance so you can identify issue owners and the root cause faster.

[Learn about Issue Details in Sentry](https://docs.sentry.io/product/issues/issue-details/)

### See exactly what your customers see with Session Replay

Your logs show a spike in drop-offs in your checkout flow when using a discount code, but no clear errors. With Session Replay, you can see a video reproduction of exactly what the user saw: the taps, screens, scrolls, and UI state. Get a clear view of what went wrong, with the connected context to fix it.

[Learn about Session Replay](https://sentry.io/product/session-replay/)

## Optimize Performance

### Automatically root cause your issues

A customer gets a blank screen after applying a discount code. Seer, Sentry’s AI debugger, analyzes the error, reviews your codebase, and submits a PR fix based on all of your app’s context. It’s AI that’s actually helpful at fixing things.

[Learn about Seer](https://sentry.io/product/seer/)

### Find the cause of performance issues from sign-in to checkout

A shopper clicks “Add to Cart” and waits… and waits. Sentry’s distributed tracing shows exactly where the slowdown happens, whether it’s a delayed API response, a stuck database query, or a third-party script blocking the UI. You get a full view of the request journey, from the browser to the backend, so you can identify problems faster.

[Learn about Tracing](https://sentry.io/product/tracing/)

### Debug app performance down to the code level

Your product detail page loads fine (until you try to scroll). Sentry’s code-level profiling shows a React component stuck in a re-render loop, spiking CPU and tanking performance on mobile. Now you know exactly which function to fix to speed up your most valuable pages.

[Learn about profiling](https://sentry.io/product/profiling/)

## Language and Framework Support

### Real-Time Monitoring for your Shopify storefront

From Hydrogen to headless storefronts, Sentry gives you the tools to monitor and debug every part of your Shopify stack. See what users are experiencing, catch runtime errors early, and resolve issues fast.

[Learn about Sentry for Hydrogen](https://docs.sentry.io/platforms/javascript/guides/cloudflare/frameworks/hydrogen/)

### Monitoring that keeps up with flash sales and borked buttons across frameworks

Application performance monitoring built specifically for modern frameworks. Sentry integrates directly with Next.js, React, Vue, and other popular languages and frameworks, so you can catch errors, measure performance, and understand user impact, without stitching together a dozen plugins.

[Learn about frontend SDKs](https://sentry.io/for/frontend/)

### Keep your mobile experiences smooth from sign-in to checkout

Don’t wait for your users to tell you about issues in your ecommerce app. Sentry gives you full visibility into your mobile apps, from Flutter to React Native to iOS and Android. Crashes, UI hangs, performance bottlenecks—everything your team needs to protect the mobile customer experience, in one place and in real time.

[Learn about support for mobile](https://sentry.io/solutions/sentry-for-mobile-developers/)

## Getting started with Sentry is simple

We support every technology (except the ones we don't).
Get started with just a few lines of code.

AndroidiOSFlutterNode.jsReactJavaScriptLaravelVueSvelteNext.jsSee All Platforms

Just run this command to sign up for and install Sentry.

Click to Copy

Click to Copy

    npx @sentry/wizard@latest -i android

That's it. Check out our [documentation](https://docs.sentry.io/platforms/android/) to ensure you have the latest instructions.

[Create a Sentry Account](https://sentry.io/signup/)[See All Platforms](https://sentry.io/platforms/)

"A lot of solutions do error monitoring, but Sentry goes the extra mile when it comes to details."

Using Sentry, Gorgias is able to deliver:

10

Daily Deployments

99%

Uptime

Hours

To incident resolution

[Read More](https://sentry.io/customers/gorgias/)

## Check out more content:

[### Monitoring Critical E-commerce Experiences: Developer's ChecklistFrom sign-in to checkout, every error costs revenue, especially during peak traffic spikes. Learn how to get ahead of errors and performance issues wi...](https://sentry.io/resources/holiday-e-commerce-checklist)

[### <100ms E-commerce: Instant loads with Speculation Rules APIIn e-commerce, we all know that speed = money. I know it, you know it, Amazon knows it, eBay knows it, Shopify knows it, everyone knows it. In this article we’l...](https://blog.sentry.io/less-than-100ms-e-commerce-instant-loads-with-speculation-rules-api)

[### Session Replay: Becoming your own digital secret shopperRetail stores have long relied on a secret weapon to measure and improve the shopping experience: the secret shopper. Posing as ordinary customers, they evaluat...](https://blog.sentry.io/session-replay-becoming-your-own-digital-secret-shopper)

[### Monitoring & Debugging a Checkout Flow in Flask & ReactWhen your checkout flow breaks, customers disappear faster than most ‘cutting-edge’ JS metaframeworks. Let's walk through how we instrumented, monitor...](https://blog.sentry.io/monitoring-and-debugging-a-checkout-flow-in-flask-and-react/)

[### Monitor and Debug Laravel Applications with SentryLearn how to monitor and debug Laravel applications using Sentry](https://sentry.io/resources/debug-laravel-with-sentry)

[### Debug errors faster while protecting user privacy with Session ReplayDebug errors faster while protecting user privacy with Session Replay. See how Tilled uses Session Replay for faster debugging, and how Sentry helps t...](https://sentry.io/resources/session-replay-privacy-workshop/)

[### Session Replay: Debug Faster without the GuessworkGet full visibility into user errors to see exactly what went wrong and when with Session Replay.](https://blog.sentry.io/getting-started-with-session-replay/)

[### Mobile App Monitoring Platforms Don’t Have To Be NoisyIn this workshop, we’ll show you how to use Sentry to cut through the noise and zero in on what actually matters—whether it’s jank from blocked main t...](https://sentry.io/resources/mobile-app-monitoring-workshop)

[### Introducing Session Health in Sentry (Open Beta)Session Health gives you a clear view of stability and user experience—and lets you drill into each dip, with the connected issues that might be causi...](https://blog.sentry.io/introducing-session-health-in-sentry-now-in-open-beta/)

[### Monitoring Critical E-commerce Experiences: Developer's ChecklistFrom sign-in to checkout, every error costs revenue, especially during peak traffic spikes. Learn how to get ahead of errors and performance issues wi...](https://sentry.io/resources/holiday-e-commerce-checklist)

[### <100ms E-commerce: Instant loads with Speculation Rules APIIn e-commerce, we all know that speed = money. I know it, you know it, Amazon knows it, eBay knows it, Shopify knows it, everyone knows it. In this article we’l...](https://blog.sentry.io/less-than-100ms-e-commerce-instant-loads-with-speculation-rules-api)

[### Session Replay: Becoming your own digital secret shopperRetail stores have long relied on a secret weapon to measure and improve the shopping experience: the secret shopper. Posing as ordinary customers, they evaluat...](https://blog.sentry.io/session-replay-becoming-your-own-digital-secret-shopper)

[### Monitoring & Debugging a Checkout Flow in Flask & ReactWhen your checkout flow breaks, customers disappear faster than most ‘cutting-edge’ JS metaframeworks. Let's walk through how we instrumented, monitor...](https://blog.sentry.io/monitoring-and-debugging-a-checkout-flow-in-flask-and-react/)

[### Monitor and Debug Laravel Applications with SentryLearn how to monitor and debug Laravel applications using Sentry](https://sentry.io/resources/debug-laravel-with-sentry)

[### Debug errors faster while protecting user privacy with Session ReplayDebug errors faster while protecting user privacy with Session Replay. See how Tilled uses Session Replay for faster debugging, and how Sentry helps t...](https://sentry.io/resources/session-replay-privacy-workshop/)

[### Session Replay: Debug Faster without the GuessworkGet full visibility into user errors to see exactly what went wrong and when with Session Replay.](https://blog.sentry.io/getting-started-with-session-replay/)

[### Mobile App Monitoring Platforms Don’t Have To Be NoisyIn this workshop, we’ll show you how to use Sentry to cut through the noise and zero in on what actually matters—whether it’s jank from blocked main t...](https://sentry.io/resources/mobile-app-monitoring-workshop)

[### Introducing Session Health in Sentry (Open Beta)Session Health gives you a clear view of stability and user experience—and lets you drill into each dip, with the connected issues that might be causi...](https://blog.sentry.io/introducing-session-health-in-sentry-now-in-open-beta/)

[### Monitoring Critical E-commerce Experiences: Developer's ChecklistFrom sign-in to checkout, every error costs revenue, especially during peak traffic spikes. Learn how to get ahead of errors and performance issues wi...](https://sentry.io/resources/holiday-e-commerce-checklist)

[### <100ms E-commerce: Instant loads with Speculation Rules APIIn e-commerce, we all know that speed = money. I know it, you know it, Amazon knows it, eBay knows it, Shopify knows it, everyone knows it. In this article we’l...](https://blog.sentry.io/less-than-100ms-e-commerce-instant-loads-with-speculation-rules-api)

[### Session Replay: Becoming your own digital secret shopperRetail stores have long relied on a secret weapon to measure and improve the shopping experience: the secret shopper. Posing as ordinary customers, they evaluat...](https://blog.sentry.io/session-replay-becoming-your-own-digital-secret-shopper)

[### Monitoring & Debugging a Checkout Flow in Flask & ReactWhen your checkout flow breaks, customers disappear faster than most ‘cutting-edge’ JS metaframeworks. Let's walk through how we instrumented, monitor...](https://blog.sentry.io/monitoring-and-debugging-a-checkout-flow-in-flask-and-react/)

[### Monitor and Debug Laravel Applications with SentryLearn how to monitor and debug Laravel applications using Sentry](https://sentry.io/resources/debug-laravel-with-sentry)

[### Debug errors faster while protecting user privacy with Session ReplayDebug errors faster while protecting user privacy with Session Replay. See how Tilled uses Session Replay for faster debugging, and how Sentry helps t...](https://sentry.io/resources/session-replay-privacy-workshop/)

[### Session Replay: Debug Faster without the GuessworkGet full visibility into user errors to see exactly what went wrong and when with Session Replay.](https://blog.sentry.io/getting-started-with-session-replay/)

[### Mobile App Monitoring Platforms Don’t Have To Be NoisyIn this workshop, we’ll show you how to use Sentry to cut through the noise and zero in on what actually matters—whether it’s jank from blocked main t...](https://sentry.io/resources/mobile-app-monitoring-workshop)

[### Introducing Session Health in Sentry (Open Beta)Session Health gives you a clear view of stability and user experience—and lets you drill into each dip, with the connected issues that might be causi...](https://blog.sentry.io/introducing-session-health-in-sentry-now-in-open-beta/)

## Fix It

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.

[Try Sentry for Free](https://sentry.io/signup/)[Get a Demo](https://sentry.io/demo/)


# Sentry Events

Find upcoming events, watch streams, and access on-demand recordings.

March 9-13, 2026

## GDC 2026

We'll be in San Francisco March 9-13 at Booth #1749. Stop by for demos, swag, and to chat about how Sentry helps you catch crashes and errors before they bring down the player experience.

[ Learn more  ](https://sentry.io/events/gdc)

## Events

[ HumanX 2026  Apr 6, 2026  In-person  ](https://sentry.io/events/humanx)[ Observability Consolidation: The Engineering Leader's Playbook  Apr 14, 2026  Workshop  ](https://sentry.io/resources/workshop-observability-consolidation)[ Sentry Demo: Debugging for Game Developers  Mar 25, 2026  On-demand  ](https://sentry.io/resources/workshop-gaming-march)[ Using Seer to debug faster throughout your workflow  Feb 24, 2026  On-demand  ](https://sentry.io/resources/seer-workshop-series)[ How to Monitor and Fix Critical User Experiences  Feb 17, 2026  On-demand  ](https://sentry.io/resources/monitor-critical-experiences)[ Observing and Debugging Next.js apps with Sentry: A Hands-on Session  Feb 10, 2026  On-demand  ](https://sentry.io/resources/debugging-nextjs-apps-workshop)[ Fix it Faster: Crash Reporting, Tracing, and Logs for iOS in Sentry  Jan 29, 2026  On-demand  ](https://sentry.io/resources/ios-workshop-jan-2026)[ Improve React Native Performance using Tracing and Logs  Nov 20, 2025  On-demand  ](https://sentry.io/resources/react-native-workshop)[ Fixing your frontend: performance monitoring best practices  Oct 27, 2025  On-demand  ](https://sentry.io/resources/fixing-your-frontend-workshop)[ Break production less with AI code review  Oct 16, 2025  On-demand  ](https://sentry.io/resources/ai-code-review-workshop)[ [Workshop] Building and Monitoring AI Agents and MCP servers  Sep 23, 2025  On-demand  ](https://sentry.io/resources/building-and-monitoring-ai-agents)[ Debugging with Sentry AI using Seer, MCP, and Agent Monitoring  Jul 23, 2025  On-demand  ](https://sentry.io/resources/debugging-with-sentry-ai)[ Full-Stack Performance and Debugging Workshop  Jun 10, 2025  On-demand  ](https://sentry.io/resources/full-stack-debugging-workshop-june-10)[ Mobile App Monitoring Platforms Don’t Have To Be Noisy  May 13, 2025  On-demand  ](https://sentry.io/resources/mobile-app-monitoring-workshop)[ Monitor and Debug Laravel Applications with Sentry  Apr 30, 2025  On-demand  ](https://sentry.io/resources/debug-laravel-with-sentry)[ Debugging in Unity: Catch Bugs Before Your Players Do  Apr 1, 2025  On-demand  ](https://sentry.io/resources/debugging-unity-workshop)[ Sentry gears up for GDC 2025  Mar 18, 2025  On-demand  ](https://sentry.io/resources/sentry-gdc-2025)[ Instrument, monitor, fix: a hands-on debugging session  Mar 12, 2025  On-demand  ](https://sentry.io/resources/instrument-monitor-fix-workshop)[ Demo: Resolve IOS Issues Faster  Feb 19, 2025  On-demand  ](https://sentry.io/resources/faster-ios-issue-resolution)[ How to build testing culture on your team  Jan 28, 2025  On-demand  ](https://sentry.io/resources/build-testing-culture-workshop)[ Smarter Tools and Best Practices for Mobile Debugging: A Hands-On Workshop  Jan 14, 2025  On-demand  ](https://sentry.io/resources/smarter-tools-and-best-practices-for-mobile-debugging-workshop)[ Does your Open Source Strategy need supercharging?  Jan 10, 2025  On-demand  ](https://sentry.io/resources/does-your-open-source-strategy-need-supercharging)[ Don’t let flaky tests disrupt continuous integration  Jan 8, 2025  On-demand  ](https://sentry.io/resources/flaky-test-workshop)[ Debug Faster with Sentry’s AI tools - live demo  Dec 10, 2024  On-demand  ](https://sentry.io/resources/debug-faster-sentry-ai-live-demo)[ Implementing Clean Architecture in Next.js  Nov 4, 2024  On-demand  ](https://sentry.io/resources/clean-architecture-nextjs)[ Behind the Code: Laravel Experts  Oct 22, 2024  On-demand  ](https://sentry.io/resources/behind-the-code-laravel-experts)[ Fix Your Front-End: JavaScript Edition  Sep 24, 2024  On-demand  ](https://sentry.io/resources/fix-your-front-end-javascript-edition)[ Faster APIs, Better Experiences: Debugging Next.js to slash API Load Times  Sep 16, 2024  On-demand  ](https://sentry.io/resources/faster-apis-better-experiences)[ Party like a Drop Star  Sep 11, 2024  On-demand  ](https://sentry.io/resources/100k-sentry-drops)[ The Forensics Of React Server Components (RSCs)  Sep 3, 2024  On-demand  ](https://sentry.io/resources/the-forensics-of-react-server-components-rscs)[ See Sentry in Action: Watch the 10-Minute Demo  Aug 29, 2024  On-demand  ](https://sentry.io/resources/see-sentry-in-action)[ Solve Mobile Bugs with Session Replay  Jul 31, 2024  On-demand  ](https://sentry.io/resources/solve-mobile-bugs-with-session-replay)[ Debugging your Node.js project with Sentry  Jul 25, 2024  On-demand  ](https://sentry.io/resources/debugging-your-nodejs-project)[ Behind the Code: A Discussion with Backend Experts  Jul 16, 2024  On-demand  ](https://sentry.io/resources/behind-the-code-a-discussion-with-backend-experts)[ Inside Look: How Sentry debugs with Sentry  Jul 10, 2024  On-demand  ](https://sentry.io/resources/how-sentry-debugs-with-sentry)[ Intro to Sentry & Codecov: Live Demo  Jun 25, 2024  On-demand  ](https://sentry.io/resources/intro-to-sentry-and-codecov-live-demo)[ Tracing: Frontend issues with backend solutions  Jun 20, 2024  On-demand  ](https://sentry.io/resources/tracing-frontend-issues-with-backend-solutions)[ Django Vienna June 2024  Jun 4, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-june-django-vienna)[ Supabase & Sentry: Find slow queries and errors in your database  May 16, 2024  On-demand  ](https://sentry.io/resources/supabase-sentry-workshop)[ Flutter Vienna May 2024  May 14, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-may-flutter)[ [On Demand] How-to migrate to Sentry SaaS  Apr 30, 2024  On-demand  ](https://sentry.io/resources/migrate-to-sentry-saas-workshop)[ Toronto Meetup April 2024  Apr 24, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-april-perf-toronto)[ PyLadies Vienna Meetup April 2024  Apr 24, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-april-pyladies-vienna)[ Kotlin Vienna April 2024  Apr 23, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-april-kotlin-vienna)[ Troubleshooting Expo apps: tips and best practices  Apr 16, 2024  On-demand  ](https://sentry.io/resources/troubleshooting-expo-apps-workshop)[ Sentry is headed to Google Cloud Next 2024  Apr 10, 2024  On-demand  ](https://sentry.io/resources/sentry-google-cloud-next-2024)[ Debug errors faster while protecting user privacy with Session Replay  Apr 3, 2024  On-demand  ](https://sentry.io/resources/session-replay-privacy-workshop/)[ Laravel Spring 2024 Meetup  Mar 14, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-spring-laravel-vienna-copy)[ Going beyond crashes: Mobile app performance monitoring best practices  Mar 5, 2024  On-demand  ](https://sentry.io/resources/mobile-performance-best-practices)[ Taming the Kraken: Managing a Python Monolith with Sentry  Feb 27, 2024  On-demand  ](https://sentry.io/resources/workshop-managing-a-python-monolith-with-sentry)[ Flutter Vienna Meetup February 2024  Feb 22, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-february-flutter-vienna-copy)[ [On-Demand] Mobile Crash Reporting and Debugging Best Practices  Feb 6, 2024  On-demand  ](https://sentry.io/resources/mobile-crash-reporting-and-debugging-best-practices/)[ Vienna DevOps and Security Meetup - New Year Edition  Feb 1, 2024  On-demand  ](https://sentry.io/resources/meetup-2024-january-devops-security)[ Workshop: Identify, Trace, and Fix Endpoint Regression Issues  Jan 31, 2024  On-demand  ](https://sentry.io/resources/identify-trace-fix-endpoint-regression-issues-workshop)[ Debugging your Next.js project with Sentry  Jan 17, 2024  On-demand  ](https://sentry.io/resources/debugging-next-js)[ Session Replay Basics - Debug Web App Issues Faster  Jan 11, 2024  On-demand  ](https://sentry.io/resources/session-replay-basics-debug-web-app-issues-faster)[ Improve Web Browser Performance - Find the JavaScript code causing slowdowns  Dec 14, 2023  On-demand  ](https://sentry.io/resources/improve-web-browser-performance-find-the-javascript-code-causing-slowdowns)[ Sentry + FastAPI Q&A Livestream  Oct 30, 2023  On-demand  ](https://sentry.io/resources/fastapi-stream)[ The Future of Open Source: The State of Sustainability  Oct 26, 2023  On-demand  ](https://sentry.io/resources/the-future-of-open-source-the-state-of-sustainability)[ Workshop: Frontend Performance Monitoring 101  Sep 20, 2023  On-demand  ](https://sentry.io/resources/frontend-performance-monitoring-101)[ The Future of Open Source: SaaS, the Final Frontier  Sep 7, 2023  On-demand  ](https://sentry.io/resources/the-future-of-open-source-saas-the-final-frontier)[ Sentry + FastAPI Berlin Meetup  Sep 7, 2023  On-demand  ](https://sentry.io/resources/fastapi-event)[ Recorded AMA: Frontend Error Monitoring 101  May 30, 2023  On-demand  ](https://sentry.io/resources/livestream-ama-frontend-error-monitoring-101)[ Vue.JS Live 2023 Workshop: Maximize App Performance by Optimizing Web Fonts  May 1, 2023  On-demand  ](https://www.youtube.com/watch?v=aQqNEp6xqh8)[ Building Better Mobile Experiences: Best Practices from Nextdoor & Riot Games  Mar 16, 2023  On-demand  ](https://www.youtube.com/watch?v=B0_XKklhp1o)[ DEX Meetup All Things Open | Raleigh  Nov 2, 2022  On-demand  ](https://www.allthingsopen.org/)[ DEX Meetup Hacktoberfest | Seattle  Oct 20, 2022  On-demand  ](https://engage-ab.marketo.com/?munchkinId=776-MJN-501#/mktForm/1353/overview/details)[ How Instacart Rebuilt Their Release Monitoring Workflow  Oct 12, 2022  On-demand  ](https://www.youtube.com/watch?v=2NaIEXKiuK4)[ Hacktoberfest 2022: Explore Sentry OSS  Oct 5, 2022  On-demand  ](https://www.youtube.com/watch?v=6uo6uVmwxIQ)[ TMW you update a backend library  Sep 9, 2022  On-demand  ](https://www.youtube.com/watch?v=4b5DPS34UJo)[ Minimizing HTTP Requests to Improve Performance  Sep 2, 2022  On-demand  ](https://www.youtube.com/watch?v=jPMA9wRaa0s)[ To Dynamically Sample or Not to Dynamically Sample  Aug 26, 2022  On-demand  ](https://www.youtube.com/watch?v=jPfh-wjV8Vc)[ Improve Performance with Lazy Loading  Aug 11, 2022  On-demand  ](https://www.youtube.com/watch?v=O37pD9DQlA0)[ Django and the Notorious N+1  Aug 5, 2022  On-demand  ](https://www.youtube.com/watch?v=tjqo6GhRpVI)[ Suspect Spans Find Caching Opportunities to Improve Performance  Jul 29, 2022  On-demand  ](https://www.youtube.com/watch?v=hFNL10O8vuU)[ Fetch Feature Flags Faster  Jul 21, 2022  On-demand  ](https://www.youtube.com/watch?v=0vtuZTDJZpY)[ How to fix performance regression in serializing and deserializing JSON  Jul 14, 2022  On-demand  ](https://www.youtube.com/watch?v=HTSmVDxy_4I)[ The Future of Open Source: Is It Sustainable?  Dec 14, 2021  On-demand  ](https://www.youtube.com/watch?v=dodos1n1-As)[ How Sentry Fed the Code Observability Revolution at Shift  Dec 8, 2021  On-demand  ](https://youtu.be/JKZzDhFzEr0)[ How Klaviyo Automates Issue Management to Monitor Code at Scale  Oct 20, 2021  On-demand  ](https://www.youtube.com/watch?v=7BlOnd-SNSg)[ Vue.JS Live 2021 Workshop: A Different Vue into Web Performance  Oct 19, 2021  On-demand  ](https://www.youtube.com/watch?v=lZt5Hwh_JWQ)[ React Advanced 2021 Workshop: Building a Sentry: 7 years of open-source React  Oct 18, 2021  On-demand  ](https://www.youtube.com/watch?v=Yjmax9ICspY)[ How Nextdoor Finds the Right People (at the Right Time) to Fix the Right Issues  Oct 14, 2021  On-demand  ](https://youtu.be/qzrCU9C8vbY)[ Deploy and Monitor your Next.js Applications with Vercel & Sentry  Oct 5, 2021  On-demand  ](https://youtu.be/ydbajDeDCsQ)[ Warm Starts to Frozen Frames - Why Mobile Developers Should Care  Sep 15, 2021  On-demand  ](https://www.youtube.com/watch?v=kL9M8QF-a2k)[ See Slow Faster - Introducing Mobile Vitals  Aug 26, 2021  On-demand  ](https://youtu.be/J0tAK6dKY3Y)[ Lunch & Learn: Tracing with Smugmug  Aug 25, 2021  On-demand  ](https://www.youtube.com/watch?v=9PJFkfJRwcA)[ Tracing for the Frontend (to the Backend)  Jul 29, 2021  On-demand  ](https://youtu.be/GSW7zJ9qFXM)[ Build, Deploy, and Monitor Next.js Applications  Jun 24, 2021  On-demand  ](https://youtu.be/xEikLxEcNiU)[ Measuring Success Using Sentry  May 20, 2021  On-demand  ](https://youtu.be/hB4F6F1J9Po)[ Spend Less Time on Bugs & More Time on Features: Sentry + Sleuth  Apr 22, 2021  On-demand  ](https://youtu.be/CzN4mP6w4hI)[ How to Monitor Mobile Apps: Sentry + Wix  Mar 18, 2021  On-demand  ](https://youtu.be/OYUNLtRCGxo)[ How to Monitor JavaScript Releases: Sentry + Eventbrite  Feb 18, 2021  On-demand  ](https://youtu.be/0vDAWwE4754)[ 3 Ways to Group Similar Issues  Jan 28, 2021  On-demand  ](https://youtu.be/3e1-trZZ3S0)[ Performance Monitoring & Web Vitals  Dec 9, 2020  On-demand  ](https://youtu.be/rEhs0S3YaN0)[ The Future of Frontend  Nov 10, 2020  On-demand  ](https://youtu.be/BDf6LvZmyl0)[ Sentry workflow: Alerts  Oct 12, 2020  On-demand  ](https://youtu.be/YDSyW8SC64s)[ Mobile Release Health: Track crash-free users, sessions, and adoption  Sep 1, 2020  On-demand  ](https://youtu.be/dGaO7MIdH7Y)[ Sentry's new Performance Monitoring capabilities  Jul 13, 2020  On-demand  ](https://youtu.be/ojebwsIeVOg)[ Implementing and Configuring Sentry  May 29, 2020  On-demand  ](https://youtu.be/Kz-SudCTdu4)[ Alert with Precision and Context using Sentry + PagerDuty  May 4, 2020  On-demand  ](https://youtu.be/t35Wd3Fm8dU)

Load more

No events match your filters. Try adjusting your search criteria.

## Fix it

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.

[ Get Started ](https://sentry.io/signup/) [ Get a demo ](https://sentry.io/demo/)


# Cron Monitoring

Don’t let your application suffer from flaky cron jobs. Know when your scheduled jobs fail, why, and (more importantly) where to fix the problem in your code.

[ Try Sentry for Free ](https://sentry.io/signup/) [ Get a Demo ](https://sentry.io/demo/)

## Track your scheduled jobs

### Trace failed check-ins for errors

Identify and solve for the root cause faster by viewing data from failed check-ins alongside related error issues.

[ Read the Docs ](https://docs.sentry.io/product/crons/)

### View job health at a glance

Know which projects to prioritize based on issue frequency. See events across projects, including missed, failed, and successful check-ins.

[ Read the Docs ](https://docs.sentry.io/product/crons/job-monitoring/)

### Customize your monitors

Monitor the jobs your team cares about and notify them when they fail. Configure monitors by environment, schedule using crontab or interval - down to the minute.

[ Read the Docs ](https://docs.sentry.io/product/crons/getting-started/)

## Getting started with Sentry is simple

We support every technology (except the ones we don't).
Get started with just a few lines of code.

Android.NETGoSwiftJavaScriptPythonReactRubyNext.jsPHPLaravelASP.NET CoreSpring BootVueAngularSolidSvelteAstro

Just run this command to sign up for and install Sentry.

Copied!Click to Copy

    brew install getsentry/tools/sentry-wizard && sentry-wizard -i android

Install the **NuGet** package to add the Sentry dependency:

Copied!Click to Copy

    dotnet add package Sentry

Initialize the SDK as early as possible, like in the `Main` method in `Program.cs/Program.fs`:

Copied!Click to Copy

    using (SentrySdk.Init(o => {
      // Tells which project in Sentry to send events to:
      o.Dsn = "https://<key>@sentry.io/<project>";
      // When configuring for the first time, to see what the SDK is doing:
      o.Debug = true;
      // Set TracesSampleRate to 1.0 to capture 100% of transactions for Tracing.
      // We recommend adjusting this value in production.
      o.TracesSampleRate = 1.0; }))
      // App code goes here - Disposing will flush events out

Grab the [Sentry Go SDK](https://github.com/getsentry/sentry-go):

Copied!Click to Copy

    go get "github.com/getsentry/sentry-go"

Configuration should happen as early as possible in your application's lifecycle:

Copied!Click to Copy

    package main

    import (
        "log"
        "time"

        "github.com/getsentry/sentry-go"
    )

    func main() {
        err := sentry.Init(sentry.ClientOptions{
            Dsn: "https://<key>@sentry.io/<project>",
        EnableTracing: true,
            // Specify a fixed sample rate:
            // We recommend adjusting this value in production
            TracesSampleRate: 1.0,
            // Or provide a custom sample rate:
            TracesSampler: sentry.TracesSampler(func(ctx sentry.SamplingContext) float64 {
                // As an example, this does not send some
                // transactions to Sentry based on their name.
                if ctx.Span.Name == "GET /health" {
                    return 0.0

                return 1.0
            }),
        })
        if err != nil {
            log.Fatalf("sentry.Init: %s", err)
        // Flush buffered events before the program terminates.
        // Set the timeout to the maximum duration the program can afford to wait.
        defer sentry.Flush(2 * time.Second)

To integrate Sentry into your Xcode project, specify it in your `Podfile`, then run `pod install`:

Copied!Click to Copy

    platform :ios, '9.0'
    use_frameworks! # This is important

    target 'YourApp' do
      pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '<VERSION>'
    end

Initialize the SDK as soon as possible in your application lifecycle, such as in your AppDelegate `application:didFinishLaunchingWithOptions` method:

Copied!Click to Copy

    import Sentry // Make sure you import Sentry

    func application(_ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        SentrySDK.start { options in
            options.dsn = "https://<key>@sentry.io/<project>"
            options.debug = true // Enabled debug when first installing is always helpful
            // Example uniform sample rate: capture 100% of transactions for Tracing
            options.tracesSampleRate = 1.0

        return true

Grab the [Sentry JavaScript SDK](https://github.com/getsentry/sentry-javascript/):

Copied!Click to Copy

    <script src="https://browser.sentry-cdn.com/<VERSION>/bundle.min.js"></script>

Configure your DSN:

Copied!Click to Copy

    Sentry.init({ dsn: 'https://<key>@sentry.io/<project>',
      // This enables automatic instrumentation (highly recommended),
      // but is not necessary for purely manual usage
      // If you only want to use custom instrumentation:
      // * Remove the BrowserTracing integration
      // * add Sentry.addTracingExtensions() above your Sentry.init() call
      integrations: [Sentry.browserTracingIntegration()],

      // We recommend adjusting this value in production, or using tracesSampler
      // for finer control
      tracesSampleRate: 1.0,

      // Set tracePropagationTargets to control for which URLs distributed tracing should be enabled
      tracePropagationTargets: ['localhost', /^https://yourserver.io/api/],
    });

Grab the [Sentry Python SDK](https://github.com/getsentry/sentry-python):

Copied!Click to Copy

    pip install --upgrade sentry-sdk

Configure your DSN:

Copied!Click to Copy

    import sentry_sdk

    sentry_sdk.init(
        "https://<key>@sentry.io/<project>",

        # Set traces_sample_rate to 1.0 to capture 100%
        # of transactions for Tracing.
        # We recommend adjusting this value in production.
        enable_tracing=True,
        traces_sample_rate=1.0,
    )

Grab the [Sentry React SDK](https://github.com/getsentry/sentry-javascript/):

Copied!Click to Copy

    npm install @sentry/react

We recommend putting the Sentry initialization code into its own file and including that file as the first import in your application entry point as shown in the example below:

Copied!Click to Copy

    import { useEffect } from "react";
    import * as Sentry from "@sentry/react";

    Sentry.init({
      dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
      integrations: [
      ],
      // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
      tracePropagationTargets: [/^\//, /^https:\/\/yourserver\.io\/api/],
    });

Include the Sentry initialization file as the first import statement:

Copied!Click to Copy

    // Sentry initialization should be imported first!
    import "./instrument";
    import App from "./App";
    import { createRoot } from "react-dom/client";

    const container = document.getElementById(“app”);
    const root = createRoot(container);
    root.render(<App />);

Add the `sentry-ruby` gem to your `Gemfile`:

Copied!Click to Copy

    gem "sentry-ruby"

Configure your DSN:

Copied!Click to Copy

    Sentry.init do |config|
      config.dsn = 'https://<key>@sentry.io/<project>'

      # Set a uniform sample rate between 0.0 and 1.0
      # We recommend adjusting the value in production:
      config.traces_sample_rate = 1.0

      # or control sampling dynamically
      config.traces_sampler = lambda do |sampling_context|
        # sampling_context[:transaction_context] contains the information about the transaction
        # sampling_context[:parent_sampled] contains the transaction's parent's sample decision
        true # return value can be a boolean or a float between 0.0 and 1.0
      end
    end

See -- it's really just one command.

Copied!Click to Copy

    npx @sentry/wizard@latest -i nextjs

Install the `sentry/sentry` package with Composer:

Copied!Click to Copy

    composer require sentry/sentry

To capture all errors, even the one during the startup of your application, you should initialize the Sentry PHP SDK as soon as possible.

Copied!Click to Copy

    \Sentry\init(['dsn' => 'https://<key>@sentry.io/<project>',
        // Specify a fixed sample rate:
        'traces_sample_rate' => 0.2,
        // Or provide a custom sampler:
        'traces_sampler' => function (SentryTracingSamplingContext $context): float {
            // return a number between 0 and 1
        }, ]);

Install the `sentry/sentry-laravel` package with Composer:

Copied!Click to Copy

    composer require sentry/sentry-laravel

Add Sentry reporting to `bootstrap/app.php`:

Copied!Click to Copy

    <?php

    use Illuminate\Foundation\Application;
    use Illuminate\Foundation\Configuration\Exceptions;
    use Illuminate\Foundation\Configuration\Middleware;
    use Sentry\Laravel\Integration;

    return Application::configure(basePath: dirname(__DIR__))
        ->withRouting(
            web: __DIR__.'/../routes/web.php',
            commands: __DIR__.'/../routes/console.php',
            health: '/up',
        )
        ->withMiddleware(function (Middleware $middleware) {
        })
        ->withExceptions(function (Exceptions $exceptions) {
            Integration::handles($exceptions);
        })->create();

Enable Sentry Tracing in `config/sentry.php`:

Copied!Click to Copy

    // Specify a fixed sample rate:
    'traces_sample_rate' => 0.2,
    // Or provide a custom sampler:
    'traces_sampler' => function (SentryTracingSamplingContext $context): float {
        // return a number between 0 and 1
    },

Run this `Artisan` command to configure the Sentry DSN:

Copied!Click to Copy

    php artisan sentry:publish --dsn=<paste-your-DSN-here>

Add the Sentry dependency:

Copied!Click to Copy

    dotnet add package Sentry.AspNetCore

Configure Sentry in `appsettings.json`.

Copied!Click to Copy

    "Sentry": {
      "Dsn": "https://examplePublicKey@o0.ingest.sentry.io/0",
      "Debug": true,
    },

Then add the SDK by simply calling `UseSentry`:

Copied!Click to Copy

    public static IHostBuilder CreateHostBuilder(string[] args) =>
        Host.CreateDefaultBuilder(args)
            .ConfigureWebHostDefaults(webBuilder =>
                // Add the following line:
                webBuilder.UseSentry();
            });

Grab the [Sentry Java SDK](https://github.com/getsentry/sentry-java/):

Copied!Click to Copy

    <dependency>
      <groupId>io.sentry</groupId>
      <artifactId>sentry-spring-boot-starter</artifactId>
      <version><VERSION></version>
    </dependency>

Configure your DSN in `application.properties`:

Copied!Click to Copy

    sentry.dsn=https://<key>@sentry.io/<project>
    # Set traces_sample_rate to 1.0 to capture 100%
    # of transactions for performance monitoring.
    # We recommend adjusting this value in production.
    sentry.traces-sample-rate=1.0

Grab the [Sentry Vue SDK](https://github.com/getsentry/sentry-javascript/):

Copied!Click to Copy

    npm install @sentry/vue

Configure your DSN:

Copied!Click to Copy

    import { createApp } from "vue";
    import * as Sentry from "@sentry/vue";

    const app = createApp({
      // ...
    });

    Sentry.init({
      app,
      dsn: "https://<key>@sentry.io/<project>"",
      // This enables automatic instrumentation (highly recommended),
      // but is not necessary for purely manual usage
      // If you only want to use custom instrumentation:
      // * Remove the BrowserTracing integration
      // * add Sentry.addTracingExtensions() above your Sentry.init() call
      integrations: [Sentry.browserTracingIntegration()],

      // We recommend adjusting this value in production, or using tracesSampler
      // for finer control
      tracesSampleRate: 1.0,
      // Set tracePropagationTargets to control for which URLs distributed tracing should be enabled
      tracePropagationTargets: ['localhost', /^https://yourserver.io/api/],
    });

    app.mount("#app");

Get started with just one line of code:

Copied!Click to Copy

    npx @sentry/wizard@latest -i angular

To use the SDK, initialize Sentry in your Solid entry point index.jsx before you render your Solid app:

Copied!Click to Copy

    // index.jsx / index.tsx

    import * as Sentry from "@sentry/solid";
    import { useBeforeLeave, useLocation } from "@solidjs/router";
    import { render } from "solid-js/web";
    import App from "./app";

    // Initialize the Sentry SDK here
    Sentry.init({
      dsn: "__DSN__",
      integrations: [Sentry.browserTracingIntegration()],

      // Performance Monitoring
      tracesSampleRate: 1.0, //  Capture 100% of the transactions
      // Set 'tracePropagationTargets' to control for which URLs trace propagation should be enabled
      tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
    });

    const app = document.getElementById("app");

    if (!app) throw new Error("No #app element found in the DOM.");

    render(() => <App />, app)

To use the SDK, initialize Sentry in your Svelte entry point main.js before you bootstrap your Svelte app:

Copied!Click to Copy

    // main.js / main.ts

    import App from "./App.svelte";

    import * as Sentry from "@sentry/svelte";
    import { BrowserTracing } from "@sentry/tracing";

    // Initialize the Sentry SDK here
    Sentry.init({
      dsn: "__DSN__",
      release: "my-project-name@2.3.12",
      integrations: [new BrowserTracing()],

      // This enables automatic instrumentation (highly recommended),
      // but is not necessary for purely manual usage
      // If you only want to use custom instrumentation:
      // * Remove the BrowserTracing integration
      // * add Sentry.addTracingExtensions() above your Sentry.init() call
      integrations: [Sentry.browserTracingIntegration()],

      // We recommend adjusting this value in production, or using tracesSampler
      // for finer control
      tracesSampleRate: 1.0,

      // Set tracePropagationTargets to control for which URLs distributed tracing should be enabled
      tracePropagationTargets: ['localhost', /^https://yourserver.io/api/],
    });

    // Then bootstrap your Svelte app
    const app = new App({
      target: document.getElementById("app"),
    });

    export default app;

Just run this command to install and register Sentry's Astro integration.

Copied!Click to Copy

    npx astro add @sentry/astro

And add your DSN and project config to your `astro.config.mjs` file:

Copied!Click to Copy

    import { defineConfig } from "astro/config";
    import sentry from "@sentry/astro";

    export default defineConfig({
      integrations: [
        sentry({
          dsn: "__DSN__",
          sourceMapsUploadOptions: {
            project: "your-project-slug",
            authToken: process.env.SENTRY_AUTH_TOKEN,
          },
          tracesSampleRate: 1.0,
        }),
      ],
    });

That's it. Check out our [documentation](https://sentry.io/platforms) to ensure you have the latest instructions.

[ Create a Sentry Account ](https://sentry.io/signup/) [ See All Platforms ](https://sentry.io/platforms)

## FAQs

What types of job monitoring does Sentry provide?

You can monitor a recurring job of any type through check-ins that notify Sentry when a job has started, finished, or if it ran successfully or failed.

How hard is it to setup Cron Monitoring?

You can set up Crons with only a few lines of code. Your existing SDK + DSN can be used for configuration.

Can I set up multiple jobs at once?

Yes, we provide integrations for Celery and Next.js that automatically set up monitors, or you can use our REST API to configure them on your first check-in.

What metrics are monitored?

Crons records each job's start time and end time, duration, and automatically tracks any errors thrown during execution.

## Of course we have more content

[ ### Error Monitoring Track, debug, and resolve errors across any language or framework with tailored context to get to the root cause every time. ](https://sentry.io/for/error-monitoring)

[ ### Lunch & Learn: Tracing with Smugmug Errors are half the story. Left untreated, performance problems can become errors. If your customers experience timeouts or slow page loads caused by... ](https://sentry.io/resources/tracing-with-smugmug/)

[ ### Performance Monitoring by Sentry Built for the developer, Sentry’s performance monitoring cuts the guesswork out of figuring out what’s slowing down your application performance. ](https://sentry.io/resources/performance-monitoring/)

## Get monthly product updates from Sentry

Sign up for our newsletter.

And yes, it really is monthly. Ok, maybe the occasional twice a month, but for sure not like one of those daily ones that you just tune out after a while.

Your Email:

I want to receive the monthly newsletter and other updates from Sentry. You may unsubscribe at any time.

By filling out this form, you agree to our [privacy policy](https://sentry.io/privacy/). This form is protected by reCAPTCHA and Google's [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.

Subscribe

## Fix It

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.

[ Try Sentry for Free ](https://sentry.io/signup/) [ Get a Demo ](https://sentry.io/demo/)


# Mobile App Monitoring And Crash Reporting

Don’t wait for your users to let you know about issues. Sentry’s mobile app monitoring - for crashes, errors, and performance issues - helps you get the context needed to diagnose and debug faster.

[Try Sentry For Free](https://sentry.io/signup/)[Get a Demo](https://sentry.io/demo/)

### works with

[iOS](https://docs.sentry.io/platforms/apple/guides/ios/)[Flutter](https://docs.sentry.io/platforms/dart/guides/flutter/)[Android](https://docs.sentry.io/platforms/android/)[React Native](https://sentry.io/for/react-native)[Unity](https://sentry.io/for/unity/)[.NET MAUI](https://sentry.io/for/dotnet-maui)

Tolerated by 4 million developers

Nextdoor logo

Instacart logo

Atlassian logo

Meraki logo

Disney logo

Riot logo

Nextdoor logo

Instacart logo

Atlassian logo

Meraki logo

Disney logo

Riot logo

Catch and fix mobile issues faster

Spot issues early, fix them automatically

Eliminate mobile jank and lag

## Catch and fix mobile issues faster

### Debug errors, crashes, ANRs, and app hangs faster

Crashes, ANRs, app hangs, and unexpected app behavior are inevitable—but spending hours trying to reproduce them shouldn’t be. Sentry links context like stack traces, device and app state, and user actions to help you go from alert to root cause—no log diving or waiting on user reports required.

[Explore the interactive sandbox](https://sandbox.sentry.io/)

### Get alerts and full context behind mobile issues

It’s not fun to have to investigate problems like hydration errors, but it’s worse when you don’t know about them in the first place.

Sentry groups errors automatically, sends alerts, and gives you context like:

  * Stack traces

  * Breadcrumbs

  * Device/OS details

  * Suspect commits

so you can identify the issue owners, triage, and find the root cause faster.

[Learn about Error Monitoring](https://sentry.io/product/error-monitoring/)

### Debug device-specific issues (without owning every mobile device)

A checkout experience breaks on an ancient Android device with one specific OS version, but not others.

Instead of having to reproduce the issue yourself, use Session Replay to get a video-like recreation of what users saw and did leading up to an error on the exact device and OS version.

[Learn about Session Replay](https://sentry.io/product/session-replay/)

### Automatically connect mobile errors to owners and commits

When your mobile app gets vague user reports about freezing but there’s no clear repro steps, and the only clue is an uptick in ANRs, you’re usually in for a slog of a bug hunt.

Sentry cuts through the ambiguity by identifying the exact commit and author likely responsible for introducing the issue. Instead of wading through recent merges or pinging five different teammates, you get a direct path to the root cause and a faster fix.

[Learn about Suspect Commits](https://docs.sentry.io/product/issues/suspect-commits/)

## Spot issues early, fix them automatically

### See mobile jank and errors before hearing about them in user reviews

Making releases successful and ensuring the long-term stability of your app requires visibility into more than just errors.

Sentry helps you monitor releases, critical workflows, and overall app health, so you can catch stuttery screen transitions, layout shifts, and slow touch responsiveness before users churn or leave negative reviews.

[Explore the interactive sandbox](https://sandbox.sentry.io/)

### Know when releases go sideways before you lose users

Releases shouldn’t be a waiting game to find out from your users that search filters are broken on iOS.

Use Sentry to monitor crash-free sessions, release adoption, and stability trends the moment a new version goes live.

You’ll also see new issues tied to each release—so you can fix fast or roll back if needed.

[Learn about Releases](https://docs.sentry.io/product/releases/health/)

### See mobile metrics like TTID/TTFD and crash rates at a glance

Your users know exactly how long it takes to load the checkout screen—and you should too.

Sentry automatically captures key performance and stability metrics, so you can track things like crash rates, TTID & TTFD, screen rendering time, network request, and transactions per minute. Drill into specific screens and user flows to understand and optimize experience where they matter most.

[Learn about Mobile Performance](https://docs.sentry.io/product/insights/mobile/)

### Go from issues to code fixes automatically with AI debugging

Not sure what’s at fault when your mobile app keeps freezing as users add a second item to their cart?

Seer, Sentry’s AI agent, identifies the root cause of problems with 94.5% accuracy, generates code fixes and can create pull requests in GitHub to resolve issues faster.

It’s AI that can fix everything from enterprise platforms to your vibe-coded pizza delivery app.

[Learn about Seer](https://sentry.io/product/seer/)

## Eliminate mobile jank and lag

### Fix mobile jank and laggy code faster

Knowing your checkout flow is slow is one thing—pinpointing _why_ is harder, and it pulls time and focus away from building new features.

Sentry gives you end-to-end visibility into the request lifecycle, from the user’s first tap in the mobile app to the final response from your backend, so you can find and fix performance bottlenecks faster.

[Explore the interactive sandbox](https://sandbox.sentry.io/)

### See the exact code breaking your key experiences

Fixing slow load times or a janky nav bar shouldn’t be a guessing game.

With Sentry, you get a real-time breakdown of requests and operations as they happen in your mobile app.

Pinpoint the exact slow API call or lagging database query behind the issue to improve performance and the user experience.

[Learn about Tracing](https://sentry.io/product/tracing/)

### Find the function calls killing your mobile UX

On mobile, even 50ms of delay on a button tap can be the difference between smooth and sluggish.

Sentry captures code execution from real user sessions, helping you identify what’s slowing down responsiveness right down to the function level.

Visualize call stacks across every thread during execution to spot bottlenecks and deliver a faster, smoother mobile app experience.

[Learn about Profiling](https://docs.sentry.io/product/explore/profiling/transaction-vs-continuous-profiling/#ui-profiling)

### See logs right alongside your issues, traces, and session replays

Sentry connects structured logs to where you’re already debugging, so you can see exactly what happened and why. Uncover hidden state bugs, prioritize fixes based on impact, and add more context to every investigation.

[Go To Quickstart Guide](https://sentry.io/quickstart/logs/?sdk=react-native)

## Sentry vs Firebase Crashlytics

### Sentry

### Firebase Crashlytics

### SDK Coverage

Android, iOS, React Native, Flutter, .NET MAUI, Kotlin Multiplatform, Cordova, Capacitor, Unity, Unreal

Android, iOS, Flutter, Unity

### Context and Insights

Offers metadata, stack traces, breadcrumbs, suspect commits, screenshots, session replay, view hierarchy

Offers metadata, stack traces, keys, logs

Source Map support for React Native

No Source Map support for React Native

Search and filter by custom tags; View trends and analyze data with Dashboards and Discover

Limited search and filter capabilities; Export and analyze data in BigQuer

### Workflow

Fully customizable alerts

Pre-set alerts

Automatic issue assignment and notifications

No issue assignment or targeted notifications

Two-way data flow between other tools

One-way data flow to other tools

### Innovation & Scale

Product investments focused on enabling developers to adopt new technologies

Product investments focused on deeper integration with Firebase Platform

Vendor agnostic

Reliant on Firebase Platform

EU Data residency

Not GDPR compliant

## Getting started with Sentry is simple

We support every technology (except the ones we don't).
Get started with just a few lines of code.

FlutterReact NativeAndroidiOS.NET MAUISee All Platforms

Sign-up and install Sentry with just one line of code:

Click to Copy

Click to Copy

    npx @sentry/wizard@latest -i flutter

That's it. Check out our [documentation](https://docs.sentry.io/platforms/dart/guides/flutter/) to ensure you have the latest instructions.

[Create a Sentry Account](https://sentry.io/signup/)[See All Platforms](https://sentry.io/platforms/)

"If our app is slow, users won’t wait—they’ll just leave. Using Sentry to debug and monitor performance is a key factor to our success in keeping users in our app and engaged. "

Using Sentry, Flo Health was able to drive:

50%

faster key transactions

99.9%

crash-free sessions across millions

50+

backend deploys/day

[Read More](https://sentry.io/customers/flo/)

## More resources for mobile developers

[### Sentry vs. Crashlytics: The Mobile Developer's Decision-Making GuideMany mobile developers weigh the differences between Firebase Crashlytics and Sentry when they are trying to choose the right crash, error, and perfor...](https://sentry.io/resources/sentry-vs-crashlytics-mobile-developers-guide)

[### Improve React Native Performance using Tracing and LogsIn this hands-on workshop, we’ll show you how to connect the dots between slowdowns, crashes, and the user experience in your React Native app. ](https://sentry.io/resources/react-native-workshop)

[### Unsnag Your Mobile Monitoring: Why Teams Are Switching to SentryMobile error monitoring tools shouldn’t flood your inbox or leave you numb to alerts—just surface what actually matters. Most mobile monitoring tools...](https://sentry.io/resources/unsnag-your-mobile-monitoring)

[### Introducing Session Health in Sentry (Open Beta)Session Health gives you a clear view of stability and user experience—and lets you drill into each dip, with the connected issues that might be causi...](https://blog.sentry.io/introducing-session-health-in-sentry-now-in-open-beta/)

[### Sentry vs. Crashlytics: The Mobile Developer's Decision-Making GuideMany mobile developers weigh the differences between Firebase Crashlytics and Sentry when they are trying to choose the right crash, error, and perfor...](https://sentry.io/resources/sentry-vs-crashlytics-mobile-developers-guide)

[### Improve React Native Performance using Tracing and LogsIn this hands-on workshop, we’ll show you how to connect the dots between slowdowns, crashes, and the user experience in your React Native app. ](https://sentry.io/resources/react-native-workshop)

[### Unsnag Your Mobile Monitoring: Why Teams Are Switching to SentryMobile error monitoring tools shouldn’t flood your inbox or leave you numb to alerts—just surface what actually matters. Most mobile monitoring tools...](https://sentry.io/resources/unsnag-your-mobile-monitoring)

[### Introducing Session Health in Sentry (Open Beta)Session Health gives you a clear view of stability and user experience—and lets you drill into each dip, with the connected issues that might be causi...](https://blog.sentry.io/introducing-session-health-in-sentry-now-in-open-beta/)

[### Sentry vs. Crashlytics: The Mobile Developer's Decision-Making GuideMany mobile developers weigh the differences between Firebase Crashlytics and Sentry when they are trying to choose the right crash, error, and perfor...](https://sentry.io/resources/sentry-vs-crashlytics-mobile-developers-guide)

[### Improve React Native Performance using Tracing and LogsIn this hands-on workshop, we’ll show you how to connect the dots between slowdowns, crashes, and the user experience in your React Native app. ](https://sentry.io/resources/react-native-workshop)

[### Unsnag Your Mobile Monitoring: Why Teams Are Switching to SentryMobile error monitoring tools shouldn’t flood your inbox or leave you numb to alerts—just surface what actually matters. Most mobile monitoring tools...](https://sentry.io/resources/unsnag-your-mobile-monitoring)

[### Introducing Session Health in Sentry (Open Beta)Session Health gives you a clear view of stability and user experience—and lets you drill into each dip, with the connected issues that might be causi...](https://blog.sentry.io/introducing-session-health-in-sentry-now-in-open-beta/)

## Fix It

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.

[Try Sentry for Free](https://sentry.io/signup/)[Get a Demo](https://sentry.io/demo/)


# Real User Monitoring (RUM)

Not all bugs crash. Some just make people quit, and you’re left staring at green dashboards, wondering what went wrong. Sentry’s Real User Monitoring shows what actually happens, revealing what backend metrics miss: session-level insights, slow pages, rage clicks — all directly tied to real users and the code-level issues behind the pain.

[Try Sentry For Free](https://sentry.io/signup/)[Get a Demo](https://sentry.io/demo/)

Tolerated by 4 million developers

Github logo

Disney logo

Atlassian logo

LinearLogo logo

Vercel logo

Airtable logo

Duolingo logo

Cloudflare logo

Slack logo

Github logo

Disney logo

Atlassian logo

LinearLogo logo

Vercel logo

Airtable logo

Duolingo logo

Cloudflare logo

Slack logo

Metronome logo

Autodesk logo

Microsoft logo

Instacart logo

LyftLogo logo

BoltLogo logo

Monday logo

Cursor logo

Anthropic logo

FactoryAi logo

Metronome logo

Autodesk logo

Microsoft logo

Instacart logo

LyftLogo logo

BoltLogo logo

Monday logo

Cursor logo

Anthropic logo

FactoryAi logo

From rage click to root cause

Monitor your Web Vitals

See what users experience

## From rage click to root cause

### Follow the trace to the point of failure

Knowing a session broke is one thing. Knowing _why_ , and how to fix it, is another. Sentry ties frontend behavior to backend traces and context, so you’re not guessing based on vague complaints or dashboards.

With Real User Monitoring, you get:

  * **Session Replay** that captures clicks, scrolls, rage-taps, and navigation, linked to stack traces and spans

  * **Trace-level visibility** into slow scripts, failed API calls, rendering issues, and more — right from the user’s browser

  * **Impact-first prioritization**, so you can focus on the sessions affecting the most users, not just the loudest alerts

Watch what the user saw. See what broke. Fix what matters.

[Learn about Tracing](https://sentry.io/product/tracing/)

## Monitor your Web Vitals

### Measure what matters, then fix it fast

Web Vitals impact everything from SEO to user experience and revenue. But knowing a page is slow isn’t enough, you need to know why. Sentry connects frontend metrics with backend traces and code-level profiling to show exactly what’s causing the lag.

With Web Vitals Monitoring, you get:

  * **Key metrics like LCP, INP, CLS, FCP, and TTFB**, tracked in real time and rolled into a single score

  * **Trace waterfalls and replays** that reveal which calls, assets, or user actions are behind the slowdown

  * **Code profiling** that highlights the specific function or line of code causing the issue

From metric to root cause, Sentry gives you the full picture.

[Learn more about Web Vitals](https://docs.sentry.io/product/insights/frontend/web-vitals/)

## See what users experience

### Full visibility into real user behavior

Get real-time visibility into your app’s performance, user behavior, and privacy — all in one place.

With Real User Monitoring, you’ll get:

  * **Instant alerts** for slow pages, error spikes, and downtime, with smart routing and anomaly detection to keep noise low

  * **Full session replays** that show every user click, scroll, and rage‑tap alongside stack traces and spans — no guesswork

  * **Privacy by default**, with sensitive data like passwords and credit cards stripped on the server and masking tools you can control

The result: clear context, real impact, and zero oversharing, all without switching tools.

Traditional RUM

**Black‑Box Metrics:** You’re staring at waterfall charts and percentile graphs that tell you _something_ is slow, but not why‑or which user flows are paying the price.
**Context Vacuum:** RUM dashboards sit in their own silo, so you’re forced to juggle separate tools for errors, traces, and logs—good luck matching a Core Web Vital spike to the deploy that caused it.
**Privacy Panic:** Instrumenting the browser feels risky; masking, scrubbing, and compliance settings live in a different console (or worse, a legal doc), so teams ship half‑baked configs—or none at all.
**Single‑Page‑App Blind Spots:** Traditional RUM still thinks every navigation is a full page load, so route changes, lazy‑loaded bundles, and long tasks hide in plain sight.
**Developer Disengagement:** The performance team cares, the business team cares, but the people who can actually fix the code? They’re busy because the RUM tool speaks in metrics, not stack traces.

RUM with Sentry

**Full Visibility into Performance**: [_Web Vitals_](https://sentry.io/for/web-vitals/), custom spans, and error events land in one place—right next to the exact release, commit, and line of code. Move directly from symptom to fix without tab‑surfing.
**Session‑Aware Debugging:** Jump straight from a 400 ms INP outlier to a Session Replay of the actual click path, console logs, and network chatter that caused it. No more “can you record your screen?”.
**Privacy Built‑In:** Field‑level scrubbing, domain‑level blocking, and one‑click GDPR/CCPA modes ship with the SDK, so legal sleeps well and you still get the diagnostics you need.
**Instrumentation built for SPAs:** Route changes, virtual pages, and long tasks are auto‑captured, so modern frameworks (React, Vue, Next, Remix—you name it) finally get monitoring that understands them.
**Developer‑First UX:** Clean UI, GitHub‑linked stack traces, and IDE‑ready deep links mean the folks writing code actually _use_ the tool—turning “somebody should fix this” into “PR #457 closes it.”

## Getting started with Sentry is simple

We support every technology (except the ones we don't).
Get started with just a few lines of code.

JavaScriptAngularAndroidAstroCapacitorElectronEmberFlutterGatsbyiOSNext.jsReactReact NativeRemixSvelteSveltekitVueSee All Platforms

InstallInstall

The Replay integration is already included in your browser or framework SDK NPM packages. If you’re using CDN bundles instead of NPM packages, you need to load the Replay integration CDN bundle in addition to your browser bundle:

Click to Copy

Click to Copy

    npm install --save @sentry/browser

Set UpSet Up

To set up the integration, add the following to your Sentry initialization. There are several options you can pass to the integration constructor. See the [configuration documentation](https://docs.sentry.io/platforms/javascript/session-replay/configuration/) for more details.

Click to Copy

Click to Copy

    // import Sentry from your framework SDK (e.g. @sentry/react) instead of @sentry/browser
    import * as Sentry from "@sentry/browser";

    Sentry.init({
      dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",

      // 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,

      integrations: [
        Sentry.replayIntegration({
          // Additional SDK configuration goes in here, for example:
          maskAllText: true,
          blockAllMedia: true,
        }),
      ],
    });

That's it. Check out our [documentation](https://docs.sentry.io/) to ensure you have the latest instructions.

[Create a Sentry Account](https://sentry.io/signup/)[See All Platforms](https://sentry.io/platforms/)

"We’re shipping six to seven times a day across more than 100 teams, keeping up this pace with the visibility we had was nearly impossible before moving to Sentry SaaS."

Since adopting Sentry, Coveo has seen...

2x

release pace without risking undetected issues in production

50%

decrease in debugging time

250

projects migrated to Sentry in <2 months

[read more](https://sentry.io/customers/coveo/)

## More RUM content

[### Debug errors faster while protecting user privacy with Session ReplayDebug errors faster while protecting user privacy with Session Replay. See how Tilled uses Session Replay for faster debugging, and how Sentry helps t...](https://sentry.io/resources/session-replay-privacy-workshop/)

[### Debugging e-commerce performance issues with Session ReplaySession Replay shows you how customers experience your e-commerce site when things go wrong, from performance hiccups to checkout failures. In this st...](https://sentry.io/resources/debugging-ecommerce-session-replay)

[### Smarter Tools and Best Practices for Mobile Debugging: A Hands-On Workshop](https://sentry.io/resources/smarter-tools-and-best-practices-for-mobile-debugging-workshop)

[### Session Replay: Debug Faster without the GuessworkGet full visibility into user errors to see exactly what went wrong and when with Session Replay.](https://blog.sentry.io/getting-started-with-session-replay/)

[### Debugging weird stack traces with Session ReplaySometimes errors aren't always easy to understand, the stack trace doesn't give a lot of info. You can see through breadcrumbs that something went wro...](https://blog.sentry.io/debugging-weird-stack-traces-with-session-replay/)

[### Monitoring & Debugging a Checkout Flow in Flask & ReactWhen your checkout flow breaks, customers disappear faster than most ‘cutting-edge’ JS metaframeworks. Let's walk through how we instrumented, monitor...](https://blog.sentry.io/monitoring-and-debugging-a-checkout-flow-in-flask-and-react/)

[### Debuggability Explained - Monitoring & Observability in Your WorkflowMonitoring & debugging are critical in every developer's workflow. Learn more about debuggability and the differences between observability vs. monito...](https://blog.sentry.io/monitoring-observability-and-debuggability-explained/)

[### Debug errors faster while protecting user privacy with Session ReplayDebug errors faster while protecting user privacy with Session Replay. See how Tilled uses Session Replay for faster debugging, and how Sentry helps t...](https://sentry.io/resources/session-replay-privacy-workshop/)

[### Debugging e-commerce performance issues with Session ReplaySession Replay shows you how customers experience your e-commerce site when things go wrong, from performance hiccups to checkout failures. In this st...](https://sentry.io/resources/debugging-ecommerce-session-replay)

[### Smarter Tools and Best Practices for Mobile Debugging: A Hands-On Workshop](https://sentry.io/resources/smarter-tools-and-best-practices-for-mobile-debugging-workshop)

[### Session Replay: Debug Faster without the GuessworkGet full visibility into user errors to see exactly what went wrong and when with Session Replay.](https://blog.sentry.io/getting-started-with-session-replay/)

[### Debugging weird stack traces with Session ReplaySometimes errors aren't always easy to understand, the stack trace doesn't give a lot of info. You can see through breadcrumbs that something went wro...](https://blog.sentry.io/debugging-weird-stack-traces-with-session-replay/)

[### Monitoring & Debugging a Checkout Flow in Flask & ReactWhen your checkout flow breaks, customers disappear faster than most ‘cutting-edge’ JS metaframeworks. Let's walk through how we instrumented, monitor...](https://blog.sentry.io/monitoring-and-debugging-a-checkout-flow-in-flask-and-react/)

[### Debuggability Explained - Monitoring & Observability in Your WorkflowMonitoring & debugging are critical in every developer's workflow. Learn more about debuggability and the differences between observability vs. monito...](https://blog.sentry.io/monitoring-observability-and-debuggability-explained/)

[### Debug errors faster while protecting user privacy with Session ReplayDebug errors faster while protecting user privacy with Session Replay. See how Tilled uses Session Replay for faster debugging, and how Sentry helps t...](https://sentry.io/resources/session-replay-privacy-workshop/)

[### Debugging e-commerce performance issues with Session ReplaySession Replay shows you how customers experience your e-commerce site when things go wrong, from performance hiccups to checkout failures. In this st...](https://sentry.io/resources/debugging-ecommerce-session-replay)

[### Smarter Tools and Best Practices for Mobile Debugging: A Hands-On Workshop](https://sentry.io/resources/smarter-tools-and-best-practices-for-mobile-debugging-workshop)

[### Session Replay: Debug Faster without the GuessworkGet full visibility into user errors to see exactly what went wrong and when with Session Replay.](https://blog.sentry.io/getting-started-with-session-replay/)

[### Debugging weird stack traces with Session ReplaySometimes errors aren't always easy to understand, the stack trace doesn't give a lot of info. You can see through breadcrumbs that something went wro...](https://blog.sentry.io/debugging-weird-stack-traces-with-session-replay/)

[### Monitoring & Debugging a Checkout Flow in Flask & ReactWhen your checkout flow breaks, customers disappear faster than most ‘cutting-edge’ JS metaframeworks. Let's walk through how we instrumented, monitor...](https://blog.sentry.io/monitoring-and-debugging-a-checkout-flow-in-flask-and-react/)

[### Debuggability Explained - Monitoring & Observability in Your WorkflowMonitoring & debugging are critical in every developer's workflow. Learn more about debuggability and the differences between observability vs. monito...](https://blog.sentry.io/monitoring-observability-and-debuggability-explained/)