Azure Application Insight已停止向门户发送数据

Azure Application Insight已停止向门户发送数据,azure,visual-studio-2013,azure-cloud-services,azure-application-insights,Azure,Visual Studio 2013,Azure Cloud Services,Azure Application Insights,我们已经在云服务项目中使用Application Insight进行诊断 今天,我从VisualStudio将AppInsight遥测添加到项目中。 它在web配置和nuget包中添加了一些行。 但在部署之后,它停止了向VisualStudioPortal发送数据。没有遥测数据和诊断数据。 现在我回滚更改 如何将AppInsight遥测添加到out项目?在Visual Studio 2013开放式工具、扩展和更新中 选择左侧的Installed,查找ApplicationInsight Tool

我们已经在云服务项目中使用Application Insight进行诊断

今天,我从VisualStudio将AppInsight遥测添加到项目中。 它在web配置和nuget包中添加了一些行。 但在部署之后,它停止了向VisualStudioPortal发送数据。没有遥测数据和诊断数据。 现在我回滚更改


如何将AppInsight遥测添加到out项目?

在Visual Studio 2013开放式工具、扩展和更新中

选择左侧的
Installed
,查找
ApplicationInsight Tools for Visual Studio
,并检查其版本。如果是版本2,请卸载它。这一个将遥测数据发送到Azure,而不是VS Online(您上面提到的门户)

现在选择
Online
并搜索
ApplicationInsight Tools for Visual Studio
,您将看到1.3.2版本。安装它,重新启动Visual Studio并
将Application Insight Telemetry添加到项目中…
,它将向您显示它将使用的VS Online帐户以及将在其中捕获数据的Application Insight组件。运行应用程序,几分钟后数据将显示在VS在线门户中

您还可以在Visual Studio 2012中添加应用程序洞察力。但是,这是一个手动过程,包括以下步骤:

  • 在VS Online portal中创建Application Insight应用程序
  • 将Nuget包添加到VS中的项目
  • 最后,在
    Global.asax.cs