Learning center

How can we tell whether a recent deploy caused a latency spike?

Align the first slow requests with the time the new revision began serving traffic. Compare like requests on old and new revisions, then look for a change that explains the difference.

Break down the aggregate#

Suppose overall p95 latency doubles after a deploy. Compare p95 and request counts for the same route and region on each revision. If the older revision slowed at the same time, inspect shared dependencies, request mix, and traffic volume. If the slowdown appears only on the new revision, trace an affected request and identify where it spent the additional time.

A controlled canary comparison can strengthen the case when both cohorts receive comparable traffic. Record the time window, sample sizes, and revision identities. The first alert time may be later than the first slow request, so use both before ordering candidate causes. Argo Rollouts analysis ยท Read a deployment verification

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading