azure-application-insights - Application Insights - 仅获取客户端数据,不获取服务器数据。

标签 azure-application-insights

我有一个托管在 Windows Server 2008 上的 ASP.Net MVC 4 应用程序。我使用的是 Microsoft Application Insights,它非常适用于客户端指标,例如客户端处理时间、自定义事件、用户、 session 、页面 View 等。但是,我无法获得任何服务器端指标,例如处理器时间或可用内存。这些区域都被横幅覆盖,上面写着“了解如何收集服务器请求数据”的意思。当我单击横幅时,它会显示一个带有说明的 Blade ,我已经完成了所有这些(快速启动)。

除了通过 VS 2013 (0.12.0-build17386) 安装 Application Insights SDK 之外,我还在服务器上安装和配置了 Application Insights 状态监视器。我已经重新启动了 IIS,甚至重新启动了服务器。尽管如此,我还是无法获得任何服务器指标。我已阅读故障排除指南,并检查了其中提到的所有内容,例如确保应用程序池标识是“性能监视器用户”组的一部分。

我觉得好像我必须对 ApplicationInsights.config 文件做一些事情才能打开和/或定义我想要的服务器指标,但我根本找不到任何文档。

任何帮助或建议将不胜感激。谢谢!

最佳答案

不,您不应该对 ApplicationInsights.config 做任何额外的事情。性能计数器是默认监控包的一部分,几乎所有问题都与该用户相关,而不是“性能监控用户”组的一部分,但这不是你的情况。

为确保配置正确,您可以检查 ApplicationInsights.config 中是否定义了以下模块:

<Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCollector.PerformanceCollectorModule, Microsoft.ApplicationInsights.Extensibility.PerfCollector"/>

此外,您是否在应用程序洞察资源概览 Blade 的诊断搜索中看到 StatusMonitor 中的任何通知和/或跟踪/异常?

关于azure-application-insights - Application Insights - 仅获取客户端数据,不获取服务器数据。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28401584/

相关文章:

Azure Log Analytics - 查询 Application Insight 自定义指标

azure - Application Insights 可用性测试失败,返回 200 OK,错误代码为 "System.UriFormatException: Invalid URI: The format of the URI could not be determined."

Azure Kusto - 在跟踪中的消息字段上使用 extract()

azure - 数百个 Application Insights 快照调试日志文件 - 我们没有故意打开它们

azure - 了解 Azure ADX、日志分析和 Application Insights : Use Cases, 数据保留和优势

c# - 我在 Application Insights 中看不到我的轨迹跟踪消息

azure - 应用程序见解 - 根据 customMeasurements 创建饼图

c# - Azure Application Insights 跟踪未显示

azure - 通过多个Azure Application Insights查询日志

azure - 应用程序洞察向下 - 对应用程序的影响