FinOpsVMMetrics
0.1.7
Reads Azure VM utilisation from Azure Monitor platform metrics (no guest agent) and exports VMPerformance-compatible monthly rows (CPU percentiles + memory) for FinOps rightsizing.
Minimum PowerShell version
7.2
Installation Options
Owners
Copyright
(c) Well Architected. All rights reserved.
Package Details
Author(s)
- FinCops / AIforFinOpsNavigator
Tags
Azure FinOps Rightsizing Metrics AzureMonitor VM
Functions
Invoke-VMMetricsCollection Get-AzVMUtilization Export-VMPerformanceData Publish-VMPerformanceData
Dependencies
This module has no dependencies.
Release Notes
v0.1.7: -ResourceIdFile list mode -- drive collection from a curated VM resource-id list (e.g. cost-data KQL select-vms-from-cost.kql, which scopes by billed run-hours + cost); subscriptions derived from the IDs. v0.1.6: exclude managed/ephemeral compute (VMSS, Spot, Databricks/AKS RGs, tag/name/age rules) via cheap Resource Graph signals before pulling metrics; report excluded-by-reason. v0.1.5: parallel collection (-ThrottleLimit, default 12) + single multi-metric call per chunk = much faster on large fleets; live progress. v0.1.4: add resourceId (lowercased, unique key) + skuName columns so multi-subscription output is unambiguous. v0.1.3: progress bar (per subscription + per VM). v0.1.2: drop hard Az RequiredModules pins (fixes import failure in Azure Cloud Shell). v0.1.1: multi-subscription sweep into one CSV; SAS-token upload for cross-tenant Cloud Shell. v0.1.0: initial platform-metric collection.
FileList
- FinOpsVMMetrics.nuspec
- CHANGELOG.md
- FinOpsVMMetrics.psd1
- FinOpsVMMetrics.psm1
- Private\ConvertTo-VMPerformanceRow.ps1
- Private\Get-VMInventory.ps1
- Private\Get-VMMetricSeries.ps1
- Private\Get-VMMetricsBlobName.ps1
- Private\Measure-Percentile.ps1
- Private\New-VMMetricsStorageContext.ps1
- Private\Read-ResourceIdList.ps1
- Private\Resolve-VMSkuRam.ps1
- Private\Test-VMExcluded.ps1
- Private\Write-MetricOutput.ps1
- Public\Export-VMPerformanceData.ps1
- Public\Get-AzVMUtilization.ps1
- Public\Invoke-VMMetricsCollection.ps1
- Public\Publish-VMPerformanceData.ps1
- README.md
- scripts\Collect-VMMetrics.ps1
- scripts\select-vms-from-cost.kql
- tests\FinOpsVMMetrics.Tests.ps1