summary metric
A metric type that calculates percentiles inside the application process and exports the finished answers.
In more detail
A summary is exact for the one process that computed it, but percentiles cannot be averaged or added, so summaries from several instances cannot be combined into a service-wide figure. Prometheus recommends histograms in most cases; a summary suits a single process that needs an exact figure.
Example
Averaging two instances' 99th percentiles gave 0.6 s while the true 99th percentile of both was 0.9 s.Related terms
- histogram — A metric that counts measurements, such as request durations, into ranges of values so their distribution and percentiles can be calculated.
- percentile — The value below which a given percentage of measurements fall; p99 latency is the time 99 in 100 requests beat.
Taught in
- Metric Types: Summaries And Histograms — Full-Stack Observability: Metrics, Tracing & Logging
- Instrumentation Sprint: Sixteen Calls On Code And Exporters — Prometheus Certified Associate (PCA) Exam Prep