de.sentry.io), ensuring error telemetry stays within the EEA in compliance with GDPR.
Project Details
| Setting | Value |
|---|---|
| Organisation | 137th-advisers |
| Project | iorp-ii-prod |
| DSN | https://71a9742fce52601d1c9b26656f868cb4@o4510862548467712.ingest.de.sentry.io/4510963882721360 |
| Region | EU (de.sentry.io) |
Instrumentation Coverage
Sentry instruments three separate runtimes in Next.js:- Server
- Edge
- Client
sentry.server.config.ts — initialised for all server-side request handling.Key Configuration Options
Trace Sample Rate
tracesSampler for dynamic sampling based on route or error status.
PII Handling
Log Integration
Source Maps
Source maps are uploaded to Sentry during CI builds via@sentry/nextjs’s webpack plugin:
SENTRY_AUTH_TOKEN environment variable is required in CI for source map upload. It must be a project-scoped, upload-only token — not an organisation admin token.
Tunnel Route
/monitoring on the Next.js server. This ensures Sentry error reports are not blocked by browser ad-blockers or privacy extensions.
Vercel Cron Monitoring
Alerts and Notifications
Configure the following alert rules in the Sentry dashboard:| Alert | Condition | Channel |
|---|---|---|
| New issue | Any unhandled exception | Email + Slack |
| Issue regression | Previously resolved issue recurs | |
| Error rate | >5% of requests in 5 min window | Email + PagerDuty |
| Performance degradation | P95 latency exceeds SLO threshold |