这可能是由于应用程序没有正确配置 Application Insights 导致的。我们可以检查以下代码是否在 Startup.ConfigureServices() 方法中:
services.AddApplicationInsightsTelemetry(Configuration);
如果没有,请添加这行代码并确保引用正确的配置文件。如果问题仍然存在,则请尝试升级应用程序中使用的 Application Insights 包。
上一篇:AzureApplicationAPI中的跨域资源共享错误:PreflightInvalidstatus
下一篇:AzureApplicationInsights的“Failures”未报告异常