I am looking at this article
# TYPE prometheus_http_request_duration_seconds histogram
prometheus_http_request_duration_seconds_bucket{handler="/",le="0.1"} 25547
prometheus_http_request_duration_seconds_bucket{handler="/",le="0.2"} 26688
prometheus_http_request_duration_seconds_bucket{handler="/",le="0.4"} 27760
prometheus_http_request_duration_seconds_bucket{handler="/",le="1"} 28641
prometheus_http_request_duration_seconds_bucket{handler="/",le="3"} 28782
I am confused on why
histogram_quantile(0.9,
rate(prometheus_http_request_duration_seconds_bucket[5m])
)
doesn't give you the quantile of rate with unit observe event / second
but instead give the quantile of request duration with unit second / observe event
rate(prometheus_http_request_duration_seconds_bucket[5m]
should give you number of observe event in certain bucket / second
average over 5 minute
I would imagine histogram_quantile
would then give you the rate quantiles
I must be understanding something incorrectly