I am using application insights sdk for a wpf app I've been working on to capture some simple telemetry. I am loading the configuration file that looks like this
<?xml version="1.0" encoding="utf-8"?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
<TelemetryChannel Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel, Microsoft.AI.ServerTelemetryChannel"/>
<TelemetryProcessors>
<Add Type="Microsoft.ApplicationInsights.Extensibility.AutocollectedMetricsExtractor, Microsoft.ApplicationInsights"/>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
<ExcludedTypes>Event</ExcludedTypes>
</Add>
<Add Type="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.AdaptiveSamplingTelemetryProcessor, Microsoft.AI.ServerTelemetryChannel">
<MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond>
<IncludedTypes>Event</IncludedTypes>
</Add>
</TelemetryProcessors>
The problem is when I run the installed application and am offline the telemetry is captured just fine. Next time I open the app when I'm online that data eventually gets pushed out to app insights. But when anyone else runs the application offline their data never ends up getting pushed to app insights when they come back online.
Is there something wrong here in the way that this is configured? Why would this work for some users but not others?
edit: Working with a user today I noticed that when they are offline and running the app there is no temporary file that is saved. When I do the same thing on my computer I notice a weird temp file gets created. When I run the app when back online it disappears.