Kubesense

AI Root Cause Analysis

AI RCA is an Agent SRE capability that produces an automated root cause analysis for any failed trace. When you encounter a trace with errors, click the AI RCA button to get an instant diagnosis — no manual correlation of logs, metrics, and spans required.

Agent SRE — AI Root Cause Analysis

What it provides

AI RCA analyzes the trace, its spans, errors, and surrounding context, then returns:

  • AI Root Cause — A clear explanation of why the trace failed (e.g., "The trace failed due to a MongoDB space quota issue. The error message indicates that the space quota of 512 MB has been exceeded.")
  • AI Recommendation — Actionable steps to resolve the issue (e.g., "To resolve this issue, you will need to free up space in the MongoDB database by deleting unnecessary data or increasing the space quota.")

The analysis is contextual — it examines the full distributed trace including all spans across services (e.g., express middleware calls, database operations), the protocol details, status codes, and error messages to pinpoint the exact root cause.

Where to run AI RCA

AI RCA is accessible from:

  • The Traces page — click any failed trace and use the AI RCA button
  • The Service Map — navigate from error paths to failed traces, then run RCA
  • The AI Error Analytics page — click the RCA icon next to any issue in the list

From AI Error Analytics

On the AI Error Analytics page, each row in the Issues list has an RCA icon on its left. Hover it to see "Get RCA for this Issue", then click to run an automated root cause analysis for that issue.

AI Error Analytics — Get RCA for this Issue