System Design
17. Observability and MonitoringAnimated
Metrics Collection
Numbers measured over time.
The idea
Counters, gauges and histograms are scraped or pushed to a time-series store.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Apps emit metrics, logs and traces.
- step:
- 1/4
- at:
- Apps
1/9
The green dot is a request moving through the system.
Step by step
- 1Instrument code
- 2Expose metrics
- 3A collector scrapes them
- 4Store as time series
Where it is used
Dashboards and alerts.
Watch out for
High-cardinality labels explode storage.