quantile_over_time(0.5, foo[t]) returns some value X, where 50% of the 
values in foo over the time range are below X and 50% are above X (i.e. 
"the median value").  Think of it as: sort all the values from low to high, 
and pick the middle one.

quantile_over_time(0.95, foo[t]) returns some value X, where 95% of the 
values in foo over the time range are below X and 5% are above X.  Think of 
it as: discard the highest 5% of values, then pick the highest remaining.

Therefore:

quantile_over_time(0.95, foo[t]) > 1 will alert if 5% or more of the 
samples have a duration of more than 1 second.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/91f45b0f-d3f7-4e8d-b479-feeab1f1669e%40googlegroups.com.

Reply via email to