feat: add Sentry error tracking to all Next.js apps
Merged
SA
1y ago+888+888+012345678901234567890123456789-44-44-01234567890123456789
- Add @sentry/nextjs to web, admin, api, docs, marketing apps
- Configure server, edge, and client-side error tracking
- Add global-error.tsx handlers for each app
- Set up /monitoring tunnel route for ad-blocker bypass
- Add Sentry env vars to CI/CD workflows
- Conditionally enable Sentry based on DSN availability
- Allow /monitoring and /ingest routes in proxy middleware
🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
Description
Related Issues
Type of Change
- Bug fix
- New feature
- Documentation
- Refactor
- Other (please describe):
Testing
Screenshots (if applicable)
Additional Notes
Summary by CodeRabbit
-
New Features
- Integrated error monitoring across all apps.
- Added global error pages in each app.
- Implemented performance monitoring with environment-aware tracing.
- Enhanced error reporting with richer context and stack traces.
-
Chores
- Propagated monitoring-related environment configuration to deployment workflows and env examples.
- Exposed a public monitoring route for runtime diagnostics.
✏️ Tip: You can customize this high-level summary in your review settings.