-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
DocumentationMonitor-cligood first issueSimple fixes for which the team would welcome a PR.Simple fixes for which the team would welcome a PR.
Milestone
Description
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.
- ID: 25999d81-221d-052e-03b8-601585f71e3a
- Version Independent ID: ee988a97-bcf4-0ea2-9ab7-cd6af5e98237
- Content: az monitor autoscale rule
- Content Source: src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/_help.py
- Service: monitoring-and-diagnostics
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DocumentationMonitor-cligood first issueSimple fixes for which the team would welcome a PR.Simple fixes for which the team would welcome a PR.