Closed DeepMalh44 closed 11 months ago
If you're running the application in Azure Functions, please file an issue here.
hello @cijothomas this issue is not alone with Function Apps, this is happening across all azure service we have on board .. and Telemetry for all these Azure components is getting duplicated, I just posted my question with simple one service (function app in this case) but in my environment I have SQL Server logs, Service bus, functions apps, etc.. and Telemetry is duplicated for everything.
Can you share a non-function repro app showing this behavior for us to review if the config is correct? Also check this FAQ: https://docs.microsoft.com/en-us/azure/azure-monitor/app/telemetry-channels#does-the-application-insights-channel-guarantee-telemetry-delivery-if-not-what-are-the-scenarios-in-which-telemetry-can-be-lost
Additionally, the duplication is possible in backend as well. (you'll need to open support ticket to get someone to investigate that)
Same issue for me : Duplication of log entries in application insights. I'm using bot framework composer and i have configured the instrumentation key and connection string in advanced app setting json and publishing profile.
Hi, This issue still persists any possible resolution?
Same problem here for nearly a year. All logs are duplicating.
If your using workspace application insights, refer this https://docs.microsoft.com/en-us/answers/questions/775202/workspace-based-app-insights-vs-diagnostic-setting.html
Usage of both both diagnostic settings and workspace-based Application Insights cause double data
I can confirm this behavior in my case as well (no Azure function, but a customized Dynamics 365 Finops instance). Especially parallelized (10+ Threads) tasks emit the effect. There is a lot of data, that doesn't get duplicated, that tends not to run parallelized as well. We might have a synchronization problem here. Unfortunately, this also means that I have not yet been able to explicitly trigger the effect on my installation.
Our application have duplicate logs & custom events in our Application Insights (running in workspace-based mode with another Log Analytics). I confirmed that we don't have a diagnostic setting that forwards the logs.
We are running on Java and are using 'com.microsoft.azure:applicationinsights-runtime-attach:3.3.1' & 'com.microsoft.azure:applicationinsights-core:2.6.4'. But still want to share here. Maybe this isn't an agent specific problem.
We are having the same issue : we have duplicated logs while other applications with the same ApplicationInsight commection string do not. Also it is not always duplicated, and not only 2 times but I have seen up to 5 times (same timestamp, duration, & all properties)
I'm having a similar issue where I see the same log twice in an Azure Function slot. One log has set the SessionId and ParentId while the other does not.
Also noticed that the SDKVersion seems to be different in the telemetry:
I wonder what the problem is since I have the same code deployed to two different slots (Prod and PPE), and only the PPE slot is having this issue.
This issue is stale because it has been open 300 days with no activity. Remove stale label or this will be closed in 7 days. Commenting will instruct the bot to automatically remove the label.
Does anyone know why this is happening? I have the same problem, but the only duplicated entries are coming from exceptions
Same issue happening for me - Logs from APIM being duplicated. No diagnostic setting present.
We are using Azure Function App, Azure SQL server and API management a very simply solution and we are reporting all our telemetry back to Application Insights. Right now we are trying to review some performance issue and what we are observing is that Application Insights is showing duplicate records (screenshot below). Anyone know how we can avoid this duplicate entries and have a clean hierarchical flow of telemetry data?
UPDATE: 01/05/2022: We created a new Application Insights Instance and just created out of the box Function App From Azure portal and attached this instance of App Insights (no custom code nothing just sample code) and still we see DUPLICATE telemetry for that new function App as shown below from the App Insights logs:
Also posted the same issue here: https://stackoverflow.com/questions/70475470/azure-application-insights-showing-duplicate-entries