Pydantic AI Instrumentor
Normalize Pydantic AI-compatible TypeScript spans for Respan.
Install
This instrumentor wraps the active OpenTelemetry SpanProcessor and normalizes
Pydantic AI-compatible spans before export.
It supports:
- Pydantic AI-native
gen_ai.*span attributes (for examplegen_ai.input.messagesandgen_ai.output.messages). - Pydantic AI-scoped OpenInference spans (for example
openinference.span.kind).
Configure
You can control which span sources are normalized in the constructor.