Study FAQ
Which latency, error and throughput measurements should I monitor for an AI application?
Also asked as 2
- How should I measure user-facing responsiveness, errors and successful throughput for a generative AI service?
- Which application-level metrics can reveal slowdown or failures that model latency misses?
Answer
Measure the user operation as well as its model dependency. A successful, fast model call does not prove that retrieval, tools or final response delivery worked.
Track request volume, successful completions per interval, errors and throttling, plus response-time distributions. State denominators: errors per attempted request and successful completions per minute describe different behavior. Throughput alone can look healthy while failed work consumes capacity.
Use percentiles and failure counts alongside averages. A 95th-percentile duration can expose a slow tail hidden by a stable median, but record the timing boundary and whether timeouts and failures are included. When relevant, separate time to first output from time to final completion; streaming early does not establish a short overall wait.
Correlate the metrics with deployment/configuration and workload context. Use resource or utilization signals actually exposed by the serving path; do not assume every service provides application-visible GPU counters. Compare representative request shapes and dependency paths before attributing changes to capacity or the model.
Microsoft Learn
Full explanation
AI-300: Monitoring Generative AI Quality, Latency, and Cost Drivers
Study guide · AI-300
Read the full explanation