Mounya A
unread,Oct 19, 2020, 3:21:39 AM10/19/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Developers
Hello all,
I have a question regarding calculting qunatiles in prometheus. I can only see every body mentioning the use of histograms to calculate qunatiles .We have quantile function in promql right? . Is it appropriate to use this function with summaries?
Query I am using.
quantile(.99 ,
(sum by(job)(rate(api_response_time_sum{job="$stack" , service=~"$product"}[30d])) /
sum by(job)(rate(api_response_time_count{job="$stack", service=~"$product"}[30d]))
)
)
will the above query give the desired result?
Thanks in Advance .