Skip to content

Conversation

@sergical
Copy link
Member

DESCRIBE YOUR PR

Adds troubleshooting section to AI agent monitoring docs explaining that Sentry must be imported before AI SDK libraries (Vercel AI SDK, OpenAI, Anthropic, etc.) to properly instrument them.

Changes:

  • Created new shared include: includes/tracing/ai-agents-module/import-order-troubleshooting.mdx
  • Added include to server-side AI monitoring docs
  • Added include to browser AI monitoring docs

Includes ESLint and Biome configuration snippets to help users enforce import order automatically.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • 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

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Jan 27, 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 27, 2026 4:31pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
develop-docs Ignored Ignored Preview Jan 27, 2026 4:31pm

Request Review

Add troubleshooting section explaining that Sentry must be imported before AI SDK libraries (Vercel AI SDK, OpenAI, etc.) to properly instrument them. Includes ESLint and Biome configuration snippets to enforce import order.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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