Study FAQ
What should I conclude when an AI request trace or span is missing?
Also asked as 2
- What evidence should I look for when part of an AI request trace is missing?
- How should I interpret a missing trace or dependency span during AI troubleshooting?
Answer
Conclude that evidence is missing, rather than that the operation did not occur or succeeded. A missing retrieval span does not prove retrieval was skipped, and a missing error does not establish success.
First verify the request/correlation reference, collection configuration, export, sampling, retention and investigator access. Join the user report to the same request using actual correlation evidence, not an approximate timestamp alone. Instrumentation or permitted export may omit an operation or its content.
Identify the additional observation that would distinguish plausible explanations: a dependency outcome, deployment version, sanitized input or controlled test. If that observation is material and cannot be obtained, keep the cause unresolved.
An authorized reproduction can collect new evidence with approved instrumentation, but label it as a new request. It may differ in service conditions, data, configuration or tool effects and may fail to reproduce the original event. Do not fill the gap with fabricated spans, unseen prompts or assumed model-internal reasoning.
For a connected Foundry project, confirm that Application Insights actually received telemetry and that the investigator has access to query it. For an application instrumented separately, verify the exporter and correlation properties before assuming the missing record is unavailable.
Microsoft Learn
Full explanation
AI-300: Tracing Slow or Incorrect Generative AI Responses
Study guide · AI-300
Read the full explanation