Creating a custom resource metric rule to scale out Azure Virtual Machine Scaleset (VMSS) using custom Events other than using Application insight nor host-based metrics.
This document is intended to provide guidance on how to scale out an azure virtual machine scaleset based on a custom metric that is triggered by an event pushed from a virtual machine to log analytics workspace[Log analytics wsorkspace metircs].
The main guide is Here
This guide is performed using Azure Potral , An ARM template guide will follow
This guide is not for using the application insight metrics to trigger VMSS autoscale. it uses a custom metric/event for this.
If you are interested to use application insight to perform the same, please check the below 2 links: