Design Metrics Collection Service - Datadog - Follow-up questions - Intuition First, Need more How
Here is solutions for Design Metrics Collection Service - Datadog.
Main topic:
-
Ingest Service: for ingest data.
-
Query service: for query the metrics.
-
Alert metrics: for creating alerts
-
Notification Service: for fan-out notifications.
1. Requirements
- The platform should be able to ingest metrics (CPU, memory, latency, custom counters) from services
- Users should be able to query and visualize metrics on dashboards with filters, aggregations, and time ranges
- Users should be able to define alert rules with thresholds over time windows (e.g., “alert if p99 latency > 500ms for 5 minutes”)
- Users should receive notifications when alerts fire (email, Slack, PagerDuty)
2. High-level Design

July 26, 2026