Skip to content
Preptima
mediumConceptDesignMidSeniorStaff

What do you instrument and alert on for an LLM feature running in production?

5 min readUpdated 2026-08-15

Answer

Short answer

Trace every request with prompt and model versions, token counts and cost, then add sampled groundedness grading, refusal and retry rates, validation failures and implicit user signals.

Was this answer helpful?

Likely follow-ups

  • Cost per request doubles overnight with flat traffic. What do you check, in order?
  • How would you alert on quality without a labelled ground truth in production?
  • Your judge model's scores drift upward over a month. Is quality improving?
  • What sampling strategy would you use so rare failure modes still show up in your traces?

Related questions

Masterclass guide