AIOps Root Cause Analysis
How AIOps systems decompose root cause analysis into failure localization, failure category classification, and natural-language report generation. Covers open-source libraries, benchmarks, commercial tooling, and the critical distinction between correlation-based candidate surfacing and proven causal analysis.
Overview
Root cause analysis in three subtasks
Root cause analysis (RCA) is one of the most commercially valuable and technically difficult problems in AIOps. Research in arxiv 2406.11213 splits it into three subtasks, each narrowing the problem for the next. An incident moves through them in order.
- An anomaly is detected, and RCA starts.
- Failure localization asks which exact component is at fault. The output is not 'auth service is slow' but 'pod auth-service-7x4k2 in us-east-1a is the origin of the latency spike'. The techniques are causal graph traversal, anomaly score propagation and trace-based analysis, working from the service down to the instance.
- Failure category classification asks what kind of failure it is. It is a multiclass classification into labels such as CPU shortage, memory shortage, software configuration error, network issue, disk I/O saturation and connection pool exhaustion.
- Root cause report generation writes the narrative for on-call: a timeline, the affected components in dependency order, the probable cause with a confidence, the evidence chain and the next steps. This is LLM generation, and it is where LLMs add the most value.
- The report leads to a remediation playbook.
> [!NOTE] The category picks the fix: CPU shortage leads to horizontal scaling or limit review; connection pool exhaustion leads to pool size tuning or query optimization.
Interview questions
- Walk through the three-subtask RCA taxonomy and explain why each subtask requires a different technical approach.
- How does PyRCA separate the causal discovery problem from the root cause scoring problem, and why does that separation matter?
- Explain the correlation versus causation problem in AIOps RCA and how it affects how you should interpret commercial tool outputs.
- Compare the metric-based, trace-based, and multi-source RCA approaches in the RCAEval benchmark. When should you prefer each?
Sign up free to read the full topic
More AIOps topics
Start free on Cariara · Coding problems · System design studio