GenAI Semantic Conventions
An attribute naming specification defined by the OpenTelemetry community for generative AI scenarios, used to standardize the collection and parsing of GenAI trace data.
Timeline (last 90 days)
Mainstream trace implementations follow OpenTelemetry's GenAI semantic conventions and can be exported and aggregated across frameworks.
Claude Code v2.1.300 adds GenAI semantic convention attributes to trace spans, including gen_ai.provider.name, gen_ai.conversation.id, gen_ai.tool.name and error.type.
All Facts (2)
Mainstream trace implementations follow OpenTelemetry's GenAI semantic conventions and can be exported and aggregated across frameworks.
50%UnverifiedClaude Code v2.1.300 adds GenAI semantic convention attributes to trace spans, including gen_ai.provider.name, gen_ai.conversation.id, gen_ai.tool.name and error.type.
50%