![Azure Scale-set 如何监视内存利用率](https://linux22.com/image/737070/Azure%20Scale-set%20%E5%A6%82%E4%BD%95%E7%9B%91%E8%A7%86%E5%86%85%E5%AD%98%E5%88%A9%E7%94%A8%E7%8E%87.png)
如何监控 Azure Scale-set 的内存利用率默认指标只有 CPU 磁盘和网络。为什么 Azure 默认不提供内存利用率
答案1
为了为虚拟机规模集启用自定义指标(包括内存利用率),您需要修改 ARM 模板。
文档:
- https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-custom-metrics-guestos-resource-manager-vmss
- https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq#is-there-a-virtual-machine-scale-set-template-example-that-integrates-with-azure-monitor-logs