Skill 4.2.2

Monitor performance metrics, including latency, throughput, and response times

Key Concepts

End-to-end latency includes the time to first token, the generation time, which grows with output tokens, and the time spent in retrieval and tool calls. Azure Monitor metrics on the Foundry resource report requests, latency, time to response, tokens per second and errors per deployment; throughput is limited by tokens per minute and requests per minute quotas, or by PTU capacity, and exceeding it returns HTTP 429.

Latency should be reported as percentiles such as P50, P95 and P99, because a few very slow requests disappear in an average. Streaming lowers perceived latency, smaller or faster models and shorter outputs lower actual latency, and provisioned throughput makes latency more predictable under load.