LLM Tracing Explained: Spans, Traces, Sessions and OpenTelemetry Tools
LLM tracing records each step of a model request or agent run as a span, showing the prompt, response, tool calls and timing. Spans from one run form a trace, and traces from one conversation form a session. Many teams generate these traces with OpenTelemetry's GenAI semantic conventions and send them to tools such as Langfuse, LangSmith, Arize Phoenix, Braintrust, Datadog or Agnost AI. The conventions remain in Development status and their names are still changing, so instrumentation may need updates. Message content is not captured by default because it can include personal data.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in