Open KimihikoSaito opened 1 week ago
Work ApplicationInsightsTelemetry:
services.AddApplicationInsightsTelemetry(); services.AddOpenApi();
DO NOT work ApplicationInsightsTelemetry:
services.AddOpenApi(); services.AddApplicationInsightsTelemetry();
Exception has thrown at inside ApplicationInsightsExtensions.AddCommonTelemetryModules(services);. https://github.com/microsoft/ApplicationInsights-dotnet/blob/e34286b4c8175d7ea47f9227c5b981d661cac470/NETCORE/src/Shared/Extensions/ApplicationInsightsExtensions.cs#L335
ApplicationInsightsExtensions.AddCommonTelemetryModules(services);
@KimihikoSaito Thanks for reporting this, saved me a lot of time...
Describe the bug
Work ApplicationInsightsTelemetry:
DO NOT work ApplicationInsightsTelemetry:
Exception has thrown at inside
ApplicationInsightsExtensions.AddCommonTelemetryModules(services);
. https://github.com/microsoft/ApplicationInsights-dotnet/blob/e34286b4c8175d7ea47f9227c5b981d661cac470/NETCORE/src/Shared/Extensions/ApplicationInsightsExtensions.cs#L335