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

How to create a new session?

2 Answers 53 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rami
Top achievements
Rank 1
Rami asked on 17 May 2014, 05:04 AM
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 Answers, 1 is accepted

Sort by
0
Rami
Top achievements
Rank 1
answered on 17 May 2014, 03:56 PM
Oops, sorry, I figured out the obvious problem.

So now I am wondering how to delete a session?

Thank you.
0
Thomas.Andersen@telerik.com
Telerik team
answered on 21 May 2014, 01:43 PM
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.
 
Tags
Monitor integration
Asked by
Rami
Top achievements
Rank 1
Answers by
Rami
Top achievements
Rank 1
Thomas.Andersen@telerik.com
Telerik team
Share this question
or