Dashboard Layout
// Production Health Dashboard
Cost [GREEN] $342 / $500 daily budget
Latency [GREEN] p95: 1.8s (target: <3s)
Quality [YELLOW] 0.82 relevancy (target: 0.85)
Safety [GREEN] 0 violations today
Hallucin. [GREEN] 2.1% rate (target: <5%)
// Trend: Quality declining 0.5%/week
// Action: Investigate query distribution shift
Building Your Dashboard
Start with the 5 pillars as top-level traffic-light indicators. Green/yellow/red for each metric. Then add drill-down capability:
• Time-series plots: Spot trends and anomalies over days/weeks
• Per-feature breakdown: Which features need attention?
• Recent incidents: What went wrong recently and was it resolved?
• Eval suite status: Last CI/CD eval run results and trends
• Cost projection: At current rate, what’s the monthly bill?
Next up: Chapter 10 covers guardrails and safety in depth — input/output filtering, PII detection, prompt injection defense, content moderation, and the frameworks that make implementation easier.