Skip to content

Commit a501f01

Browse files
GeorgeH-MSbganapa
authored andcommitted
Create README.md
1 parent a70c0bb commit a501f01

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

  • CapacityManagement/DashboardGenerator
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# AzureStack-VolumesPerformanceDashboard-Generator
2+
This tool is used to generate dashboard jsons showing volumes performance used on Azure Stack Hub Admin portal.
3+
4+
<img src="document/demo.png" />
5+
6+
### Example
7+
- default json save to spedified location
8+
`.\Create-AzSStorageDashboard.ps1 -timeGrain "PT15M" -outputLocation '.' `
9+
- data of last week with 1 hour interval
10+
`.\Create-AzSStorageDashboard.ps1 -duration "P7D" -timeGrain "PT1H"`
11+
- date from 4/1 to 4/8 with 1hr interval
12+
`.\Create-AzSStorageDashboard.ps1 -startTime (Get-date("2019-04-01")) -endTime (Get-date("2019-04-08")) -timeGrain "PT1H"`
13+
- Tip: The latest AzureStack (version 2005) has a dashboard level time range selector at the top left corner of dashboard. So you do not need to specify time interval here.
14+
15+
### Feature
16+
- User can specify time range by duration or startTime & endTime.
17+
- User can specify eight types of time granularity. Default type is ‘Automatic’, which adapted to time range.
18+
- Generate multiple json files representing different volume types.
19+
20+
### Prerequisite
21+
- Login to the Azure Stack Hub Admin ARM Endpoint using either AzureRM or Az module.
22+
23+
### Usage
24+
1. Execute Create-AzSStorageDashboard.ps1 with needed parameters.
25+
2. Upload json generated on Admin Portal dashboard, this has to be done on a per user basis.
26+
27+
### Add new metrics
28+
Change ps1 file. Adapt function Initialize-TilePsCustomObject and Get-TilePsCustomObject, then register in initialized variable metricTypes.

0 commit comments

Comments
 (0)