System Design Practice: Metrics Monitoring System

Functional Requirements FR1: Platform can ingest metrics (CPU, memory, latency, custom counters) from services. FR2: Users can query and visualize metrics on dashboards with filters, aggregations, and time ranges. FR3: Users can define alert rules with thresholds over time windows, e.g., &ldquo;alert if P99 latency > 500ms for 5min&rdquo;. FR4: Users can receive notifications when alerts fire,…