This tool is used to generate dashboard jsons showing volumes performance used on Azure Stack portal.
- default json save to spedified location
.\Create-AzSStorageDashboard.ps1 -timeGrain "PT15M" -outputLocation '.'
- data of last week with 1 hour interval
.\Create-AzSStorageDashboard.ps1 -duration "P1D" -timeGrain "PT15M"
- date from 4/1 to 4/8 with 1hr interval
.\Create-AzSStorageDashboard.ps1 -startTime (Get-date("2019-04-01")) -endTime (Get-date("2019-04-08")) -timeGrain "PT1H"
- User can specify time range by duration or startTime & endTime.
- User can specify eight types of time granularity. Default type is ‘Automatic’, which adapted to time range.
- Generate multiple json files representing different volume types.
- Log in AzureRm account using Azure Stack Admin user.
- Execute Create-AzSStorageDashboard.ps1 with needed parameters.
- Upload json generated on dashboard.
Change ps1 file. Adapt function Initialize-TilePsCustomObject and Get-TilePsCustomObject, then register in initialized variable metricTypes.