instrumentModules configuration is needed — the Vercel AI SDK emits OpenTelemetry spans natively when experimental_telemetry is enabled, and TraceRoot enriches them via the OpenInference span processor automatically.
Setup
instrumentModules config:
Usage
What Gets Captured
Run the example
Clone the repo and run a complete agent end-to-end.TypeScript
Run the TypeScript example