Skip to content

Latest commit

 

History

History
194 lines (159 loc) · 10.4 KB

monitor-blob-storage-reference.md

File metadata and controls

194 lines (159 loc) · 10.4 KB
titledescriptionms.datems.customms.topicauthorms.authorms.service
Monitoring data reference for Azure Blob Storage
This article contains important reference material you need when you monitor Azure Blob Storage.
02/27/2025
horz-monitor
reference
normesta
normesta
azure-blob-storage

Azure Blob Storage monitoring data reference

[!INCLUDE horz-monitor-ref-intro]

See Monitor Azure Blob Storage for details on the data you can collect for Azure Blob Storage and how to use it.

[!INCLUDE horz-monitor-ref-metrics-intro]

Supported metrics for Microsoft.Storage/storageAccounts

The following table lists the metrics available for the Microsoft.Storage/storageAccounts resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE Microsoft.Storage/storageAccounts]

Category: Object replication

MetricName in REST APIUnitAggregationDimensionsTime GrainsDS Export
Pending Bytes for Replication (preview)

The size in bytes of the blob object pending for replication.
PendingBytesForReplicationBytesAverage
Minimum, Maximum
TimeBucket, AccountName, and PolicyIdPT2MNo
Pending Operations for Replication (preview)

The count of pending operations for replication.
PendingOperationsForReplicationCountAverage
Minimum, Maximum
TimeBucket, AccountName, and PolicyIdPT2MNo

Supported metrics for Microsoft.Storage/storageAccounts/blobServices

The following table lists the metrics available for the Microsoft.Storage/storageAccounts/blobServices resource type. [!INCLUDE horz-monitor-ref-metrics-tableheader] [!INCLUDE Microsoft.Storage/storageAccounts/blobServices]

Note

The Blob Capacity and Blob Count metric are emitted hourly. A background process computes these metrics and updates them multiple times a day.

[!INCLUDE horz-monitor-ref-metrics-dimensions-intro]

[!INCLUDE horz-monitor-ref-metrics-dimensions]

Dimensions available to all storage services

[!INCLUDE Metrics dimensions]

Dimensions specific to Blob storage

Dimension NameDescription
BlobTypeThe type of blob for Blob metrics only. The supported values are BlockBlob, PageBlob, and Azure Data Lake Storage. Append blobs are included in BlockBlob.
TierAzure storage offers different access tiers, which allow you to store blob object data in the most cost-effective manner. See more in Azure Storage blob tier. The supported values include:

Hot: Hot tier
Cool: Cool tier
Cold: Cold tier
Archive: Archive tier
Premium: Premium tier for block blob
P4/P6/P10/P15/P20/P30/P40/P50/P60: Tier types for premium page blob
Standard: Tier type for standard page Blob
Untiered: Tier type for general purpose v1 storage account

For the metrics supporting dimensions, you need to specify the dimension value to see the corresponding metrics values. For example, if you look at Transactions value for successful responses, you need to filter the ResponseType dimension with Success. If you look at BlobCount value for Block Blob, you need to filter the BlobType dimension with BlockBlob.

[!INCLUDE horz-monitor-ref-resource-logs]

Supported resource logs for Microsoft.Storage/storageAccounts/blobServices

[!INCLUDE Microsoft.Storage/storageAccounts/blobServices]

[!INCLUDE horz-monitor-ref-logs-tables]

The following sections describe the properties for Azure Storage resource logs when they're collected in Azure Monitor Logs or Azure Storage. The properties describe the operation, the service, and the type of authorization that was used to perform the operation.

Note

The field names listed in each section below are valid when resource logs are sent to Azure storage or to an event hub. When the logs are sent to a Log Analytics workspace, the field names might be different.

Fields that describe the operation

{ "time": "2019-02-28T19:10:21.2123117Z", "resourceId": "/subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourceGroups/mytestrp/providers/Microsoft.Storage/storageAccounts/testaccount1/blobServices/default", "category": "StorageWrite", "operationName": "PutBlob", "operationVersion": "2017-04-17", "schemaVersion": "1.0", "statusCode": 201, "statusText": "Success", "durationMs": 5, "callerIpAddress": "192.168.0.1:11111", "correlationId": "aaaa0000-bb11-2222-33cc-444444dddddd", "location": "uswestcentral", "uri": "http://mystorageaccount.blob.core.windows.net/cont1/blobname?timeout=10" }

[!INCLUDE Account level capacity metrics]

Fields that describe how the operation was authenticated

{ "identity": { "authorization": [ { "action": "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read", "denyAssignmentId": "aaaa0000-bb11-2222-33cc-444444dddddd", "principals": [ { "id": "aaaaaaaa-bbbb-cccc-1111-222222222222", "type": "User" } ], "reason": "Policy", "result": "Granted", "roleAssignmentId": "00aa00aa-bb11-cc22-dd33-44ee44ee44ee", "roleDefinitionId": "11bb11bb-cc22-dd33-ee44-55ff55ff55ff", "type": "RBAC" } ], "properties": { "metricResponseType": "Success", "objectKey": "/samplestorageaccount/samplecontainer/sampleblob.png" }, "requester": { "appId": "00001111-aaaa-2222-bbbb-3333cccc4444", "audience": "https://storage.azure.com/", "objectId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb", "tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee", "tokenIssuer": "https://sts.windows.net/2c2c2c2c-3333-dddd-4444-5e5e5e5e5e5e", "uniqueName": "someone@example.com" }, "delegatedResource": { "tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee", "resourceId": "a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1", "objectId": "a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1" }, "type": "OAuth" }, } 

[!INCLUDE Account level capacity metrics]

Fields that describe the service

{ "properties": { "accountName": "contoso", "requestUrl": "https://contoso.blob.core.windows.net:443/upload?restype=container&comp=list&prefix=&delimiter=/&marker=&maxresults=30&include=metadata&_=1551405598426", "userAgentHeader": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134", "referrerHeader": "blob:https://portal.azure.com/00001111-aaaa-2222-bbbb-3333cccc4444", "clientRequestId": "", "etag": "", "serverLatencyMs": 63, "serviceType": "blob", "operationCount": 0, "requestHeaderSize": 2658, "requestBodySize": 0, "responseHeaderSize": 295, "responseBodySize": 2018, "contentLengthHeader": 0, "requestMd5": "", "serverMd5": "", "lastModifiedTime": "", "conditionsUsed": "", "smbTreeConnectID" : "0x3", "smbPersistentHandleID" : "0x6003f", "smbVolatileHandleID" : "0xFFFFFFFF00000065", "smbMessageID" : "0x3b165", "smbCreditsConsumed" : "0x3", "smbCommandDetail" : "0x2000 bytes at offset 0xf2000", "smbFileId" : " 0x9223442405598953", "smbSessionID" : "0x8530280128000049", "smbCommandMajor" : "0x6", "smbCommandMinor" : "DirectoryCloseAndDelete", "downloadRange" : "bytes=4-4194307", "accessTier": "None", "sourceAccessTier": "Hot", "rehydratePriority":"High" } }

[!INCLUDE Account level capacity metrics]

[!INCLUDE horz-monitor-ref-activity-log]

Related content

close