Azure Service Quota monitoring
Azure enforces preconfigured resource limits on your subscription to ensure optimal performance and stability. To prevent unexpected provisioning failures, it's essential to account for these limits when designing and scaling your Azure environment. Proactively monitoring and planning for these constraints will help you maintain seamless operations and support future growth.
Site24x7's Azure Service Quota monitoring enables you to track quota usage proactively, set threshold-based alerts, and avoid unexpected service restrictions. By monitoring quotas across storage, compute, networking, and other key resource categories, you can ensure smooth cloud operations and timely capacity planning.
Use case
A CloudOps team needs to deploy additional virtual machines (VMs) to handle increased workload demand. However, an attempt to spin up new instances fails due to reaching the regional vCPU quota limit.
How Site24x7 helps:
-
Site24x7's Azure Service Quota monitoring notifies the team when the vCPU utilization exceeds 80% of the allocated limit. This threshold can be flexibly configured based on the operation demands.
-
The team receives a trouble alert via email and mobile notification, prompting a review of available quotas.
-
Using Site24x7's Service Quotas dashboard, they identify that the vCPU quota needs to be increased and submit a quota request to Azure before deployment.
Thus, the CloudOps team optimized their vCPU for better resource allocation, and their auto-scaling stays unaffected since Site24x7's service quota monitoring takes care of the quota utilization and ensures smooth cloud operations.
This proactive approach prevents last-minute failures, ensuring uninterrupted service availability.
Prerequisites
-
Azure subscription access: Ensure your subscription includes the Reader role.
-
Enable Azure Resource Manager (ARM): Ensure that the ARM API is enabled for the Site24x7 application created in Azure for quota and usage data collection.
-
Enable the Microsoft quota resource provider: Navigate to Subscriptions > select your Subscription > select Resource providers from the left pane > click Register.
Site24x7 uses Azure Quota Service APIs to retrieve limit and usage metrics, correlating them for monitoring.
Setting up Azure Service Quota monitoring
If you haven't added an Azure monitor yet, follow these steps to add one.
-
Navigate to Cloud > Azure > select the Azure monitor > select Service Quotas from the left menu.
-
Enable service quotas by clicking Enable Service Quota Monitoring.
-
In the pop-up window that opens, provide an appropriate name for your service quota metric profile.
NoteA service quota metric profile is mandatory to add quota monitoring.
-
Select the required metrics.
-
Review your changes and click Save.
- If you already have a service quota metric profile, it will be automatically associated with your current monitor. You can view the selected profile on the Edit Monitor page.
- It takes up to 30 minutes for the data collection to complete, after which all the discovered quotas and their metrics will be listed under the Monitored Quotas tab.
Alternative method
Alternatively, you can enable service quotas by following the below steps.
-
Navigate to Cloud > Azure > select the Azure monitor > select Service View.
-
Click the hamburger icon
near Service View > Edit.
-
On the Edit Azure Monitor page, under Advanced Configuration, toggle Enable Service Quotas to Yes.
-
Select Quota Profiles: Use the drop-down to select an existing quota profile or create a new one by clicking the + icon.
-
Click Save.
Polling frequency
The data refresh frequency for your service quotas is 30 minutes.
Service Quotas dashboard
The Service Quotas dashboard has three different views that help you get overall insights into your quotas.
Navigate to Site24x7 > Cloud > Azure > your Azure Account > Service Quotas to view the monitoring insights. The dashboard includes:
Top 100 Quota Usages
You can see the Top 100 Quota Usages by selecting the subscription. Selecting All Subscriptions will give a centralized view of the top 100 quota usages across all your subscriptions.
The Criticality of the quotas depicts the usage of the quotas that need your attention based on four different criticality levels: High, Moderate, Low, and Info.
The Search bar allows you to search the quotas based on their name, region, unit, and so on.
Highlights
-
Displays the 100 highest quota utilization
-
Includes last updated timestamps and export options (CSV, PDF, Email, or Schedule Report)
-
Allows you to schedule reports to get the latest insights
Monitored Quotas
This view lists all the quotas under the subscription based on their category. Simply select the subscription and then the category, which can be Network, Storage, Compute, or Container App.
Access detailed insights such as:
- Quota Metric
- Unique Name
- Region
- Unit
- Current Limit
- Usage
- Utilization Percentage
Click Threshold Configuration at the top-right of the table to configure thresholds.
Threshold configuration
Set up proactive alerts when the resource usage, percent, or limit approaches thresholds for quotas in bulk or individually:
-
Bulk configuration:
In the Monitored Quotas tab, click Threshold Configuration at the top-right of the table. Select a quota type and configure thresholds for multiple quotas simultaneously. -
Individual quotas:
-
Navigate to a specific quota in the Monitored Quotas tab.
-
Use the pencil icon
in the Action column to set thresholds.
Threshold attributes include:
-
Limit, Usage, and Utilization Percentage thresholds.
-
Condition and Poll Strategy for fine-tuned alerts.
Removing a metric from monitoring
If you wish to remove a particular quota metric from monitoring:
-
Click the hamburger icon
near Service Quotas, which opens up the Edit Azure monitor page.
-
Under Advanced Configuration > General Settings, near the Service Quota Metric Profile drop-down, click the pencil icon
.
-
In the Metric Profile pop-up window, unselect the metrics which you wish to stop monitoring.
-
Click Save.
This action will stop Site24x7 from monitoring the metric from across all the monitored regions, and the metric will be removed from the immediate data collection.
Outages
The Outages tab lists outages that happened in the selected subscription based on a preferred time duration.
It has the start and end time of the outage, the total duration of the outage, and the reason for the outage. You can also derive the list of outages specific to a desired time period by clicking the drop-down at the top-right of the page.
Nexus view
Additionally, you can view all the subscriptions under the respective Management Group monitor or the Account-level monitor in a single centralized view.
Supported quotas
We have segregated each quota under its respective quota categories.
Category | Metrics |
Storage - 1 |
|
Container App - 5 |
|
Compute - 54 |
|
Network - 171 |
|
Events
Navigate to Applogs > set Infrastructure Events as the log type, and then you can construct your own query based on your requirements. With the below query, you can derive all the outage events related to the above-set thresholds.
logtype="Infrastructure Events" and productModule CONTAINS "AZURE-QUOTA"
Sample:
logtype="Infrastructure Events" and ProductModule CONTAINS "AZURE-QUOTA" groupby source
logtype="Infrastructure Events" and ProductModule CONTAINS "AZURE-QUOTA" groupby severity
logtype="Infrastructure Events" and ProductModule CONTAINS "AZURE-QUOTA" and severity CONTAINS "Critical"
If you have not set any threshold, when the utilization percentage reaches 100%, an event will be created.
License
Every 10 service quota metrics consume one basic monitor license.