跳到主要内容Skip to main content

可观测性Observability

Observability

  • 选型与成本Selection & cost
  • 第三站 · 用深Station 3 · Going Deeper
解决什么问题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 ↗