Serilog Tracing – Azure Monitor with Traces and mismatched spans
Summary The issue at hand involves mismatched spans in Azure Monitor when using SerilogTracing in an ASP.NET Core 8 Web API. This results in inconsistent tracing and incorrect filtering of activities in the App Insights operation view. The root cause of this issue lies in the way activities are started and managed within the application. … Read more