13 Feb 2023 11:45 AM - last edited on 14 Feb 2023 12:08 AM by MaciejNeumann
Guys, I have a dashboard with some response time measurements and one of them is the 90th percentile. I have the time, OK, but I was asked how many calls are within that time, within the P90. I didn't find a way to verify this and chatting with the chat, I wasn't given a solution either. Does anyone have an idea how to extract this information?
I need to know how many calls were inside that P95:
Solved! Go to Solution.
I'm not sure if this is possible within the standard dashboarding. What you can do is create a multidimensional analysis to check it. So firstly use the query above to get the value, then use the Multidimensional Analysis to get the number of calls.
This will give you the number.
If I got your question right - I believe you have the answer already - for 90 percentile - 90% of requests are below the 90 percentile. Same for any percentile. So you can use the builtin:service.keyRequest.count.server metric for the number. But that's for metrics which have 1-minute resolution, not for individual requests see @michiel_otten answer. - this will be the most precise answer, but you can't have that on a dashboard.
To add on Julius: you can combine your data explorer query with metric:
(builtin:service.keyRequest.count.total:splitBy("dt.entity.service_method")*0.9) for for fast request count
(builtin:service.keyRequest.count.total:splitBy("dt.entity.service_method")*0.1) for slowest 10%
Tried playing around with percentile in metric above but does not seem to give the right number.
@Julius_Loman what's your experience with this?
Metric precision will never match the MDA since with metrics you work with 1-minute resolution aggregates at minimum. With MDA it's per request, and it will provide the most accurate answer.