工作者角色的Azure应用程序洞察

时间:2016-02-15 12:37:54

标签: azure azure-worker-roles azure-cloud-services azure-application-insights

我正在为辅助角色设置Application Insights,文档说明:

  

为Web NuGet包添加Application Insights。此版本的SDK包含添加服务器上下文的模块,例如角色信息。对于辅助角色,请使用Application Insights for Windows Services。

我找不到Nuget软件包的Windows服务版本。
有人知道它的名称(如果存在)吗?

2 个答案:

答案 0 :(得分:3)

您不需要网络。您需要Windows 服务器(不是服务)。 Nuget包在这里:https://www.nuget.org/packages/Microsoft.ApplicationInsights.WindowsServer/

答案 1 :(得分:0)

你需要这些nuget包:

Microsoft.ApplicationInsights

  Microsoft.ApplicationInsights.Agent.Intercept
  Microsoft.ApplicationInsights.DependencyCollector
  Microsoft.ApplicationInsights.PerfCounterCollector
  Microsoft.ApplicationInsights.TraceListener
  Microsoft.ApplicationInsights.Web
  Microsoft.ApplicationInsights.Web.TelemetryChannel

在这里https://github.com/Microsoft/ApplicationInsights-Home/tree/master/Samples/AzureEmailService/WorkerRoleB,您可以找到使用文档设置的项目示例。

请务必阅读章节:报告依赖性

相关问题