Explain it in 60 seconds
Counters, gauges and histograms
Backend Engineering · Production Debugging · Intermediate
What are the main metric types, and when should each be used?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Counter: only increases (requests total).
- Gauge: goes up and down (queue length, memory).
- Histogram: distribution in buckets (latency).
- Summary: client-side quantiles.
- Use rate() on counters.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.