CmdID / az / az monitor / az monitor app-insights / az monitor app-insights metrics
az monitor app-insights metrics show
View the value of a single metric. Azure CLI extensions reference
9 options Its page in the Azure CLI extensions reference
Options
--aggregationThe aggregation to use when computing the metric values.--filterAn expression used to filter the results.--intervalThe interval over which to aggregate metrics, in ##h##m format.--metrics, -mThe metric to retrieve.--offsetTime offset of the query range, in ##d##h format.--orderbyThe aggregation function and direction to sort the segments by.--segmentThe name of the dimension to segment the metric values by.--start-time, --end-time--topThe number of segments to return.