You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2020. It is now read-only.
Since ILogger is also enabled by default now, it also captures this exception.
Repro Steps
Use any WebAPI app, and throw unhandled exception from controller.
Actual Behavior
2 exception telemetry, 1 from Ilogger, 1 from request tracking module
Expected Behavior
1
Version Info
SDK Version :
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS :
Hosting Info (IIS/Azure WebApps/ etc) :
When an exception is thrown from Controller, RequestTrackingModule reports it.
https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/develop/src/Microsoft.ApplicationInsights.AspNetCore/DiagnosticListeners/Implementation/HostingDiagnosticListener.cs#L480
Since ILogger is also enabled by default now, it also captures this exception.
Repro Steps
Actual Behavior
2 exception telemetry, 1 from Ilogger, 1 from request tracking module
Expected Behavior
1
Version Info
SDK Version :
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS :
Hosting Info (IIS/Azure WebApps/ etc) :