Skip to content
StackDecode
System Design
17. Observability and MonitoringAnimated

Prometheus

A time-series metrics system with pull-based scraping.

The idea

Prometheus scrapes endpoints, stores metrics and offers the PromQL query language.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

AppsCollectorMetrics (Promet…Logs (Loki)Traces (Tempo)Dashboards
  • 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

  1. 1Services expose /metrics
  2. 2Prometheus scrapes them
  3. 3Stores time series
  4. 4Alertmanager sends alerts

Where it is used

Kubernetes monitoring.

Watch out for

Not built for long-term storage by itself.

Related