Errors Spiked Right After a Deploy. What Evidence Should an AI SRE Look at First?

When an alert fires minutes after a deploy, the first evidence an AI SRE should surface is the error rate of servers that received the new version versus those that did not. A 2.40% rate hidden inside a 0.64% overall rate is enough to pause the rollout before the root cause is known, and failed traces then narrow the investigation.

John Baek
John Baek
Founder, CollabOps
2 min read

At 10:00 a.m. we rolled the booking lookup API out to part of the production fleet. Five minutes later an error alert fired. Now someone has to decide whether the next batch of servers gets the new version. If the AI SRE answers "the recent deploy is the likely cause," the on-call engineer is left holding the same question they started with: how far should the rollout stop, and what has to be confirmed before it can resume?

When errors rise right after a deploy, the first evidence an AI SRE should present is not a guess at the cause but the error rate split between servers that received the new version and servers that did not, on the same timeline.

What changes when you look only at the servers that got the new version?

Counting the upgraded servers separately exposes a difference the service-wide error rate hides. Start from the deploy run record and find the servers that actually received the new version. Put the requests they handled next to the requests handled by servers still on the old version, on the same timeline. Below are 5xx responses for a single booking lookup route (the numbers are a hypothetical example for illustration). Both groups ran the same version before 10:00.

5-minute windowServers upgraded at 10:00Servers kept on the old version
09:55–10:004 / 2,000 · 0.20%16 / 8,000 · 0.20%
10:00–10:0548 / 2,000 · 2.40%16 / 8,000 · 0.20%
10:05–10:1044 / 2,000 · 2.20%16 / 8,000 · 0.20%

The service-wide error rate for the first five minutes is 0.64%. For requests served by the new version alone it is 2.40%. That gap is enough for the on-call engineer to pause further rollout. Nobody has to explain which line of code is wrong yet. Google's SRE Workbook makes the same point about canaries: compare the new version against a control group, because the aggregate rate hides the difference. Real cases where canaries missed incidents are collected in Seven incidents canary deploys missed.

How do failed requests narrow the investigation?

Next, open the failed requests. Say four of five traces show the booking API → member lookup call cut off at around 200 ms. In the same window, the old version completed member lookups that took 240 ms. The question gets narrower. Did the new version ship a different call timeout? Are only the new servers calling a member lookup system in another region?

Those five traces are clues about the call path. The denominator for the error rate is still the full request count from the table. Saying "80% failed in member lookup" from a five-trace sample uses the wrong denominator. Rates come from the aggregate; paths come from the sample. How much time this comparison saves on its own, before any AI is involved, is covered in Did the investigation get faster because of AI, or because the deploy history was in one place?

The first investigation note for the next on-call

At this point the first note fits in three sentences. "Holding further rollout of production deploy #217. Error rate rose for two consecutive windows on upgraded servers only, and four failed samples were cut off near 200 ms during member lookup. Next: compare the config in change request CR-72 with the values actually applied on the servers, and the call regions of the two groups." Whoever picks this up knows exactly where to continue.

  • #sre
  • #ai-agent
  • #incident
  • #deployment
  • #canary
  • #observability