Table of Contents
Sentry for Next.js
Getting Started
Manual Setup
Configuration
Basic Options
Releases & Health
Environments
Filtering
Shutdown and Draining
Sampling
Integrations
Sentry Testkit
Usage
Source Maps
Troubleshooting
Performance Monitoring
Set Up
Instrumentation
Connect Services
Troubleshooting
Enriching Events
Add Context
Identify Users
Customize Tags
Attachments
Breadcrumbs
User Feedback
Scopes and Hubs
Data Management
Scrubbing Sensitive Data
Other Platforms
.NET
Android
Apple
Dart
Elixir
Flutter
Go
Java
Kotlin
Native
Node.js
Perl
PHP
Python
React Native
Ruby
Rust
Unity
Demo
Đăng nhập
Home
Platforms
JavaScript
Next.js
Configuration
Configuration
Basic Options
Learn more about how to configure the SDK. These options are set when the SDK is first initialized, passed to the init function as an object.
Releases & Health
Learn how to configure your SDK to tell Sentry about your releases.
Environments
Learn how to configure your SDK to tell Sentry about your environments.
Filtering
Learn more about how to configure your SDK to filter events reported to Sentry.
Shutdown and Draining
Learn more about the default behavior of our SDK if the application shuts down unexpectedly.
Sampling
Learn how to configure the volume of error and transaction events sent to Sentry.
Integrations
Learn more about how integrations extend the functionality of our SDK to cover common libraries and environments automatically.
Sentry Testkit
Learn how to assert that the right flow-tracking or error is being sent to Sentry, but without really sending it to the Sentry servers.
Package:
npm:@sentry/nextjs
Version:
8.24.0
Repository:
https://github.com/getsentry/sentry-javascript