Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avg duration 0ms #676

Open
rus-ik opened this issue Jul 27, 2021 · 3 comments
Open

Avg duration 0ms #676

rus-ik opened this issue Jul 27, 2021 · 3 comments

Comments

@rus-ik
Copy link

rus-ik commented Jul 27, 2021

In Most Frequent Queries, if Min duration is eq to 0, then number in Avg is zero too (and it seems it's not correct):
image

@wsdookadr
Copy link
Contributor

wsdookadr commented Jul 29, 2021

@rus-ik Since The avg duration is expressed as an rounded number of milliseconds. Let's take the last row, I think the average should be the following: (15000 + 696) / 300281 = 0.0522 which is rounded to zero. The same applies to the other rows.

@rus-ik
Copy link
Author

rus-ik commented Aug 2, 2021

It sounds correct, thanks.. but I'd rather suggest to use a percentile (or a quantile) in this case, since the avg (when it's rounded to zero) becomes useless and shows nothing....

jfyi https://www.dynatrace.com/news/blog/why-averages-suck-and-percentiles-are-great/

@darold
Copy link
Owner

darold commented Aug 5, 2021

I agree that having percentile reported would be useful, but may increase the time to generate reports. Must be evaluated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants