Top X slowest features

23 posts, 0 answers
  1. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 07 Oct 2014 Link to this post

    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
  2. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 08 Oct 2014 Link to this post

    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.
     
  3. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 08 Oct 2014 in reply to Thomas.Andersen@telerik.com Link to this post

    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.

  4. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 08 Oct 2014 Link to this post

    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.
     
  5. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 08 Oct 2014 in reply to Thomas.Andersen@telerik.com Link to this post

    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?
  6. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 09 Oct 2014 Link to this post

    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.
     
  7. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 10 Oct 2014 in reply to Thomas.Andersen@telerik.com Link to this post

    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.
  8. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 13 Oct 2014 Link to this post

    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.
     
  9. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 14 Oct 2014 in reply to Thomas.Andersen@telerik.com Link to this post

    Thanks, I will give OAuth 2 a quick try or just wait until the API is public.
  10. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 30 Oct 2014 Link to this post

    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.
     
  11. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 30 Oct 2014 in reply to Thomas.Andersen@telerik.com Link to this post

    Hi,

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

    /Rasmus
  12. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 30 Oct 2014 Link to this post

    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.
     
  13. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 05 Jan 2015 Link to this post

    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
  14. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 06 Jan 2015 Link to this post

    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.
     
  15. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 06 Jan 2015 in reply to Thomas.Andersen@telerik.com Link to this post

    Thanks for the quick reply, I'm really looking forward to the release ;-)

    /Rasmus
  16. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 08 Jan 2015 Link to this post

    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.
     
  17. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 19 Jan 2015 Link to this post

    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.
     
  18. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 19 Jan 2015 in reply to Thomas.Andersen@telerik.com Link to this post

    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.
  19. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 20 Jan 2015 Link to this post

    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.
     
  20. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 20 Jan 2015 in reply to Thomas.Andersen@telerik.com Link to this post

    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

  21. Richard Flamsholt
    Admin
    Richard Flamsholt avatar
    28 posts

    Posted 21 Jan 2015 Link to this post

    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.
     
  22. Rasmus
    Rasmus avatar
    18 posts
    Member since:
    Oct 2008

    Posted 21 Jan 2015 in reply to Richard Flamsholt Link to this post

    Hi Richard,

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

    /Rasmus
  23. Richard Flamsholt
    Admin
    Richard Flamsholt avatar
    28 posts

    Posted 21 Jan 2015 Link to this post

    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.
     
Back to Top