Log và trace từng lượt gọiLog and trace every call
NhìnObserveMỗi request một trace, mỗi bước một span. Span LLM phải chứa prompt đã lắp xong — không phải template — cùng model thực trả về, token, TTFT và lỗi.
One trace per request, one span per step. The LLM span must hold the assembled prompt — not the template — plus the model that actually answered, tokens, TTFT and errors.
- dùng cho
- use for
- Xử lý ticket hỗ trợ, gỡ lỗi agent nhiều bước, phân bổ chi phí, lấy test case từ request thật, audit
- Answering support tickets, debugging multi-step agents, cost attribution, test cases from real requests, audit
- được
- gain
- Điều tra sự cố từ vài giờ xuống vài phút; bắt được lúc alias âm thầm đổi model
- Incident investigation from hours to minutes; catches an alias silently switching models
- mất
- lose
- Giữ trace là giữ dữ liệu cá nhân; context dài làm dung lượng tăng nhanh; ghi đồng bộ cộng thẳng vào độ trễ
- Kept traces are personal data you now hold; long contexts make storage grow fast; synchronous writes add latency
đánh đổitrade-offLưu bản ghi đầy đủ của mọi lượt gọi là đổi chi phí lưu trữ và trách nhiệm bảo vệ dữ liệu người dùng, lấy khả năng phát lại bất kỳ request nào trong quá khứ khi có chuyện.Keeping a full record of every call trades storage spend and the duty to safeguard user data for being able to replay any past request once something has gone wrong.
Dấu hiệu: có người chuyển cho bạn một câu trả lời sai từ tuần trước, và bạn chỉ đoán được tài liệu và lịch sử nào đã được đưa vào.
Tell: someone forwards a bad answer from last week and all you can do is guess which documents and history went into it.