OpenTelemetry just standardized LLM tracing. Here's what it actually looks like in code.
Dev.to AI
•
Generative AI
Every LLM tool invents its own tracing format. Langfuse has one. Helicone has one. Arize has one. If you built your own - congratulations, you have one too. OpenTelemetry just published a standard for all of them. It defines how to name spans, what attributes a tool call should have, how to log prompts without leaking PII, and which span kind to use for an agent. It's called GenAI Semantic Conventions. It's experimental. And almost nobody has written about what it actually looks like when you implement it. I know because I searched. "OTel GenAI semantic conventions" gives you spec pages.