Skip to content

Conversation

@sergical
Copy link
Member

DESCRIBE YOUR PR

Move AI Agent Monitoring from /tracing/instrumentation/ai-agents-module/ to a new top-level /ai-agent-monitoring/ feature across all JavaScript SDKs.

Changes:

  • Create new ai-agent-monitoring directory with index.mdx and browser.mdx
  • Add redirects from old paths to new paths
  • Update internal links in Next.js docs and product docs
  • Delete old ai-agents-module files

This makes AI Agent Monitoring a first-class feature in the sidebar (like Logs, Tracing) instead of being nested under tracing instrumentation.

IS YOUR CHANGE URGENT?

  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

sergical and others added 4 commits January 21, 2026 19:41
Creates a dedicated tracing guide for Next.js that addresses:
- Auto-instrumentation by runtime (client/server/edge)
- Server Actions requiring withServerActionInstrumentation
- Web Vitals capture
- Custom instrumentation patterns
- Distributed tracing configuration
- Common troubleshooting scenarios

Follows the technical-docs skill principles: lead with "why",
structure by user intent, avoid redundancy.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add tracing concept link in intro
- Add Prerequisites section
- Reorder sections logically (Prerequisites → Enable → What's Traced)
- Fix Web Vitals section: remove empty code block, add FCP/TTFB, add product links
- Remove incorrect Disable Tracing section
- Remove redundant troubleshooting items (already covered in Server Actions section)
- Fix tracesSampler example to use attributes available at transaction start

Co-Authored-By: Claude <noreply@anthropic.com>
Add cross-references to common tracing docs for users who want deeper details:
- Automatic Instrumentation (timeouts, INP, span filtering)
- Custom Instrumentation (full span API)
- Distributed Tracing (CORS, manual propagation)

Co-Authored-By: Claude <noreply@anthropic.com>
Move AI Agent Monitoring from /tracing/instrumentation/ai-agents-module/
to a new top-level /ai-agent-monitoring/ feature across all JavaScript SDKs.

- Create new ai-agent-monitoring directory with index.mdx and browser.mdx
- Add redirects from old paths to new paths
- Update internal links in Next.js docs and product docs
- Delete old ai-agents-module files

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jan 22, 2026 3:23pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
develop-docs Ignored Ignored Preview Jan 22, 2026 3:23pm

Request Review

- Add SplitLayout pattern for better code/text presentation
- Add Prerequisites section linking to tracing setup
- Add Options section documenting recordInputs/recordOutputs
- Wrap all span examples in SplitLayout for side-by-side view

Co-Authored-By: Claude <noreply@anthropic.com>
@sergical
Copy link
Member Author

Superseded by #16117 (clean branch with only AI Monitoring changes)

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