Hi,

I’m using Prometheus to monitor request durations via a histogram metric, 
e.g., http_request_duration_seconds_bucket. I would like to query:

   - The minimum time taken by a request
   - The maximum time taken by a request

…over a given time range (say, the last 1h or 24h).

I understand that histogram buckets give cumulative counts of requests 
below certain durations, but I’m not sure how to extract the actual min or 
max values of request durations during a time window.

Is this possible directly via PromQL? Or is there a recommended workaround 
(e.g., recording rules, external processing, or using histogram_quantile() in 
a specific way)?

Thanks in advance for any guidance!

Br,
Teja

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/prometheus-users/28e89708-df2b-4567-88a2-d4f0a33bf933n%40googlegroups.com.

Reply via email to