Latency Histogram Design

Choose histogram buckets and aggregation so latency percentiles and SLO ratios are correct: never average or sum percentiles, export histograms and aggregate buckets first (sum by le across instances) before taking the quantile, put a bucket boundary exactly at each SLO threshold so the good-events ratio is read from one bucket, bracket normal and tail behaviour per route, measure interpolation error, check units after a library change, and move to native or exponential histograms where supported. Use this skill whenever someone asks "p99 on the dashboard does not match the logs", "can I average percentiles", "what buckets should I use", "histogram_quantile is jumpy" or "should we switch to native histograms". Not for deciding what to emit (instrumentation), choosing the SLO target (slo-design), or explaining why one request was slow (trace-latency-analysis).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit fc25411b77

Frequently asked questions

npx get-skill add greenblacked/latency-histogram-design