docs: Fix stale AI integration paths and patterns in AGENTS.md and add-ai-integration skill - #24257
Open
RulaKhaled wants to merge 3 commits into
Open
docs: Fix stale AI integration paths and patterns in AGENTS.md and add-ai-integration skill#24257RulaKhaled wants to merge 3 commits into
RulaKhaled wants to merge 3 commits into
Conversation
…ion skill Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…s_channel The Vercel AI integration no longer consumes OTel spans: `ai` >= 7 is handled by subscribing to the SDK's native `ai:telemetry` tracing channel, and v4-v6 by orchestrion-injected channels. No span processor or event processor remains. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Resolves the open truncation question and sweeps the sections of the add-ai-integration skill that were not verified against the tree. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
RulaKhaled
marked this pull request as ready for review
September 9, 2026 15:31
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.
AGENTS.mdand theadd-ai-integrationskill still describe the pre-server-utilslayout, so anyone following them starts in the wrong directory. AI instrumentation now lives inpackages/server-utils/src/ai/{provider}/, with the integration inpackages/server-utils/src/integrations/{provider}.tsregistered viagetTracingIntegrations(); runtime packages re-export from@sentry/server-utils.The patterns were wrong too, not just the paths.
vercelAIIntegrationconsumes no OTel spans:ai>= 7 goes through the SDK's nativeai:telemetrytracing channel and v4-v6 through orchestrion-injected channels, so the decision tree is re-rooted on whether an SDK publishes its owndiagnostics_channeltelemetry. Span ops, streaming, and the shared-utility list were corrected against the source as well.On truncation: there is none, by design.
enableTruncationand all AI truncation/media-stripping logic were removed in #23045, and nothing downstream caps span attributes (maxValueLengthcovers onlyrequest.urland exception values; normalization limits depth/breadth, not string length). The skill now says so explicitly rather than implying contributors must truncate.Root cause: the docs were not updated when instrumentation was consolidated into
server-utils, nor when provider patching moved off OpenTelemetry instrumentation packages onto orchestrion +diagnostics_channel.🤖 Generated with Claude Code