Classic histogram buckets count all observations at or below their le boundary. The 0.5-second bucket includes observations in lower buckets. Use the +Inf bucket as the total observation count; adding every bucket counts the same requests repeatedly.
Read the labels before you run the example. This workbench evaluates the final sample of a regularly spaced fixture, so its rates omit Prometheus scrape extrapolation. Compare the result with the underlying series, then change the service scope. The last request leaves the query construction to you; a hard-coded number won't survive the changed dataset.