Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Building with LLMs

LLM observability

Tracing requests, tokens, latency and cost in AI applications running in production.

Intermediate
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page

Overview

LLM observability means recording what your AI application actually did for each request: the prompts sent, the retrieved context, every tool call and model response, tokens used, latency and cost. These records, called traces, are how you debug a bad answer or a runaway agent after the fact.

In practice teams instrument their code with an SDK or OpenTelemetry, send traces to a tool such as Langfuse, Phoenix or LangSmith, attach user feedback and automated scores, and turn interesting failures into eval cases. Privacy matters here too: traces contain user data, so decide what to redact and how long to keep it.

What you will practise

  • Instrument an app so every request produces a trace
  • Track tokens, latency and cost per feature
  • Attach user feedback and automated scores to traces
  • Turn interesting production failures into eval cases

Learning paths

  • Building with the Claude API

    Learn to build with the Claude API from your own code: the Messages API, tool use, structured output and prompt caching, then evaluate and trace what you built.

    Intermediate5 h9 steps

  • Evals and safety for LLM features

    Learn LLM evals and safety: catch regressions and attacks before users do, with error analysis, code-based evals, calibrated judges and prompt-injection tests.

    Intermediate9 h9 steps

  • LLMOps: observability, evals and cost

    Learn LLMOps in practice: trace every request, gate changes with evals in CI, calibrate judges and keep token spend visible and under control in production.

    Intermediate7 h10 steps

  • RAG engineer

    A RAG course for engineers who want results they can measure: embeddings, pgvector, a pipeline built in a day, golden datasets, LLM judges and tracing.

    Intermediate14 h8 steps

Tutorials

Workflow recipes

Articles

Tools for this skill

9 of 11 tools tagged with this skill.

  • Arize Phoenix

    Source-available tracing and evaluation for LLM applications, built on OpenTelemetry.

    Evals and observabilityFreeArize

  • Braintrust

    Platform for tracing production LLM traffic, running evals and catching regressions.

    Evals and observabilityFreemiumBraintrust

  • Helicone

    AI gateway and observability layer that logs requests, cost and latency.

    Evals and observabilityOpen sourceHelicone

  • Langfuse

    Tracing, prompt management and evals for LLM applications.

    Evals and observabilityOpen sourceLangfuse

  • LangSmith

    LangChain's tracing and evaluation platform, usable from any code.

    Evals and observabilityFreemiumLangChain

  • LiteLLM

    Open-source SDK and AI gateway that calls 100+ providers through one OpenAI-style API.

    Models and local inferenceOpen sourceBerriAI

  • MLflow

    Open-source ML and GenAI platform with tracing, evaluation and prompt management.

    Evals and observabilityOpen sourceLinux Foundation (created by Databricks)

  • OpenLLMetry

    OpenTelemetry instrumentation for LLM providers, vector databases and frameworks.

    Evals and observabilityOpen sourceTraceloop

  • Opik

    Open-source platform from Comet for tracing, evaluating and monitoring LLM apps.

    Evals and observabilityOpen sourceComet

Show 2 more

Key terms

Words you will meet while learning this, defined in the glossary.

Full glossary
  • Latency

    The time from sending a request to a model to getting the response, often split into time to first token and total generation time.

  • LLM observability

    Collecting traces, costs, latency and quality signals from AI applications in production so you can debug and improve them.

  • Online evaluation

    Scoring a sample of real production traffic continuously, with automated checks or judges, to catch problems that offline test sets miss.

  • Time to first token

    How long a model takes to return the first token of a response after a request, the main driver of how fast a streamed reply feels.