Duplicate entries in Application Insights

Copper Contributor

Since about 2 weeks I see duplicate entries for each invocation of any of our Azure Function methods, both time triggered or web-hooks. Exactly duplicated, in invocation ID, operation ID, runtime, timestamp, etc. 

This shows in custom queries in Application Insights, but also in the Monitor tab for each function.

 

Andreas_Saurwein_0-1707755114291.png

 

Any idea what could cause this?

7 Replies
Hey, do you have a durable function or a simple one? Have you tried to restart azure function instance?

@Sergii Bielskyi Simple functions, restarted multiple times, even redeployed already. 

you mean redeploying Azure function or even the App plan?
Functions, not the app plan. Weird thing is that it is for all 7 functions.
yes, but Functions are hosted on App Plan.
Am no DevOps guy, but I think we only deploy Functions when changes are made.
No worries. I think you use application insights as workspace-based, azure function logs are stored in the workspace, Also diagnostics setting will collect them again, so there is duplicate logs in the workspace. Here, you can delete the diagnostic setting, or remove the destination of the workspace which is part of diagnostic setting. https://learn.microsoft.com/en-us/answers/questions/883344/application-insights-duplicate-telemetry