OTLP span array sanitization fixed; gen AI performance metrics added
@ai-sdk/otel@1.0.0-beta.130
1 feature1 fixThis release1 featureNew capabilities1 fixBug fixesAI-tallied from the release notes
Patch Changes
- b94d22f: Sanitize OpenTelemetry span array attributes so they no longer emit invalid OTLP values (arrays containing
undefined/null/objects, or arrays mixing primitive types). Such values previously failed telemetry ingestion withdeserializing message invalid value: map, expected map with a single keyand flooded function logs with errors. - d5cac7c: feat(otel): emit performance metrics via gen ai semantics
- Updated dependencies [0416e3e]
- @ai-sdk/provider@4.0.0-beta.20
- ai@7.0.0-beta.184
Fetched June 23, 2026
