Skip to content

Monitor autoscale examples #7779

@visokoo

Description

@visokoo

I hope this helps someone else since it can't be found on their official docs at all.

If you want to create a rule to autoscale via a guest vm metric enabled from diagnostic extensions, you have to use the counterSpecifier field from az vmss diagnostics get-default-config

Eg: az monitor autoscale rule create -g {rg} --autoscale-name test --condition "/builtin/memory/percentavailablememory > 80 total 5m" --scale out 1

@msft, it would be really helpful to update this doc to reflect an example of that.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions