locked
ARM Storage account Metrics and Usage not available RRS feed

  • Question

  • I have a storage account (ARM) on my Azure subscription with around 0.5TB of data (block blobs). Diagnostics are enabled but if I go to the Metrics or Usage blades, they show "no available data".

    I think I've done everything that's expected from the Azure documentation - so can't see why this is wrong. Please can someone advise me?


    Mark Wilson - http://www.markwilson.co.uk/blog/


    • Edited by mark-wilson Monday, September 5, 2016 3:12 PM Removed MVP signature (I'm not an MVP)
    Monday, September 5, 2016 3:11 PM

Answers

  • After some investigation, the portal team has determined that the problem here is that the subscription ID is not registered with Azure Insights.

    To register the subscription, you'll need to install and configure Azure PowerShell, then register the subscription using PowerShell.

    Run these commands to register the subscription:

    Add-AzureRmAccount
    Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Insights

    The portal team is working on improving this experience for future releases.


    • Marked as answer by mark-wilson Tuesday, September 20, 2016 9:33 PM
    Tuesday, September 20, 2016 9:25 PM

All replies

  • Hi,

    Thank you for posting here!

    For clarification, have you created General-purpose storage account or blob storage account?

    If you have created blob storage account. To monitor the storage consumption for the Blob storage service, you will need to enable the capacity metrics. With this enabled, capacity data is recorded daily for a storage account’s Blob service, and recorded as a table entry that is written to the $MetricsCapacityBlob table within the same storage account.

    Reference: https://azure.microsoft.com/en-in/documentation/articles/storage-blob-storage-tiers/#evaluating-and-migrating-to-blob-storage-accounts

    Storage accounts with a replication type of Zone-Redundant Storage (ZRS) do not have the metrics or logging capability enabled at this time

    If it doesn’t help, kindly let us know, we are happy to assist you more.

    Regards,

    Vikranth S.

     

    Kindly click "Mark as Answer" on the post that helps you, this can be beneficial to other community members reading the thread. And Vote as Helpful.



    • Edited by vikranth s Wednesday, September 7, 2016 1:31 PM
    Tuesday, September 6, 2016 1:14 PM
  • Hi Vikranth - and thanks for taking the time to post a reply.  I just checked the properties on the Storage Account and it is Standard_LRS BlobStorage. On that basis, I went to follow your instructions and enable capacity metrics but the portal just hangs on loading the resource list and says "alert rule is not available for this resource type".

    Do you have any other ideas please?


    Mark Wilson - http://www.markwilson.co.uk/blog/ @markwilsonit

    Tuesday, September 6, 2016 10:35 PM
  • I've tried 3 browsers (IE11, Edge and Chrome) on 2 PCs, just to be sure! Same behaviour on all 3 occasions :-(

    Mark Wilson - http://www.markwilson.co.uk/blog/ @markwilsonit

    Tuesday, September 6, 2016 11:00 PM
  • Hello Mark-wilson,

    We have involved back-end team to look into this. We would write back on any update from them.

     

    Regards,

    Vikranth S.

    Wednesday, September 7, 2016 1:38 PM
  • Hi Mark, You should not need to enable capacity metrics for Standard_LRS BlobStorage. They should be turned on by default. Based on what I gathered from the Screenshot that you provided above, it seemed that you were enabling alerts which is not necessary to gather capacity data. Capacity data is recorded daily for a storage account’s Blob service and thus the data may not have been recorded at the time that you checked. Please let us know if you are still having issues.

    Thanks

    Saturday, September 10, 2016 4:25 AM
  • Hi Aung - I was only trying to enable capacity metrics based on Vikranth's advice above. The storage account still does not show metrics or usage - and says no available data - as in screenshots at the top of this thread.  It never has shown any metrics, despite them having been turned on for weeks and me performing a nightly backup into this storage account.

    Please can you help to resolve the issue?


    Mark Wilson - http://www.markwilson.co.uk/blog/ @markwilsonit

    Saturday, September 10, 2016 1:04 PM
  • Hey Mark -

    Can you check the metrics tables to ensure that the metrics are being captured?

    You can use a tool like Azure Storage Explorer to see the metrics tables easily. If you connect to your storage account from the tool and look under Tables, you'll see the capacity metrics table and the hourly and minute transactions tables.



    Wednesday, September 14, 2016 12:26 AM
  • Hey Tamra - thanks for responding here.  I've checked the contents of the storage account using Storage Explorer and can definitely see the metrics there - it's just the portal that denies their existence!


    Mark Wilson - http://www.markwilson.co.uk/blog/ @markwilsonit

    Wednesday, September 14, 2016 8:35 AM
  • Hey Mark -

    I tried this myself with an ARM storage account. I am seeing the metrics data, but no usage data. However, since I tried it yesterday, it's possible the usage data hasn't been recorded yet.

    Let me investigate this further and get back to you.



    Wednesday, September 14, 2016 7:14 PM
  • Hey Mark -

    Can you click the "Report a Bug" button at the top of the portal, and describe your problem in detail? 

    Please cc me on the bug email as well - tamra.myers at microsoft.com.

    Thanks,

    Tamra

    Thursday, September 15, 2016 6:06 AM
  • Hey Tamra  - thanks for your assistance - just seen your reply at midnight here; will file a bug report in the morning! Cheers, Mark


    Mark Wilson - http://www.markwilson.co.uk/blog/ @markwilsonit

    Thursday, September 15, 2016 11:03 PM
  • After some investigation, the portal team has determined that the problem here is that the subscription ID is not registered with Azure Insights.

    To register the subscription, you'll need to install and configure Azure PowerShell, then register the subscription using PowerShell.

    Run these commands to register the subscription:

    Add-AzureRmAccount
    Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Insights

    The portal team is working on improving this experience for future releases.


    • Marked as answer by mark-wilson Tuesday, September 20, 2016 9:33 PM
    Tuesday, September 20, 2016 9:25 PM
  • Thanks Tamra (and portal team) for your assistance with this. I can confirm that registering the subscription with Azure Insights fixed the issue for me and I can now see metrics and usage in the portal.


    Mark Wilson - http://www.markwilson.co.uk/blog/ @markwilsonit

    Tuesday, September 20, 2016 9:33 PM