'How can i get Azure metrics using the az command in Powershell?
How can i get the Azure metrics , failed requests , app performance, CPU usage and Memory usage ?
There is the az monitor metrics list --resource [--aggregation {Average, Count, Maximum, Minimum, None, Total}] [--dimension] [--end-time] [--filter] [--interval] [--metadata] [--metrics] [--namespace] [--offset] [--orderby] [--resource-group] [--resource-namespace] [--resource-parent] [--resource-type] [--start-t
I have tried to use t as follows
az monitor metrics list --resource "AppServiceName"
but get and error:
az : usage error: --resource ID | --resource NAME --resource-group NAME --resource-type
TYPE [--resource-parent PARENT] [--resource-namespace NAMESPACE]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
