azure-docs
azure-docs copied to clipboard
Autoscale rule based on other resources metric source
Hi team,
In this page, autoscale rules can use metrics from four sources, however, it can be selected from other resource. I'd like to confirm autoscale rules based on other resources metric (ex: event hub/incoming messages) is supported or not? Thanks!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: ff807231-9aec-ae95-17bd-8ec5ddde6cef
- Version Independent ID: 84272b73-29b6-6690-1e42-c1237deebd1f
- Content: Overview of autoscale with Azure Virtual Machine Scale Sets - Azure Virtual Machine Scale Sets
- Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-overview.md
- Service: virtual-machine-scale-sets
- Sub-service: autoscale
- GitHub Login: @mimckitt
- Microsoft Alias: mimckitt
@samlin-msft Thanks for your feedback! We will investigate and update as appropriate.
@samlin-msft Yes, autoscale rules can be based on metrics from external resources, such event hubs or incoming messages. The guidelines for autoscale can be specified using custom metrics. The metric condition of the autoscale rule is defined by the metric Trigger element. The metric Name element contains the metric's name, while the metric Resource Uri element specifies the resource ID of the resource that emits the metric. The majority of the time, it is the same as the resource being scaled, but occasionally it can be different. For instance, you may scale a virtual machine scale set according on the quantity of messages in a storage queue.
reference document link below:
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-common-scale-patterns https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-overview
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.