azureazure-storageazure-file-share

How to monitor IOPS and throughput in a Azure per File Share for Standard Disk


We have a Azure Storage Account that contains several File Share with Standard Disk. Now we like to Monitor the IOPS and throughput of different Disks. We like to see that we e.g. reach 82% of the possible IOPS.

What I found so fare is, I can Monitor Throttling error: How to monitor IOPS for an Azure Storage Account

The closed that fit my question is https://learn.microsoft.com/en-us/azure/storage/files/analyze-files-metrics?tabs=azure-portal#monitor-utilization But still, with this, I can not see the IOPS at one glance.

Does somebody has a nice solution?


Solution

  • You can refer this MS-Document

    Unfortunately, there isn't a direct built-in metric in Azure Monitor that shows the percentage utilization of IOPS at a glance.

    To monitor the IOPS and throughput of Azure File Shares in a Storage Account and determine if you are nearing a threshold (e.g., 82% utilization), you can use Azure Monitor Metrics to track performance metrics effectively.

    Azure Monitor provides metrics like Transactions by Max IOPS and Ingress/Egress that allow you to monitor IOPS and throughput.

    Portal:

    enter image description here

    To calculate the utilization percentage using the maximum supported IOPS for the tier of your file share (Standard HDD, Standard SSD, Premium SSD) you can refer above document.

    Formula:

    Utilization Percentage = (Max IOPS (Metric)  x 100
                             ------------------
                             Max Supported IOPS (Tier)) 
    

    If the Transactions by Max IOPS metric shows 81,920 IOPS for a Premium SSD file share with 8 TiB provisioned (102,400 IOPS max):

    Utilization Percentage =  81920 
                             -------- x 100 = 80%
                              102400
    

    For Premium file shares, the maximum throughput could vary depending on your provisioned capacity. You can calculate utilization as:

    Utilization Percentage = Total throughput x 100
                             ----------------
                             Max Supported bandwidth 
    

    In the same portal, you can create alert rule to monitor if you're reaching the desired IOPS utilization threshold.

    Reference: Analyze Azure Files metrics with Azure Monitor | Microsoft Learn