Instrument 하는 것
- Error — Server Component, Server Action, Client Component 의 throw exception 위해 Sentry / Datadog / Bugsnag.
- Performance — Page 별 Web Vitals (LCP, CLS, INP); Vercel Speed Insights 또는 본인 reporter.
- Log —
consolecall 로부터 structured log; log aggregator 로 pipe.
Instrumentation file
Root 의 instrumentation.ts 가 server start 시 한 번 돌아. Boot 에 한 번 Sentry / OpenTelemetry / 어떤 monitoring SDK 든 init 위해. Next.js 15 부터 stable.