Skip to content

wellsluo/AzureStack-VolumesPerformanceDashboard-Generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AzureStack-VolumesPerformanceDashboard-Generator

This tool is used to generate dashboard jsons showing volumes performance used on Azure Stack portal.

Example

  • 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"

Feature

  • 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.

Prerequisite

  • Log in AzureRm account using Azure Stack Admin user.

Usage

  1. Execute Create-AzSStorageDashboard.ps1 with needed parameters.
  2. Upload json generated on dashboard.

Add new metrics

Change ps1 file. Adapt function Initialize-TilePsCustomObject and Get-TilePsCustomObject, then register in initialized variable metricTypes.

About

A script to generate dashboard showing volumes performance of Azure Stack.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%