跳到主要内容Skip to main content

可观测性Observability

Observability

  • 选型与成本Selection & cost
  • 第三段 · 用深Stage 3 · Going Deeper
  • 引用核验 2026-11-09refs checked 2026-11-09
解决什么问题What problem it solves

看清模型这一趟到底做了什么、花了多少、错在哪一步。See what the model actually did this run, what it cost, and which step went wrong.

这是什么What it is

记录调用链、每步输入输出、token 消耗和耗时,让问题可追溯。

Recording the call chain, each step's input and output, token usage and latency so problems can be traced.

为什么需要知道Why it matters

模型行为有随机性,不记录就永远查不出问题。这是把 Demo 变成生产系统的必备条件。Model behaviour is probabilistic; without records you can never diagnose a problem. This is what separates a demo from a production system.

出处Sources
  • OpenTelemetry 可观测性入门OpenTelemetry Observability Primer ↗
  • LangSmith 可观测性文档LangSmith Observability ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →