This is a migrated thread and some comments may be shown as answers.

Top X slowest features

22 Answers 80 Views
Reports & data analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rasmus
Top achievements
Rank 1
Rasmus asked on 07 Oct 2014, 12:55 PM
Hi,

I'm trying to figure out a way to list the top X slowest features based on Feature Timing data.
Lets say I have 100 features that I have timings for, how do I create a report that will show me the top 5 slowest features?

/Rasmus

22 Answers, 1 is accepted

Sort by
0
Thomas.Andersen@telerik.com
Telerik team
answered on 08 Oct 2014, 09:33 AM
Hi Rasmus

I'm afraid that this is not supported in the Analytics client. How would like to sort them? By the average time for the selected period?


Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 08 Oct 2014, 10:38 AM
Ideally I would like to sort them by either Average, Min or Max.
It would also be very nice if I was able to export all feature timings in a single go, this way I could just create a spreadsheet to do the calculations on my own.

0
Thomas.Andersen@telerik.com
Telerik team
answered on 08 Oct 2014, 12:16 PM
Hi Rasmus

Ok i can see how this would be useful in your case. However most of the time the feature values can not all be compared without some additional grouping. Not all the featuretimings are comparable, since they could be timing anything from httprequests to user behavior. 

This none the less an interesting idea and i will put it on our feature request list.

By the way you might be interested in knowing that we just added a average overlay line to these widgets that you can activate from the widget menu. It will give you a historic view of the average in that particular chart.

Sorry we could not help you with your exact case.

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 08 Oct 2014, 02:14 PM
Ok I can fully understand how this can be a challange for features timings on different levels.
What about the option to export all timing data (raw, not aggregated), this would make it a lot simpler for me to manually analyse the data?
0
Thomas.Andersen@telerik.com
Telerik team
answered on 09 Oct 2014, 11:10 AM
I'm afraid there is no easy way of doing this. When authenticated you can access the API yourself. One call will get you the list of timings and you can iterate over this and get the data which you can the sort by average. Something like this:


$.ajax(
  {
    success: onSuccess
  }
 
);
 
var rawData = [];
 
function onSuccess(data){
  data.forEach(function(ft){
 
    $.ajax({
      url: 'https://platform.telerik.com/analytics/api/data/FeatureTiming/YOURPROJECTIDHERE/'+ft.FeatureID+'?StartDate=5365&EndDate=5394&IsLiveMode=false&Countries=&CO=Or&Version=&VO=Or&Origin=Public&Mode=Sessions',
      success: function(ftd){rawData.push(ftd);}
    });
 
  });
}
 
//when last call is done
 
rawData.sort(function(a,b){a.AvgSeries.reduce(function(x,y){return x + y;},0) - b.AvgSeries.reduce(function(x,y){return x + y;},0) });


This is semi pseudo code and not checked. The dates are in days since millennium. We are working on getting the API open for 3 party apps, but this not due for a couple of months. Late November at the earliest.

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 10 Oct 2014, 10:12 AM
Thanks for your reply. Nice to that a public API is on the way, that would solve my issues.
Do you have any guidence on authentication for the current API?
I'm looking to call the web api from C# code.
0
Thomas.Andersen@telerik.com
Telerik team
answered on 13 Oct 2014, 06:59 AM
Hi Rasmus

Until we release the open API there is no real story for that. I guess you could try to do the OAuth 2 authentication using your credentials from C#. I haven't tried it myself so i cannot help you here. I will let you know when the open API is open.

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 14 Oct 2014, 07:17 AM
Thanks, I will give OAuth 2 a quick try or just wait until the API is public.
0
Thomas.Andersen@telerik.com
Telerik team
answered on 30 Oct 2014, 07:46 AM
Hi Rasmus

Did you have any success with calling our API directly? We're getting some calls on our server like this

https://platform.telerik.com/analytics/api/data/FeatureTiming/YOURPROJECTIDHERE?StartDate=5365&EndDate=5394&IsLiveMode=false&Countries=&CO=Or&Version=&VO=Or&Origin=Public&Mode=Sessions'

Remember to change the part YOURPROJECTIDHERE to your own project key.

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 30 Oct 2014, 08:07 AM
Hi,

No i was unable to crack the authentication from C#.
So I dont think that the calls originate from me.

/Rasmus
0
Thomas.Andersen@telerik.com
Telerik team
answered on 30 Oct 2014, 08:29 AM
Ok just found out that the links where crawled by google. So i guess i should post full links like that in the future :)

Too bad you weren't able to get through with C#. The open API has now been scheduled for December so soon you should be able to accomplish the sorting that you want.

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 05 Jan 2015, 03:29 PM
I just saw that the Public API is now available. However I get an error when I go to the Public API site: https://platform.telerik.com/analytics/spec/

Please specify the protocol for /api/resources
0
Thomas.Andersen@telerik.com
Telerik team
answered on 06 Jan 2015, 07:27 AM
Hi Rasmus

The docs has by a mistake been updated prematurely. It will be a little while longer before the actual API is released,1-2 weeks. Sorry for the confusion. 

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 06 Jan 2015, 07:32 AM
Thanks for the quick reply, I'm really looking forward to the release ;-)

/Rasmus
0
Thomas.Andersen@telerik.com
Telerik team
answered on 08 Jan 2015, 09:11 PM
I will let you know as soon as it is live :)

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Thomas.Andersen@telerik.com
Telerik team
answered on 19 Jan 2015, 10:37 AM
Hi Rasmus

The API is now live. Check it out here https://platform.telerik.com/analytics/spec/

Regards,
Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 19 Jan 2015, 03:29 PM
Great news, I'm already working on a C# client library for the API. I will post the library to nuget once I'm done.
0
Thomas.Andersen@telerik.com
Telerik team
answered on 20 Jan 2015, 07:09 AM

Looking forward to giving it a try. Please let us know if you have any questions regarding the API or discover any bugs.

Thanks,

Thomas.Andersen@telerik.com
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 20 Jan 2015, 11:19 PM
Hi Thomas,

So I finished the C# API for the Public API:

* https://github.com/edberg/telerik
* https://www.nuget.org/packages/Telerik.Analytics

I found one issue with the /data/sessions/{ProjectId}  endpoint. I have attached an image of the error from the API site https://platform.telerik.com/analytics/spec

0
Richard Flamsholt
Telerik team
answered on 21 Jan 2015, 12:09 PM
Hi Rasmus,

Impressive - nice work.

Thanks for reporting the /data/sessions issue. It's used for looking up sessions specifically by either CookieID or InstallationID and therefore it happens to return an error if neither is specified.

Of course this could be elegant, both API-wise and functionally. So far it's only been used by our own client that knew how to play by the rules, but now that it's part of the open API we'll make the call and/or parameters more explicit in some manner yet to be decided.

For now (the next release) we've decided to keep the API-call and parameters, but have it return 0 results instead of an error if neither search criteria is specified.

Regarding your C# library we have one single request:

Our .NET monitor nuget package is called EQATEC.Analytics.Monitor, for historical reasons. But in the next major release it will change name to Telerik.Analytics.Monitor. We'll also release other Analytics-related tools/SDK/helpers as nuget packages in the future.

Your choice of the short and sweet nuget package name "Telerik.Analytics" could likely cause some confusion. It surely looks as if it's sanctioned or delivered by Telerik which could lead people to think that this was the most important or total package of all the Telerik Analytics stuff, regardless of the description (many simply doesn't read).

Could we ask you to please consider renaming it to a name that does not start with Telerik.* and unlist or remove the existing package from nuget? We understand it's a bit of a hassle but hopefully it's okay because it's only been out one day. And don't get us wrong - we really do appreciate your effort, but we also strive to create the best "user experience" in all aspects, even as low-level as for developers looking for nuget-packages :-)

thanks,
Richard Flamsholt
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
0
Rasmus
Top achievements
Rank 1
answered on 21 Jan 2015, 01:28 PM
Hi Richard,

I have unlisted the Telerik.Analytics package and uploaded it again as Edberg.Telerik.Analytics, I hope this works for you?

/Rasmus
0
Richard Flamsholt
Telerik team
answered on 21 Jan 2015, 02:34 PM
Hi Rasmus,

It sure does. Thanks for the work and thanks for being a good sport! :-)

Med venlig hilsen,
Richard Flamsholt
Telerik
 
EQATEC Application Analytics is now Telerik Analytics. For more information on the new name, plus what's new in Telerik Analytics, please, check out the Analytics Service Announcement.
 
Tags
Reports & data analysis
Asked by
Rasmus
Top achievements
Rank 1
Answers by
Thomas.Andersen@telerik.com
Telerik team
Rasmus
Top achievements
Rank 1
Richard Flamsholt
Telerik team
Share this question
or