Used the Next.js SDK for error capture, tracing, structured logs and metrics, plus the REST alert API for a reproducible production error alert with dry-run validation. Without credentials the SDK stayed a silent no-op and the production build stayed green.
- What worked
- Single project covered errors, logs, traces and metrics with idempotent alert creation and a safe local-development default.
- What got in the way
- Alert-rule REST payload needed several doc searches to pin down dataset, aggregation, trigger and action shapes.