Hello @Yu-Jeong Seo
Following the Chart performance with VM insights - Azure Monitor | Microsoft Learn guide would certainly be easier. It charts everything for you, but you do have to pay for the Log Analytics storage. Even that's something you really want to avoid; I think getting by with Get-AzMetric
is certainly doable. To get 5-minute intervals, use PT5M for -TimeGrain
.