Reputation: 1
I have made a cron job which runs every hour and do some things. Although it runs every hour it perform some task at every 3 hours and 8 hours. I have set enableadaptivesampling as false still my logs are not logging below is my code.
services.AddApplicationInsightsTelemetryWorkerService(options =>
{
options.ConnectionString = Configuration.GetSection("ConnectionString").Value;
options.EnableAdaptiveSampling = false;
});
Sometimes logs are missed for any oddly hour. What i mean is it traces logs for continuous 10 hours and skip for 2 hours. sometimes it skip for 4 hours
tried options.EnableAdaptiveSampling = false;
Upvotes: 0
Views: 24