Azure / Azure/azure-rest-api-specs
[Question]Azure Storage Account Blob Service have no metric for BlobProvisionedSize
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
### API Spec link
https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-storage-storageaccounts-blobservices-metrics
### API Spec version
2023-10-01
### Question/Query
According to link:
https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-storage-storageaccounts-blobservices-metrics
There is a metric name: BlobProvisionedSize in REST API.
While I call this API:
Method: HTTP Get:
URL: https://management.azure.com/subscriptions/166157a8-9ce9-400b-91c7-1d42482b83d6/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/leiteststorage000/blobServices/default/providers/Microsoft.Insights/metrics?interval=PT1H&metricnames=BlobCount,BlobCapacity,BlobProvisionedSize&aggregation=average,minimum,maximum&orderby=average asc&api-version=2023-10-01&metricnamespace=Microsoft.Storage/storageAccounts/blobServices&AutoAdjustTimegrain=True&ValidateDimensions=False
Will throw error :
{
"code": "BadRequest",
"message": "Failed to find metric configuration for provider: Microsoft.Storage, resource Type: storageAccounts/blobServices, metric: BlobProvisionedSize, Valid metrics: BlobCapacity,BlobCount,ContainerCount,IndexCapacity,Transactions,Ingress,Egress,SuccessServerLatency,SuccessE2ELatency,Availability"
}
### Environment
Postman
Contributor guide
Research direction
Start with the linked Azure Monitor supported-metrics specification and compare it with the provided REST API request and error response. Determine whether BlobProvisionedSize is incorrectly documented or missing from the service, then update the relevant REST specification or document the required service correction and verify the metric list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100