Azure / Azure/azure-powershell

Is there a Powershell Command that will collect data by filtering disk metrics by "LUN" on Azure Performance Metrics?

Open
#20,195 2 comments 0 reactions 0 assignees View on GitHub
act-observability-squad customer-reported feature-request Monitor - Metrics Tracking
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description

Is it possible to collect the performance metric data of VM with attached disk (LUN) using Powershell command?

As of now, I am just checking the Azure Portal to get the information. I am thinking if it can also be collected by using Get-AzMetric Powershell command.

![image](https://user-images.githubusercontent.com/108807464/203233447-c20681a1-c28d-4b61-b65d-c52b377ee1df.png)

### Script or Debug output

_No response_

### Environment data

_No response_

### Module versions

_No response_

### Error output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the Get-AzMetric documentation and the Azure Portal metric's available dimensions for attached disks and LUN. Confirm whether the requested filter is supported, then document the exact command or limitation and a reproducible example; the issue is done when a user can collect the same LUN-scoped data without relying on the portal.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, observability-sre
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.