locked
Azure storage URI to get the metric of Azure storage account for blob,table , file and queue seperately. RRS feed

  • Question

  • Hi,

    I would like to get AZURE storage account metrics as per storage subservices(Blob, Table, File and Queue) level . Can any one provide URI for this.

    I got one URI, which will get the storage account metrics not as an individual sub service level.

    /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}/providers/microsoft.insights/metrics?metric=Availability&api-version=2017-05-01-preview&aggregation=Average&interval=PT1H

    For example blob service related metrics are listed in below link:

    https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-supported-metrics#microsoftstoragestorageaccountsblobservices

    Thanks In Advance.

    Regards,

    Prasad Reddy.

    Monday, October 9, 2017 5:45 AM

Answers

  • For different services in storage account, you need to use different resource id to operate the metrics. For example, for blob service, the resource id is: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}/blobServices/default.

    You can find detailed description regarding resource id for each service in: https://docs.microsoft.com/en-us/azure/storage/common/storage-metrics-in-azure-monitor#understanding-resource-id-for-services-in-azure-storage

    • Proposed as answer by vikranth s Tuesday, October 10, 2017 8:19 PM
    • Marked as answer by PrasadReddy M Thursday, October 12, 2017 6:40 AM
    Monday, October 9, 2017 10:33 PM