What to log in a RAG request: a JSON schema, its cost, and what it caught
One JSON line per RAG request cost +0.106 ms (1.8%) and 553 bytes. The log showed a score gate answering 75.6% of unanswerable queries. Schema and code inside.
3 Dec 2026 · rag · observability