如何在 Azure 监视器中为 VM 洞察指标添加警报?

How to add alert in Azure monitor for VM insight metrics?

我为少数 VM 启用了 VM 洞察。如何在 Azure 监视器中为这些指标创建警报?

How can I create alerts for those metrics in Azure monitor?

您无法为 VM 见解提供的指标创建警报。 VM insight preview provides an in-depth view of VM health, performance trends, and dependencies. You can create these metrics 虚拟机警报。

此外,标准或平台指标是有限的,您可以尝试 custom metrics 通过各种方法在您的 Azure VM 上收集一些自定义性能指标或特定于业务的指标,以提供更深入的见解。发布到 Azure Monitor 后,您可以同时提醒 Azure 资源的自定义指标和 Azure 发出的标准指标。

参考:Send guest OS metrics to the Azure Monitor metric store using a Resource Manager template for a Windows Virtual Machine