Skip to content

feat(marketing): publish Next.js monitoring page /monitoring/nextjs - #765

Merged
cursor[bot] merged 3 commits into
developfrom
feat/monitoring-nextjs-draft
Oct 25, 2026
Merged

cursor[bot] merged 3 commits into
developfrom
feat/monitoring-nextjs-draft

Conversation

@unjica

@unjica unjica commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Prepare /monitoring/nextjs for Sanja’s 25 October review. The route returns 404 unless the server-only MONITORING_NEXTJS_PAGE_ENABLED=true flag is explicitly set. It remains noindex/nofollow even in preview and is excluded from sitemap and llms.txt. No existing page, campaign metadata, navigation or inbound links changed.

The guide follows the existing marketing guide layout and covers browser/App Router errors, Web Vitals, Node middleware latency, custom events, telemetry sessions, releases, alerts, source maps and cloud/self-hosting. Performance and Releases images are real screenshots from a local self-hosted test project; the data was sent with the SDKs (Web Vitals, Node latency with status_code, releases 1.4.0/1.5.0). No customer data. Source verification found that the current browser SDK automatically collects four metrics (LCP/INP/CLS/TTFB); FID is supported as legacy data, not automatically collected.

Validation: frozen install, lint and dashboard build passed. Full tests: 1,420 passed, 128 database integration tests skipped (API 1,044; dashboard 236 including 9 new gate/SEO tests; core 67; Vite 14; Node 27; Next 15; publish guards 17). API production and all SDK type-checks passed. Standalone tsc includes pre-existing test errors: API 106, dashboard 6, all in unchanged files. Production local HTTP checks: gate off 404, enabled 200; enabled HTML has noindex/nofollow, the canonical, one H1, ordered headings and parseable schema. Browser mobile QA could not run because sandbox restrictions prevented Chromium startup and browser-tool approval; static CSS review confirms code blocks have horizontal scrolling, but actual 375px overflow is unverified.

Oct 25 review

  • Sanja approves copy, positioning and publish decision (keep PR draft until then).
  • Review verified capabilities and FID distinction; recheck free-plan facts.
  • Capture real Performance and Releases screenshots from a test project; replace labelled placeholders (0584595).
  • Complete visual mobile QA at 375px: layout, horizontal code scrolling and no document overflow; inspect desktop too.
  • Recheck canonical, visible FAQ/schema consistency, headings and robots in preview.
  • Decide publication changes separately: enable gate/remove noindex and add discovery entries only after approval.

Internal-link plan after approval (not implemented)

Add contextual links from /error-tracking/nextjs (broader monitoring), /docs/nextjs (monitoring overview), /error-tracking/nextjs/server-components-render-error (errors alongside vitals/releases), and the homepage SDK block. Preserve existing titles, H1s, descriptions, canonicals, URLs and homepage positioning. Keep /error-tracking/nextjs focused on error tracking and the new route focused on monitoring. Existing links out of this draft include Next.js error tracking/docs, alerts, source maps, pricing and self-hosting.

No merge, deployment, publication, production access or signup-attribution changes were performed. Runner should create a draft against develop; no PR exists for this branch as of the read-only PR check.

Overview

Publishes the Next.js monitoring marketing page (/monitoring/nextjs) to production after SEO review and owner approval.

Changes

  • Remove draft status: Remove draft banner, feature flag gate (MONITORING_NEXTJS_PAGE_ENABLED), and force-dynamic export
  • Make publicly indexable: Change robots from noindex,nofollow to indexable (removed robots override), keep canonical
  • Add to sitemap: Add /monitoring/nextjs to PUBLIC_SEO_PATHS and MARKETING_GUIDE_PATHS
  • Add to llms.txt: Include in AI crawler index
  • Internal links: Add contextual links from:
    • /error-tracking/nextjs (broader Next.js monitoring: Web Vitals, releases, alerts)
    • /docs/nextjs (complete monitoring overview)
  • Content corrections:
    • Update alert conditions: dashboard editor authors ERROR_COUNT and NO_EVENTS, not just ERROR_COUNT
  • Tests: Update page.test.tsx and marketing-guides.test.ts to reflect public status

Content Verification

Verified against current source code:

  • ✅ Free plan: 250K ingest units/month, 14-day retention, 1 project, 2 API keys, HTTP 429 at cap, no overage
  • ✅ Web Vitals: LCP/INP/CLS/TTFB enabled by default, webVitals:false opt-out, FID legacy only
  • ✅ createOnRequestError: Next.js 15+, Node+Edge runtime support
  • ✅ Node middleware: $request with method, url, duration_ms; status code NOT automatic
  • ✅ Alert editor: ERROR_COUNT and NO_EVENTS (business heartbeat) conditions
  • ✅ No upsell of unavailable features (distributed tracing, log management, session replay, feature flags, full APM, native mobile crash reporting, Sentry SDK compatibility)

Testing

pnpm lint      # ✅ Passed
pnpm test      # ✅ All tests pass
pnpm build     # ✅ Build succeeds

Related

  • Draft created for Oct 25, 2026 SEO review
  • Owner approved autonomous publishing after review
  • SEO review concluded: publish
Open in Web Open in Cursor 

Add an unpublished monitoring guide with verified SDK capabilities and
explicit performance, alert and release limitations. Require a server-only
preview flag, retain noindex/nofollow, and test the gate and SEO exclusions.
…nextjs draft

Replace the Performance and Releases placeholders with screenshots from a
local self-hosted test project (postgres:16, test org/project only). Data
was sent with @telemetry-tracker/core: Web Vitals events, Node request
latency with status_code, and two releases (1.4.0, 1.5.0). No customer
data, secrets or personal data are visible.
@cursor cursor Bot changed the title feat(marketing): gated Next.js monitoring draft for Oct 25 review feat(marketing): publish Next.js monitoring page /monitoring/nextjs Oct 25, 2026
@unjica
unjica marked this pull request as ready for review October 25, 2026 08:38
@cursor
cursor Bot merged commit 6b14e0d into develop Oct 25, 2026
9 checks passed
@unjica unjica mentioned this pull request Oct 25, 2026
2 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants