我正在使用ASP.NET核心网络应用程序接口,这是托管在IIS服务器(在prem)。已配置为使用Application Insight将日志发送到Azure。在我的机器上工作得很好,在IIS服务器上也工作了一段时间。但它现在停止工作了,无法弄清楚发生了什么。感谢任何帮助,因为我正准备将此应用程序移动到prod。看起来不像是防火墙问题,因为它工作正常。
谢谢
我检查了所有的日志但没有在日志中找到任何东西。它在一段时间内是有效的。
以下是ConfigureServices()中的代码...
// configure appication insight telemetry
services.AddHttpContextAccessor();
var appInsightConnectionString = Configuration.GetSection("ApplicationInsights");
string instrumentationKey = appInsightConnectionString.GetValue("InstrumentationKey");
services.AddSingleton();
services.AddApplicationInsightsTelemetry(instrumentationKey);没有日志发送到Azure App Insight
发布于 2019-07-09 05:47:24
下面是您可能停止查看数据的可能原因。请看一下。
Additional Documentation Reference。
希望这能有所帮助。
https://stackoverflow.com/questions/56892912
复制相似问题