Microsoft Azure API Rate Limits
Azure Resource Manager enforces rate limits on API requests to prevent overconsumption and ensure fair usage across tenants and subscriptions. When the limit is exceeded, Azure returns HTTP status code 429 (Too Many Requests). Monitor these limits to understand your API consumption patterns and avoid throttling.
For more information, see Azure Resource Manager throttling.
Prerequisites
- Integration with Microsoft Azure, as detailed in Azure Metrics.
- Integration version 1.8.0 or later.
Collected data
Three metrics are collected, one per rate limit scope. Each metric has a data point for read and write operations.
| Metric | Source headers | Description |
|---|---|---|
azure_management_api_remaining_requests_subscription | x-ms-ratelimit-remaining-subscription-reads / x-ms-ratelimit-remaining-subscription-writes | Remaining requests at the subscription scope |
azure_management_api_remaining_requests_global | x-ms-ratelimit-remaining-subscription-global-reads / x-ms-ratelimit-remaining-subscription-global-writes | Remaining requests at the global subscription scope (aggregate across all service principals) |
azure_management_api_remaining_requests_tenant | x-ms-ratelimit-remaining-tenant-reads / x-ms-ratelimit-remaining-tenant-writes | Remaining requests at the tenant scope |
For details on scopes, default limits, and the token bucket algorithm, see Azure Resource Manager request limits and throttling.
Labels
| Label | Description |
|---|---|
cloud.provider | Always azure |
cloud.account.id | The Azure subscription ID |
operation | read or write |
subscription.name | The subscription display name (only when EnableSubscriptionLabel is enabled). Subscription and global metrics only. |
tenant_id | The Azure tenant ID. Tenant metrics only. |
Rate limit scopes
Azure tracks API rate limits at three levels:
| Scope | Description |
|---|---|
| Subscription | Per security principal, per subscription |
| Global | Aggregate across all service principals for a subscription |
| Tenant | Per security principal, per tenant |
Additional resources
| Documentation | Azure Metrics |
| Azure docs | Azure Resource Manager request limits |
Support
Need help?
Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.
Feel free to reach out to us via our in-app chat or by sending us an email to support@coralogix.com.