Skip to content
All topics

Domain

Observability

Logs, metrics and traces for AI workloads, including token usage, quality signals and cost.

0 of 9 articles published. Topics are listed in reading order: each comes after the topics it builds on.

AI telemetry

Recording what AI features do at runtime.

  1. Tracing LLM calls and agent runsComing soon

    Spans for each model call, retrieval and tool step, with tokens, latency and model recorded on each.

    Fundamentals · Intermediate

  2. Structured logs for AI featuresComing soon

    Consistent fields for request id, model, prompt version and outcome, so logs can be searched and joined to traces.

    Implementation · Intermediate

  3. OpenTelemetry for generative AIComing soon

    Using shared semantic conventions for model spans so traces work across tools and vendors.

    Configuration · Advanced

  4. Logging prompts without leaking dataComing soon

    Deciding what prompt and output text to keep, redacting secrets and personal data, and limiting access.

    Security · Advanced

AI metrics

The numbers that show whether an AI feature is healthy.

  1. Tracking token usage and costComing soon

    Recording tokens and cost per request, feature, tenant and model, and spotting sudden changes.

    Operations · Intermediate

  2. Latency metrics for model callsComing soon

    Time to first token, total time and tokens per second, measured as percentiles rather than averages.

    Operations · Advanced

  3. Production quality signalsComing soon

    User feedback, retries, edits, refusals and grader scores as live indicators of answer quality.

    Operations · Advanced

Using observability

Turning telemetry into action.

  1. Dashboards and alerts for AI featuresComing soon

    A small set of dashboards and actionable alerts on errors, latency, cost and quality.

    Operations · Advanced

  2. Debugging bad answers with tracesComing soon

    Following one bad answer through retrieval, context and tool calls to find which step went wrong.

    Case study · Advanced