“No data” isn’t proof: how an AI SRE tells “nothing happened” from “I couldn’t look”

An empty answer can rule out a cause, or hide it. Why AI SRE tools confuse “found nothing” with “couldn’t look”, four real cases, and how to test yours.

“No deployment in the two hours before the alert.” That one sentence can rule out half the causes on an incident’s list, which makes it one of the most useful things an investigator can write. It is also one of the most dangerous. It is true only if someone asked the right system the right question, and the answer really came back empty.

An AI SRE writes sentences like that all the time. It asks a log store whether a pod logged an error, asks Prometheus whether a series moved, and asks the cluster whether a rollout happened. When the answer is empty, it concludes that nothing happened. The question this article is about is one most tools never answer out loud: how does the AI know the difference between “I looked and found nothing” and “I couldn’t look”?

If it can’t tell them apart, it will confidently rule out the real cause, because the system that held the cause failed to answer.

Three answers that look the same

There are three different situations behind an empty answer, and they mean different things.

What happened What it is What it may do to a cause
The query ran, could have matched, and found nothing Evidence of absence Rule out a cause that predicts something there
The query failed, was refused, timed out, or could not have matched A gap in what was seen Nothing. Only limit how sure we can be about that system
Nobody asked An untested prediction Nothing. Only lower how much of the story was checked

In a chat transcript, all three can look the same: no results. The difference is in how the answer was produced, and the model usually never sees that.

Three empty answers, three different meanings Three columns. First: the query ran successfully, could have matched, asked about the past and about the right subject, and returned no hits. That is evidence of absence, and it may rule out a cause that predicts something there. Second: the call failed, timed out or was refused, or the search could never have matched. That is a coverage gap: it caps the causes it touches at Medium and is named in the result. Third: nobody asked, so a prediction was left untested. That lowers coverage, and a cause with under half its predictions confirmed is Low. Only the first kind of empty answer may rule anything out. THREE EMPTY ANSWERS, THREE DIFFERENT MEANINGS THE QUERY RAN, AND COULD HAVE MATCHED status: success · 0 hits about the past, and the right subject evidence of absence may rule out a cause that predicts something there IT FAILED, OR COULD NOT HAVE MATCHED error · timeout · refused or a search that can never match coverage gap caps causes it touches at Medium and is named in the result NOBODY ASKED no call at all a prediction left untested untested prediction lowers coverage under half confirmed is Low only the first kind of empty answer may rule anything out
Only the first kind of empty answer is allowed to rule anything out.

Why “tell the model” doesn’t work

The obvious fix is a line in the prompt: absence of evidence is not evidence of absence. Every AI SRE should have that line, and it is not enough, because the model can only follow it when the difference is visible. Often it isn’t. These four cases are from building AlertiGate.

1. A failed command that reports success. HolmesGPT, the open-source agent AlertiGate builds on, wraps kubectl in small scripts. When kubectl fails, for example on a resource kind that doesn’t exist, three of its Kubernetes query tools return the error as JSON, with zero rows and the message in a stderr field, and exit with code 0. The tool’s status comes from the exit code, so the call is marked a success. We measured this on HolmesGPT 0.42.0. Its code still works this way in 0.49.0, released on 30 November 2026. For a chat agent that reads the whole JSON, it’s a reasonable choice: the error message is right there. For any system that trusts the status field, a broken query becomes “no such resource exists”.

2. Our own bug. In the first nine lab investigations we captured, every Prometheus call turned into the same claim: “no time series matched”. That was 23 claims, made beside queries that had in fact returned series. Three faults in our own code combined. The recorded response was an opaque string instead of its fields. A response that could not be parsed was counted as empty. And calls that list metric names were read as if they were queries. None of this was the model’s fault. It reasoned correctly from records that were wrong.

3. A search that could never match. In an Elasticsearch test, the logs that held the cause were in a text field. Elasticsearch splits a text field into lowercase words, so notifier-7b8cc7588f is stored as separate words. A prefix or term search for notifier- on that field returns zero hits, whatever the logs contain. One run concluded that no notifier pod had logged before the rollout. The same runs’ searches on the .keyword field returned 31 and 48 hits. In another round, the agent searched for field names that other log shippers write, on an index Fluent Bit had filled with different names. Those searches came back empty too.

4. A question about the future. An investigation often asks for a metric range that ends after “now”, because the window runs past the alert. Prometheus fills those future steps with the last sample it had, so a flat line can be invented minutes ahead of any observation. A query that asks only about times after it ran can’t match anything. 3 of 208 calls in our runs did that.

The lesson: “empty” is a property of the query as much as of the system. An answer is evidence of absence only when the query succeeded, could have matched, asked about the past, and asked about the right subject. A search scoped to the running pod can’t find the lines of the pod that crashed and was replaced. A model reading “0 hits” can check none of that.

How AlertiGate handles it

We tried to make the distinction a property of the code, not of the prompt.

The status is ours, not the tool’s. AlertiGate works out each call’s status from what the tool returned, so a kubectl error packed into JSON is recorded as an error. Only two outcomes can produce evidence: success, and an answer that came back empty. An error, a timeout or a refusal never produces evidence. Evidence is the only thing that can support or refute a cause, so a failed call can’t rule anything out, whatever the model writes about it.

An empty answer must have been able to match. Searches that can’t match are refused before they are sent, and the refusal says why. In Elasticsearch, that means an exact search on a text field for a value its analyser would split, or a search on a field the index doesn’t have; the refusal suggests a phrase search, or the .keyword field when the index has one. In the recorded Elasticsearch runs, 7 of 50 searches would now be refused, and all 7 had returned zero hits. A metric query that asks only about the future claims no absence. Prometheus calls that list metric names or labels are not treated as queries.

Couldn’t look limits how sure we can be. A failed call becomes a coverage gap, and a gap that touches a cause caps that cause at Medium. The result names the gap, so the reader sees what wasn’t checked. Deciding which causes a gap touches is harder than it sounds, and the two possible mistakes are not equal. A gap that touches too much makes a correct answer look less certain than it is, and you can see that. A gap that touches too little lets the AI be highly confident about a system it couldn’t see, and you can’t. So the rule leans towards capping, and we corrected it three times from measurements:

  • A failed call’s message contained the word “is”, so its gap touched every cause written as a sentence. No cause could reach High.
  • A failed log fetch touched a memory-limit cause because both mentioned “pod”. It capped all five causes, the true one included. Now a source that holds one kind of data, such as logs, caps only causes whose tests need that kind of data.
  • Failed calls that only list metric names capped the true cause. A failed listing means we couldn’t browse the catalogue, not that we couldn’t see the system, so it caps nothing now.

Never asked lowers coverage. Each cause comes with predictions: what should be true if it is the cause. The share of predictions that were actually tested and confirmed is part of the confidence. A cause with fewer than half of its predictions confirmed is Low, however convincing it sounds.

When the failure is the incident. Sometimes the tool’s error is the incident. If an Argo CD application’s Git repository has been deleted, a call that reads the repository fails with “repository not found”. That failed call still counts only as a gap in what was seen. To learn what broke, the investigation reads the application’s own status, where Argo CD records the failure.

We considered two simpler designs and rejected both. Treating every empty answer as unknown is safe, but it throws away the one kind of evidence that rules causes out. Capping every cause whenever any source fails is also safe, but High becomes unreachable, and a band that’s never High tells the reader nothing.

What isn’t solved

  • An empty answer is only as good as the query. We refuse the kinds of query we have seen fail: Elasticsearch text fields, missing field names and future-only windows. A query can still be empty for a reason no rule knows about yet.
  • Deciding which causes a gap touches is still a matter of matching words. It is tuned from measurements, but it can still cap too much or too little.
  • “Nobody asked” is measured only against the predictions the model wrote. If no cause predicted something, nothing flags that nobody looked.
  • Finding the evidence isn’t the same as drawing the conclusion. After the Elasticsearch fix, one run found the lines with the real error, an expired SMTP credential. It then tested whether the new pod’s credential had expired, ruled that out, and never asked about the old pod. The test still passed 0 of 3 runs. Fixing empty answers didn’t fix the reasoning that came after.

Test your own AI SRE

You can check any AI SRE tool, AlertiGate included, by planting each of these faults on a test service and reading what the investigation says:

  1. Revoke one source’s credential. The answer should say it couldn’t look at that source, and it shouldn’t rule out any cause that only that source could show.
  2. Make a search that can’t match. Rename a field in the log pipeline, or search a text field for a hyphenated value. Zero hits should not turn into “the pod logged nothing”.
  3. Ask about the wrong time. Point the window past “now”, or before your retention starts. Neither should become evidence that something didn’t happen.
  4. Let the subject disappear. Crash a pod so it is replaced, or finish a job. Its logs are still in your log store, but a search scoped to the pods running now won’t find them.
  5. Hide the cause where the tool doesn’t look. Put the real cause in a source the tool isn’t connected to. The answer shouldn’t be High, and it should say what it didn’t check.

And for every “no X found” in an AI’s answer, ask four questions: did the call succeed, could it have matched, did it ask about the past, and did it ask about the right subject? A quick positive control answers most of them: run the same query on something you know exists, and see whether it finds it.

Where AlertiGate fits

AlertiGate keeps the three answers apart in its record. Each investigation lists what it couldn’t see next to its findings. When a gap caps a cause’s band, it names the gap. Every finding links to the tool calls behind it, so you can run the query again yourself. If you want to try the five faults above on a real investigation, join the beta.

  • AI SRE
  • Root cause analysis
  • Evidence
  • Observability
  • Kubernetes

Keep reading

Access the demo

Your email is safe with us