Interview Prep/Monitoring & Observability/Observability Fundamentals & Signals

Histogram vs summary: what is the real difference, and which do you choose?

IntermediateConceptObservability Fundamentals & Signals
Answer
Histogram Summary
Quantile computed Server side (histogram_quantile) Client side, in the app
Aggregatable across instances Yes (sum the buckets) No, you cannot average quantiles
Accuracy Depends on bucket layout Configurable error per quantile
Cost One series per bucket One series per quantile

In production we choose histograms almost always, because we need p99 across 50 pods, and summaries cannot be aggregated. Summaries are only acceptable for a single-instance process where you need precise quantiles.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Observability Fundamentals & Signals