Microsoft Azure Blob Storage Account API poller template
Assign this SAM API poller template to a node that represents an external REST API to begin monitoring Microsoft Azure Blob Storage Account performance and statistics counters for blob services, file services, and more.
See Configure Azure permissions for API pollers and Assign API poller templates to nodes for details.
Links and screenshots herein are attributed to © 2021 Microsoft Corp., available at docs.microsoft.com.
Prerequisites
-
Use the following parameters to specify the API endpoint in the request URL:
- ${SUBSCRIPTION_ID}
- ${USERGROUP_ID}
- ${STORAGE_ACCOUNT_ID}
Use the following example to help locate values in Azure:
-
Configure OAuth 2.0 Azure credentials with the following values:
- Scope:
https://management.azure.com/.default
- Access Token URL:
https://login.microsoftonline.com/{TENANTID}/oauth2/v2.0/token
Although "(optional)" appears next to the Scope field in the UI, this value is required for API pollers based on this template.
- Scope:
-
The Blob Storage Account has access control to the Application with at least the Reader role.
Notes
- Although "(optional)" appears next to Scope in the UI, a scope is required for API pollers based on this template.
- Default thresholds are not set for this template.
- Here is a request example:
https://management.azure.com/subscriptions/951c996c-859e-446a-8fc0-87b753c94dd0/resourceGroups/myResource/providers/Microsoft.Storage/storageAccounts/myresourcediag800/blobServices/default/providers/microsoft.insights/metrics?interval=PT1H&metricnames=BlobCapacity,BlobCount,ContainerCount&aggregation=Total,Average&api-version=2019-07-01
Available metrics
Storage Account - Used Capacity
The amount of data, in bytes, used by all the extents from the files that store the tenant data and associated metadata.
Unit: Bytes
Storage Account - Total Transactions
The number of requests made to a storage service or the specified API operation. This number includes successful and failed requests, as well as requests which produced errors.
Unit: Count
Storage Account - Ingress
The amount of ingress data, in MB. This number includes ingress from an external client into Azure Storage as well as ingress within Azure.
Unit: MB
Storage Account - Egress
The amount of egress data, in MB. This number includes egress from an external client into Azure Storage as well as egress within Azure. As a result, this number does not reflect billable egress.
Unit: MB
Storage Account - Success Server Latency
The average latency used by Azure Storage to process a successful request in milliseconds. This value does not include the network latency specified in AverageE2ELatency.
Unit: Milliseconds
Storage Account - Success E2E Latency
The average end-to-end latency of successful requests. This value includes the required processing time within Azure Storage to read the request, send the response, and receive acknowledgment of the response.
Unit: Milliseconds
Storage Account - Availability
The percentage of availability for the storage service. Availability is calculated by taking the TotalBillableRequests value and dividing it by the number of applicable requests, including those that produced unexpected errors. All unexpected errors result in reduced availability for the storage service or the specified API operation.
Unit: Percent
Blob Services - Blob Capacity
The amount of storage used by the storage account’s Blob service in MB.
Unit: MB
Blob Services - Blob Count
The number of Blob in the storage account’s Blob service.
Unit: Count
Blob Services - Blob Container Count
The number of containers in the storage account’s Blob service.
Unit: Count
File Services - File Capacity
The amount of storage used by the storage account’s File service in MB.
Unit: MB
File Services - File Count
The number of files in the storage account’s File service.
Unit: Count
File Services - File Share Count
The number of file shares in the storage account’s File service.
Unit: Count
Queue Services - Queue Capacity
The amount of storage used by the storage account’s Queue service in MB.
Unit: MB
Queue services - Queue Count
The number of queue(s) in the storage account’s Queue service.
Unit: Count
Queue services - Queue Message Count
The approximate number of queue messages in the storage account’s Queue service.
Unit: Count
Table Services - Table Capacity
The amount of storage used by the storage account’s Table service in MB.
Unit: MB
Table Services - Table Count
The amount of tables in the storage account’s Table service.
Unit: Count
Table Services - Table Entity Count
The amount of table entities in the storage account’s Table service.
Unit: Count