azure - Application Insights - Autoscale 无法读取资源的监控数据

标签 azure azure-worker-roles azure-application-insights

我正在开发一个应用程序,并将 WorkerRole 与多个实例一起使用(自动缩放选项)。几天前,AI(应用程序洞察)开始发送有关监控数据不可用的电子邮件。

自“日期”UTC 以来,Autoscale 无法读取资源“应用程序”的监控数据。当自动缩放成功读取您的资源的监控数据时,将调整容量。

几个小时后,我收到有关“Autoscale 现在能够读取资源指标”的通知。 这种事情通常发生在凌晨 1 点到 3 点之间。

有什么想法导致这个问题吗?

最佳答案

我认为 Autoscale 不使用 Application Insights 数据。它使用 WAD 代理收集的标准指标。有an explanation这可能适用于您的情况:

As you know Autoscale requires monitoring data to be collected from your VM/role instances in order to scale. However, there can be times when there is not any monitoring data available. Two common causes of this are a problem inside the role instance that prevents it from writing out data (e.g. it is recycling), or, throttling or a network issue on the storage accounts that contain your monitoring data. If either of these happen then autoscale will (temporality) be unable to calculate how many instances you should have. As soon as the roles or storage accounts are healthy again, autoscale will automatically resume as it was before. There is not explicit action that you or support can take to bring autoscale back.

您可能需要检查存储帐户中角色和/或日志的运行状况。您也可以选择启用WAD 2 AI查看 AI 中的 WAD 数据,以诊断为什么指标在夜间可能不可用

关于azure - Application Insights - Autoscale 无法读取资源的监控数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35766954/

相关文章:

c# - 系统聚合异常 : Azure can't deploy website

azure - 我可以发布 Azure 辅助角色...但它不会自动启动吗?

azure - 是否可以获取 Azure 工作角色跟踪的实时流?

node.js - botbuilder-applicationinsights - 启用用户话语日志记录

azure - 永久数据存储 Azure VM

azure - SQL Azure 兼容性级别会影响性能吗?

node.js - 如何使用从 OIDCStrategy 检索到的 accessToken 来遍历 Azure Graph API?

azure - 如何将文件夹上传到 Blob 存储?

.net - 部署到 Azure 应用服务时缺少 Application Insights DLL

azure - 如何使用 App Insights 关联前端和后端?