docs: add Next.js server-side error capture to marketing pages - #729
Merged
Merged
Conversation
- Update /error-tracking/nextjs to include server errors section - Add imports for nextEnvLocalServer and nextInstrumentation snippets - Add 'Server errors (optional)' section with instrumentation.ts setup - Update page description and lede to mention server error capture - Update howToJsonLd structured data to mention optional server setup - Update /sentry-alternative to clarify Next.js supports both client and server errors - Modify SDK description to note App Router server errors when configured - All changes use existing verified snippets from @/lib/sdk-setup-snippets - Verified against @telemetry-tracker/next 1.3.2 package source - Tests pass: pnpm test (all tests), pnpm lint, pnpm build Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com>
6 of 8 tasks
cursor Bot
added a commit
that referenced
this pull request
Oct 2, 2026
* fix(sdk): sanitize Script error. reporting in @telemetry-tracker/core 1.5.1 Stop fabricating SDK stacks for browser-sanitized Script errors, rate-limit identical floods, and label them clearly in the dashboard error detail view. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(sdk): use const for sanitized Script error dedupe store Co-authored-by: Cursor <cursoragent@cursor.com> * docs: add Next.js server-side error capture to marketing pages (#729) - Update /error-tracking/nextjs to include server errors section - Add imports for nextEnvLocalServer and nextInstrumentation snippets - Add 'Server errors (optional)' section with instrumentation.ts setup - Update page description and lede to mention server error capture - Update howToJsonLd structured data to mention optional server setup - Update /sentry-alternative to clarify Next.js supports both client and server errors - Modify SDK description to note App Router server errors when configured - All changes use existing verified snippets from @/lib/sdk-setup-snippets - Verified against @telemetry-tracker/next 1.3.2 package source - Tests pass: pnpm test (all tests), pnpm lint, pnpm build Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com> --------- Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Sanja Malovic <unjica@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base branch: open feature and fix PRs against
develop. Milestone releases promotedevelop→main— see docs/RELEASE.md.Summary
This PR updates the marketing site to accurately reflect that Next.js error tracking now includes server-side error capture via
instrumentation.ts, not just client-side errors.Changes:
/error-tracking/nextjspage:instrumentation.tssetupnextEnvLocalServerandnextInstrumentationfrom@/lib/sdk-setup-snippets/docs/nextjsfor details/sentry-alternativepage:Verified against:
@telemetry-tracker/nextv1.3.2 package source/docs/nextjspage content (canonical source)@/lib/sdk-setup-snippets.tsAll changes use existing verified code snippets to prevent drift between docs and acquisition pages.
How to test
All tests, lint checks, and build passed successfully.
Manual verification after deployment:
Code review (Bugbot)
/review-bugbotin Cursor (optional while the gate is paused).cursor/BUGBOT.mdif a finding was a false positive)N/A — documentation-only changes.
Checklist
pnpm test; useRUN_DB_INTEGRATION_TESTS=true+ Postgres if API integration behavior changed)pnpm lint)pnpm build)[Unreleased](if user-facing)CHANGELOG update not required — these are marketing/SEO copy changes to align with existing functionality (instrumentation.ts support shipped in v1.3.2 / platform v1.17.23).
Security / privacy
N/A — documentation-only changes. No auth, ingest, or data-handling changes.