Cloud Incident Intelligence — ML Investigation of Cloud Telemetry

Overview

Cloud Incident Intelligence is an ML/NLP investigation into whether API failure root causes can be reliably predicted from cloud infrastructure telemetry and log data. Rather than a “train a model and maximize accuracy” exercise, it was approached as a realistic ML engineering investigation — testing predictive signal quality, root cause classification feasibility, and data leakage risks in observability systems.

The dataset: 220,000+ rows and 22 columns of synthetic cloud/API observability data — API metadata, status codes, latency metrics, retry counts, regions, environments, log levels, error messages, and remediation actions.

Experiments

  1. Infrastructure metadata baseline — Logistic Regression on API metadata, latency, request sizes, retry counts, regions. Result: near random-chance accuracy (~6–7%).
  2. Operational context features — Added HTTP status codes and error types; tried Logistic Regression and Random Forest. Result: minimal improvement, weak predictive signal.
  3. Leakage investigation — Tested whether post-incident fields (resolution actions, error messages, retry success indicators) artificially inflate performance. Result: still extremely weak predictive relationships.
  4. NLP / log intelligence pipeline — TF-IDF vectorization on API error logs in a hybrid structured + text pipeline. Result: semantic log text also showed minimal predictive power.

Key Finding

Model complexity cannot compensate for weak data signal. Despite testing multiple feature subsets and ML pipelines, all experiments consistently performed near random-chance accuracy — suggesting the synthetic dataset lacked meaningful causal structure between the provided features and target labels.

That negative result is the point: validating dataset realism, running proper leakage analysis, and reporting honest findings matters more than chasing inflated metrics.

What This Project Demonstrates

  • Rigorous experiment design: baselines first, feature ablation, leakage analysis
  • NLP pipelines: TF-IDF vectorization over operational log text
  • Scikit-learn engineering: ColumnTransformer workflows, OneHotEncoding, reproducible notebooks
  • SRE-adjacent thinking: what telemetry actually predicts incidents — and what doesn’t
  • Intellectual honesty: publishing a well-run negative result with full methodology

← Back to Projects