Skip to content

Commit 726ce26

Browse files
fix: recognise grafana_alert_rules in check_evidence_availability (#684)
The key is already in _INVESTIGATED_EVIDENCE_KEYS and emitted by the _map_grafana_alert_rules mapper, but check_evidence_availability's has_cloudwatch_evidence OR-chain never probed it. A healthy alert whose only evidence was grafana_alert_rules fell through to _handle_insufficient_evidence instead of satisfying the evidence gate. Same drift-bug class as commit 3dbfb52 (EKS) and open PR #672 (AM/CL/HC).
1 parent a3882d4 commit 726ce26

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/nodes/root_cause_diagnosis/evidence_checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def check_evidence_availability(
5959
or evidence.get("grafana_error_logs") is not None
6060
or evidence.get("grafana_traces") is not None
6161
or evidence.get("grafana_metrics") is not None
62+
or evidence.get("grafana_alert_rules") is not None
6263
or evidence.get("datadog_logs") is not None
6364
or evidence.get("datadog_monitors") is not None
6465
or evidence.get("datadog_events") is not None

0 commit comments

Comments
 (0)