DevOps · interactive
Prometheus metrics: counters, rates and histograms
Prometheus scrapes numbers from your app every 15 seconds. A request counter only ever goes up, until the pod restarts and it drops to zero. Raw counters are almost useless; rate() and histograms turn them into answers.
http_requests_total
0 srestart at 150 s300 s
A total since the process started. It climbs forever, and drops to 0 when the pod restarts at 150 s. The height tells you nothing about current traffic.
Query
Step 1 of 4 · read left to right
In production
Tools and technologies
Prometheus is the default metrics system for cloud-native apps.
Not tied to one language — use these names when you search docs or design a system.