Labs โ€บ metrics and monitoring system0 / 14

Step 1 of 14 ยท Intro

Design a metrics and monitoring system

Ingest millions of samples, keep dashboards snappy and wake humans only when it matters.

How it works

  • โ€บIngest: agents push batches of timestamped samples (write-heavy).
  • โ€บQuery: dashboards read ranges, repeatedly and in bursts.
  • โ€บAlert: rules are evaluated continuously on the same data.

What you'll build

  1. The API and the series schema
  2. A buffered, batched write path
  3. A cache for dashboards and a separate consumer group for alerts
  4. A quota against cardinality bombs
  5. A design that survives losing a store node, a consumer and a cold cache