p99 latency is reported as exactly `10` seconds for hours
IntermediateTroubleshootingPromQL and recording rules
Answer
Likely causes → Requests exceed the highest finite bucket; histogram_quantile returns the upper bound of the last finite bucket when the quantile lands in +Inf.
Diagnose →
sum by (le) (rate(http_request_duration_seconds_bucket[5m]))
Look at how many observations sit above the top le.
Fix → Add higher buckets (e.g. 15, 30, 60) or move to native histograms.
Prevent → Design buckets around SLO thresholds plus headroom above the timeout.
More on PromQL and recording rules
A PromQL query in the UI returns `Empty query result` for a metric you can see on `/metrics`Beginner`rate(http_requests_total[1m])` returns nothing but `http_requests_total` has dataBeginner`rate()` applied to a gauge shows huge spikesBeginnerBinary operation fails: `many-to-many matching not allowed: matching labels must be unique on one side`Advanced`found duplicate series for the match group {pod="api-1"} on the right hand-side of the operation`IntermediateError ratio query returns no data during quiet hoursIntermediate