Azure Storage Account Size Alert – How to Create

azurestorage

For example, if I wanted to get an alert or an email when my File Storage reaches 100GB. Is there a way to do this?

Best Answer

I was able to find an answer using Google search azure storage account alerts, giving me these Microsoft's documentations (2 out of 4 first results):

According Monitor a storage account in the Azure portal we can

  1. add monitoring (charts) of several metrics from
    Azure portal > Storage accounts > Diagnostics > Monitoring.
  2. configure metrics alerts for any metric with an alert condition and a threshold from

    • Monitoring (classic) > Alerts (classic) > Add metric alert (classic) or
    • Monitoring > Alerts > New alert rule.

According to Azure Storage metrics in Azure Monitor there are metrics for:

  • BlobCapacity: The total of Blob storage used in the storage account.
  • TableCapacity: The amount of Table storage used by the storage account.
  • QueueCapacity: The amount of Queue storage used by the storage account.
  • FileCapacity: The amount of File storage used by the storage account.

The unit for each is bytes: for 100 GB the value would be 107374182400.

Related Topic