Prometheus came out of SoundCloud in 2012, was donated to the CNCF, and is now the gravitational center of OSS metrics. It scrapes HTTP endpoints on an interval, stores time-series in a local TSDB, and exposes them via PromQL. Grafana is the dashboard UI everyone bolts on top.
← Back to Observability & Performancehttp_requests_total{method="GET",status="200"})./metrics from each target on an interval (default 15–60s).rate(), histogram_quantile(), sum by().| Type | Use for | Example |
|---|---|---|
| Counter | Monotonic counts (only goes up) | http_requests_total |
| Gauge | Things that go up and down | queue_depth, memory_bytes |
| Histogram | Distributions (esp. latency) | http_request_duration_seconds |
| Summary | Pre-computed quantiles (rare) | p50/p99 calculated client-side |
Prefer histograms for latency — they aggregate; summaries don't.
user_id as a label = millions of series = OOM.