SimuVedaSystem Design Lab Open in the lab

System design / 4 simulations

Observability for System Design

Observability you can see: metrics vs logs vs traces, distributed tracing waterfalls, head and tail trace sampling, and metric cardinality.

Open the lab → Change the load, break a part, watch what happens. Free, no sign-up.

How to see what a running system is doing

When users say the site is slow, you need to find which service, which request and which line is to blame, quickly. Observability is the set of signals that make that possible: metrics tell you something is wrong and how much, logs tell you what happened in one place, and traces follow one request across every service it touched.

Each signal has a cost. Logging everything fills disks and bills; tracing every request is expensive, so systems sample, and the choice between deciding at the start (head sampling) or after seeing the result (tail sampling) decides whether the rare slow request is kept. Metrics are cheap until a label such as user id multiplies them into millions of series.

Good practice ties the signals together with shared ids and turns them into alerts on what users feel, using SLOs and error budgets. The simulations below walk through a real incident with each signal, a trace waterfall, sampling choices and the label that brings Prometheus down.

All topics: observability

Other topics