Skip to content

LLM Observability

A single answer from an LLM agent can hide several model calls, a handful of tool calls, and a retry or two. When that answer is wrong, slow, or expensive, a flat log line won’t tell you why — you need to see the whole chain.

KloudMate traces LLM and agent applications as part of its OpenTelemetry-based tracing. Each run becomes one distributed trace, so you can read the model’s reasoning, every tool call, the tokens each call spent, and where the time went — alongside the rest of your application’s traces, in the same place.

  • Read the full conversation behind a span — system, user, assistant, and tool turns — without reconstructing it from raw attributes.
  • See token usage per call and per trace, including cached input tokens, so you can find the calls driving cost.
  • Follow the agent’s tools — which tools it called, with what arguments, and what they returned.
  • Catch failures and truncations — tool errors and abnormal finish reasons (length, content_filter) are surfaced, not buried.
  • Read the run as a graph with AI Flow, which lays out the model and tool steps as a workflow.
  • Attribute traces to a user or session when your instrumentation tags them, so you can follow one customer or one conversation.

AI Trace Observability covers each of these in detail.

KloudMate reads standard OpenTelemetry GenAI spans, so any OpenTelemetry-compatible instrumentation works. The fastest path is OpenLLMetry, which auto-instruments common frameworks and providers.

To instrument an app from scratch, follow Instrument a Python LLM App with OpenLLMetry.