AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

App Speed - usertimings #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of related component: Documentation

URL of the documentation page 
:https://developers.google.com/analytics/devguides/collection/android/v2/usertim
ings

Issue summary:
By using the category, name and label you get a nice way to group events, so 
you can drill down on them. But I've noticed something unexpected in the 
results.

I'm using it like this:
sendTiming("HTTP",   7000, "CALL", "HTTP");
sendTiming("HTTP",   3000, "CALL", "DB");
sendTiming("HTTP", 10000, "CALL");

In GA I can see these results the next day
If I drill down to the 'label' level, I can see the HTTP and DB timings as 7 
and 3 secs. As expected.
But if I look at the 'name' level, I do not get the expected measurement of 10 
secs, but I get an average of 6.7 secs with 3 measurements. 
So apparently it always summarizes itself with its sub measurements, and then 
returns the average. eg (7+3+10) / 3 = 6.7.
To me, this seems weird, it shouldn't group different levels of timings. Seems 
like comparing apples and oranges.

So, probably I'm not using the api correctly.
But I just can't figure out what the right use case would be, for using 'label' 
measurements, when they are added and averaged with its parent.

The documentation just tells you the parameters are there, but not what the use 
case would be

Original issue reported on code.google.com by koen.die...@gmail.com on 8 Mar 2013 at 7:36

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 10 Oct 2014 at 5:59