Hands On FullStack Development

Hands On FullStack Development

Week 6 : Alert Management Control Plane

Jul 11, 2026
∙ Paid

What We Are Building

InfraWatch Alerts — a production alert management console modeled after PagerDuty and Datadog:

  1. Rule engine — Threshold, anomaly, and expression-based rules with templates

  2. Evaluation pipeline — Sustained breach detection, deduplication, suppression windows

  3. Lifecycle processing — Severity scoring, escalation policies, auto-resolution

  4. Query plane — Search, statistics, bulk operations, CSV/JSON export

  5. Operator console — Dark-theme dashboard with live WebSocket updates

  6. Notification routing — Channel delivery with circuit-breaker protection


Core Concept: Signal vs Noise

Every monitoring platform ingests thousands of metric points per minute. The hard problem is not detection — it is deciding which signals deserve human attention. Datadog and PagerDuty solve this with pending timers (avoid flapping), fingerprint deduplication (one alert per root cause), and suppression windows (maintenance silence).

The non-obvious insight: alert state is a first-class entity, not a side effect of rule evaluation. A rule fires; an alert instance is born with its own lifecycle. Operators acknowledge, escalate, and resolve alerts — not rules.


Where This Fits

Metrics Collection          raw telemetry
        │
Background Processing       scheduled evaluation jobs
        │
Alert Management            ◀ this lesson
        │
Notifications               delivers outcomes to humans

Alerts sit between completed metric pipelines and human response. They assume metrics arrive reliably and workers can evaluate rules on schedule.


Component Architecture

Ingest — Agents POST metric samples; each sample triggers rule evaluation.
Evaluator — Compares values against thresholds or Z-score anomaly models.
Processor — Manages pending→firing transitions, severity scoring, history audit.
Query API — Powers search, statistics, and export for the operator console.
WebSocket — Pushes state changes to the dashboard without polling.

User's avatar

Continue reading this post for free, courtesy of System Design Roadmap.

Or purchase a paid subscription.
© 2026 System Design Roadmap · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture