Duplicate log entires in appinsights #6281
Replies: 1 comment
-
This is not the repository for Azure Monitor. Your question belongs in this repo: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore Since you're using Azure Functions, make sure you follow their instructions for onboarding to OpenTelemetry: https://learn.microsoft.com/azure/azure-functions/opentelemetry-howto?tabs=app-insights&pivots=programming-language-csharp Looking at your screenshot, these are not duplicates. The timespans and customDimensions are different. This suggests to me that you possibly have multiple OpenTelemetry configurations in your process. You would need to share a full repro for anyone to investigate this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using OTEL Azure Monitor to export logs to application insights, the issue I am facing is duplicate log entries.
No diagnostic settings are configured on my appinsights resource. Not sure what I am missing here, please guide
Below is the snippet of code
Startup Class
Function code
Logs

Beta Was this translation helpful? Give feedback.
All reactions