Skip to content

Add instrumentation for ai #13679

Closed
@mydea

Description

@mydea

Description

We want to support Vercel AI (https://github.com/vercel/ai). There seems to be some OTEL instrumentation baked in - we need to test this, and ensure this follows the LLM conventions: https://develop.sentry.dev/sdk/telemetry/traces/modules/llm-monitoring/ (which probably means adjusting the emitted spans accordingly).

### Tasks
- [ ] Create SDK integration with span transforms
- [ ] Create OTEL instrumentation that injects `experimental_telemetry` if it is not defined.

Metadata

Metadata

Assignees

Labels

Package: nodeIssues related to the Sentry Node SDK

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions