techdiagrams.net
← All templates

Metrics & observability platform

A telemetry funnel with cardinality budgets, sketch-based aggregation (t-digest, HLL), hot/cold storage tiers and rollups — observability that doesn't bankrupt you.

Open in editor — free, no login Download JSON
metrics · 2M pts/sadmitted seriesconsumedigestsage outdownsampled tiersrecenthistoryevaluate rulesService Fleet500 pods · SDK metricsIngest Funnelvalidate · budget · shedMetrics Streampartitioned by seriesSketch Aggregatort-digest · HLL · countersHot TSDBraw · 24h retentionRollup Jobs1s→1m→1h downsamplingCold Tier13 months · object storeQuery APIhot + cold mergeAlertingSLO burn ratesthe two observability killers, both handled at ingest:· cardinality budget (labels × values is your real bill)· sketches over raw (percentiles that merge correctly)

What this design does

Metrics platforms die two deaths: label-cardinality explosions and storing raw forever. This design guards the front door with a funnel that enforces cardinality budgets, aggregates with mergeable sketches so percentiles survive fan-in, keeps 24 hours hot, and rolls everything older into cheap downsampled tiers.

The patterns it composes

Import it, attach your own numbers, and verify the design against failures — or read the engineering notes.