Skip to content

Root Cause Analysis

How automated RCA correlates forensic events and applies causal analysis to find the root cause.

3 min read Updated SS

HEAL runs automated Root Cause Analysis (RCA) by correlating forensic event data from many sources and pinpointing the signals that triggered the incident.

How HEAL finds the root cause#

After events are correlated, HEAL applies machine-learning causal analysis and graph traversal to trace the failure to its origin. The result is the first true causal event, not just the earliest, based on contextual dependencies across services.

Heads up. The root cause is not always the first event detected. HEAL uses an internal knowledge graph to resolve complex causal paths.

What RCA uses as input#

RCA does not look at metrics alone. It combines every evidence stream HEAL collects for the incident window:

  • Metric anomalies. KPI deviations from the ML-learned Normal Operating Range, raised by the Event Detector. For how a threshold breach opens, updates and closes an anomaly, see How HEAL evaluates multi-level thresholds.
  • Events. The correlated events that make up the signal, with their timestamps and affected entities.
  • Forensic data. Deep diagnostic evidence captured at the time of the anomaly, such as slow queries and thread states.
  • Configuration changes. File and configuration modifications detected by ConfigWatch, so a bad deployment or config edit can be identified as the trigger.

Example: tracing a causal chain#

Consider an incident where users report checkout failures. HEAL reconstructs the chain of cause and effect across four nodes:

  1. Database latency spike. Query response times on the database drift far above their normal operating range.
  2. Connection-pool exhaustion. Because queries hold connections longer, the application's connection pool fills up and new requests queue.
  3. API timeouts. Downstream API calls waiting on pooled connections start timing out.
  4. Checkout errors. The user-facing checkout service returns errors — the symptom that is noticed first.

In monitoring tools that sort by time, the API timeouts or checkout errors may even surface before the database anomaly is flagged. HEAL's causal graph walks the dependency path back and identifies the database as the root cause — demonstrating that the earliest visible event is not automatically the root cause.

View the root cause#

On the incident detail page, scroll to the Root Cause section. You will find:

  • A textual explanation of the fault and the affected service or instance.
  • Recommended investigation steps for whatever triggered the incident.
  • A Root Cause Walk diagram that highlights the primary impacted service and its dependency path.

Root Cause section on incident detail page

The Root Cause Walk diagram#

The Root Cause Walk diagram sits below the Root Cause summary on the incident page. It shows how correlated anomalies propagate across services to highlight the most likely component responsible for the incident.

The view traces event data, telemetry, and causal dependencies between nodes (services, applications, infrastructure) to surface the first significant failure point in the impact path.

Root Cause Walk diagram

For a step-by-step tour of the diagram, see Reading the Root Cause Walk (User Guide).

Next