How to create a new session?

3 posts, 0 answers
  1. Rami
    Rami avatar
    3 posts
    Member since:
    May 2014

    Posted 17 May 2014 Link to this post

    Hi.

    I wrote a test class to test collecting data analytics.

    It basically looks like this:

    private IAnalyticsMonitor monitor;
     
    [TestInitialize]
    public void TestInitialize()
    {
        IAnalyticsMonitorSettings settings = AnalyticsMonitorFactory.CreateSettings(projectId);
        settings.LoggingInterface = AnalyticsMonitorFactory.CreateTraceMonitor();
        monitor = AnalyticsMonitorFactory.Create(settings);
        monitor.Start();
    }
      
    [TestCleanup]
    public void TestCleanup()
    {
        monitor.Stop();
    }
      
    [TestMethod]
    public void TestMethod1()
    {
        for (int i = 0; i < 100; i++)
        {
            monitor.TrackFeature("test");
        }
    }

    However, when looking at the live data that was collected, it only shows one session.

    I was expecting to see 100 different sessions.

    Any ideas?

    Thank you.
  2. Rami
    Rami avatar
    3 posts
    Member since:
    May 2014

    Posted 17 May 2014 in reply to Rami Link to this post

    Oops, sorry, I figured out the obvious problem.

    So now I am wondering how to delete a session?

    Thank you.
  3. Thomas.Andersen@telerik.com
    Admin
    Thomas.Andersen@telerik.com avatar
    42 posts

    Posted 21 May 2014 Link to this post

    Hi Rami

    You can't delete sessions in the client. The recommended way approach this is to experiment and debug in a temporary project until you are satisfied with the output. Then create a new project and delete the old one.

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