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

Using CreateStorage with identifier

2 Answers 56 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.
Kevin
Top achievements
Rank 1
Kevin asked on 08 Nov 2013, 09:02 PM
Given this line of code:
analyticsSettings.StorageInterface = AnalyticsMonitorFactory.CreateStorage(EqatecLogsFileShare);

Three EQATEC files are created at that location named storage_(stuff).bin.  The next time I run the app, all three files are used again.

Given this line of code that I want to use to support a Citrix environment:
analyticsSettings.StorageInterface = AnalyticsMonitorFactory.CreateStorage(EqatecLogsFileShare, Environment.UserDomainName + Environment.UserName);

I end up with three files initially, just like above, and they start with my domain/username to make them distinct from other users.  When I start the app a second time, a second session file is created.  When I start the app a third time, a third session file is created, giving me 5 files total.

This does not seem to be intended behavior.  This directory will end up with a number of files approaching the number of times the app has been started.  I'm assuming this is a bug?  Do you have a workaround?

See screenshot for what my EQATEC directory ends up looking like.  The timestamps are off for the two files that don't get duplicated, but that only happened once.  Usually those two do get an updated timestamp.

2 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 08 Nov 2013, 09:26 PM
UPDATE: I tried this same scenario using the sample .NET application that you can download from the Starter site.  All I did was add a StorageInterface as described above and I ran it on a local, personal machine (no network shares, domain, etc).  The same issue occurs where if an identifier parameter is used, old sessiondata is never deleted.  I'm now convinced this is a bug.

Thanks,
Kevin
0
Soren
Telerik team
answered on 11 Nov 2013, 07:42 AM
Hi Kevin,

You should expect to see a new session data file for each start of your application a long with two "static" files that are merely updated. You should also expect to see the older session data files disappearing on new starts of the application, so if that is not the case, this seems like an issue on our part.

I'll forward this issue to the team and get back to you once we've validate the scenario.

Thanks for reporting the issue.
 
Regards,
Soren
Telerik
ICENIUM MONITOR AVAILABLE FOR DOWNLOAD.
Monitor and track applications built with Icenium at run-time. Reduce support by fixing run-time crashes as they occur, obtain user insights such as location and system configuration, find and remove application bottlenecks, and track which features are used most to help prioritize development.
Try Icenium with EQATEC Analytics today >>
Tags
Monitor integration
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
Soren
Telerik team
Share this question
or