Sentry for Next.js
Official Sentry SDK for error tracking and performance monitoring in Next.js apps.
Used in agent projects
119
0.9% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#7 of 29
by use in those projects
Downloads
11.7M
npm, last 7 days, @sentry/nextjs
GitHub stars
8,756
last push Oct 10, 2026
How Sentry for Next.js is used
Sentry for Next.js is a dependency in 119 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.9%), #7 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use Next.js (99.2%), clsx (78.2%), Zod (75.6%).
Often used with Sentry for Next.js
| Next.js | 99.2% of Sentry for Next.js projects · 4.4× more than average |
|---|---|
| clsx | 78.2% of Sentry for Next.js projects · 4.4× more than average |
| Zod | 75.6% of Sentry for Next.js projects · 4.5× more than average |
| Tailwind Merge | 73.9% of Sentry for Next.js projects · 4.4× more than average |
| Class Variance Authority | 61.3% of Sentry for Next.js projects · 4.3× more than average |
| Lucide React | 69.7% of Sentry for Next.js projects · 3.5× more than average |
| Tailwind CSS | 91.6% of Sentry for Next.js projects · 2.6× more than average |
| React | 99.2% of Sentry for Next.js projects · 2.3× more than average |
By coding agent
| Claude Code | 1.8% of projects set up for it |
|---|---|
| Cursor | 2.2% of projects set up for it |
| GitHub Copilot | 1.7% of projects set up for it |
| OpenAI Codex | 2.4% of projects set up for it |
| Gemini CLI | 2.3% of projects set up for it |
| OpenCode | 1.6% of projects set up for it |
Share of public repos configured for each agent that list Sentry for Next.js as a dependency.
Install
| Package | npm install @sentry/nextjs |
|---|---|
| Main stacks | Next.js (115), TypeScript / JavaScript (4) |
| Example projects | amelioro/ameliorate, ask-the-hive/the-hive, LiorVainer/data-israel, andrelandgraf/aileen, TheSolaAI/sola-application |
Alternatives to Sentry for Next.js
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vercel Analytics npm Real-time web analytics SDK for tracking traffic and user behavior. |
422 (3.3%) | 8.3M | 517 | MIT |
| pino-pretty npm Pretty-printer for Pino JSON logs to make terminal output human-readable. |
223 (1.8%) | 24.6M | 1,706 | MIT |
| Web Vitals npm Measure Core Web Vitals and other key performance metrics in JavaScript. |
222 (1.7%) | 48.7M | 8,640 | Apache-2.0 |
| Vercel Speed Insights npm Measure web performance metrics and get recommendations for improvement. |
167 (1.3%) | 5.6M | 116 | Apache-2.0 |
| psutil pypi Cross-platform library for retrieving process and system monitoring information. |
144 (1.1%) | 74.7M | 11.3K | BSD-3-Clause |
| Pino npm Ultra-fast JSON logger for Node.js with minimal overhead. |
129 (1.0%) | 53.3M | 18.2K | MIT |
| Loguru pypi Simplified Python logging library with intuitive API and structured logging. |
108 (0.9%) | 16.4M | 24.1K | — |
| Winston npm Versatile Node.js logging library supporting multiple transports and levels. |
105 (0.8%) | 27.2M | 24.5K | MIT |