Skip to content
SD-17 · SERVER METRICS COLLECTOR · INTERACTIVE

Break it.
Then fix it.

Add servers to the fleet and watch the metrics system strain under writes, bursts and alert queries. Every switch is a decision from the write-up.

CHALLENGEWatch 50,000 servers with dashboard p99 under 1 s, no lost samples and no errors.
StatusDOWNAt 10K servers
Dashboard p995,000+ msTarget under 1,000 ms
Lost samples89.3%Gaps on every restart
Monthly cost$1,9205 gateways
ServersLIVE
500K samples/s · 3× bursts
traffic source
Load balancerOK
Autoscales gateways
1.5M samples/s
Gateways × 5OK
Labels and quotas
1.5M / 2.5M samples/s
TSDB · 1 nodeDOWN
1.5 B a sample
1.5M writes · 9.3K query units/s
Query serviceOK
Raw points only
3.5K queries/s
Dashboards + alertsLIVE
3.3K rule queries/s
200 dashboard queries/s
Bursts and restarts are losing data. After a deploy the rate triples, and a store restart drops whatever was in flight. Put a durable log in front so writers replay and drain at their own pace.
2.5MSamples a second50,000 servers × 500 series every 10 s.
1.5 BPer sampleDelta-of-delta times and XOR-ed values, against 60 bytes as a row.
17 : 1Alerts to people16,700 rule queries a second against about 1,000 from dashboards.
30×Fewer points5-minute rollups for a 30-day panel instead of raw 10-second samples.
Want the reasoning behind every switch?Visual walkthroughFull write-up
Was this lab useful?Your vote tells us what to improve next.