Metrics & Logging Platform Design
Design a metrics and logging platform that ingests high-volume telemetry, stores it in tiers within cardinality and cost budgets, and keeps dashboards and alerts working through ingest bursts.
3 objectives 5 steps about 110 min
Check what you know
The lessons are coming later. The knowledge check is ready now.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Estimate samples per second, active time series, log bytes and storage per retention tier for a fleet, and set per-tenant cardinality and volume limits that ingestion enforces.
- Design the ingest and storage path: collectors, a buffering queue, a time-series store with compressed chunks and an inverted index on labels, a log store whose indexing (labels with scans, or full text) fits the stated query mix and budget, and downsampling with retention tiers.
- Design query and alert evaluation that meet a stated time-to-detect during ingest bursts and partial outages, and describe the degraded behaviour when a label explodes, a disk fills or the store becomes unavailable.
Lesson plan
5 steps, about 110 min · 0 of 4 lessons available so far
- Sizing a telemetry platform: series, samples, log bytes and budgets Worked example · 20 min · coming later
- Inside a time-series store: chunks, compression and the label index Concept · 25 min · coming later
- Logs at volume: indexing labels, scanning text and tiering retention Concept · 20 min · coming later
- Lab: a label explosion, ingestion limits and alerting under load Lab · 30 min · coming later
- Metrics and logging platform design check Knowledge check · 6 questions
Practise it
Run Prometheus with a load generator, measure memory, ingest latency and the p95 latency of a fixed dashboard query as active series grow from 100,000 to 500,000, trigger a label explosion and show the per-target or per-tenant limit that contains it, stop the store and fill its disk and record what alerts and dashboards do, then write a design doc for 50,000 hosts covering volume estimates, the ingest queue, storage tiers and downsampling, alert evaluation during a burst, and the monthly storage cost.
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.