Interview Prep/Monitoring & Observability/Dashboard Design Standards

How do you show latency correctly on a dashboard?

IntermediateProductionDashboard Design Standards
Answer

Show percentiles computed from histograms across the fleet, not averages:

histogram_quantile(0.99, sum by (le, route) (rate(http_request_duration_seconds_bucket{service="$service"}[$__rate_interval])))

Plot p50, p90 and p99 together, with a horizontal threshold line at the SLO target. A heatmap panel of the buckets shows bimodal distributions that percentiles hide. Always set the unit to seconds.

All Monitoring & Observability questions

More on Dashboard Design Standards