rca_pyrca_random_walk
Identifies root causes by propagating anomaly scores backward through a causal graph using a random walk with restart, ranking nodes by root cause probability.
Instructions
[Adapted from Salesforce PyRCA — BSD-3-Clause] Graph-based root cause localisation via personalised PageRank random walk. Propagates backward through a causal adjacency graph from the SLI node, weighting transitions by anomaly scores to compute root cause probabilities.
Args: params (RandomWalkInput): - adjacency: {source: {target: weight}} causal graph - anomaly_scores: {metric: score} anomaly magnitudes - sli_metric: starting node - restart_prob: personalisation (higher = proximity-weighted)
Returns: str: JSON with root_causes ranked by composite_score, converged, iterations
Attribution: Adapted from PyRCA random walk concept (Salesforce, BSD-3-Clause)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |