Introduction
Monitoring becomes more important as applications, containers, and cloud infrastructure grow. A small application may generate only a few thousand metrics every minute, but a large Kubernetes environment can produce millions of metric events and active time series. When the volume increases beyond the configured ingestion limits, Azure Monitor can throttle incoming data. This can result in missing metrics, incomplete dashboards, and delayed alerts.
Azure Monitor provides an autoscaling capability for ingestion limits in Azure Monitor workspaces. This feature automatically adjusts the allowed ingestion capacity according to actual usage, reducing the need to request manual quota increases whenever a workload grows.
The capability is currently available as a public preview. It applies to Azure Monitor workspaces used for Prometheus and OpenTelemetry metrics. It is important to understand that this feature does not automatically scale every Azure Monitor ingestion limit. Log Analytics workspaces and the Logs Ingestion API have separate quotas and management mechanisms.
This article explains how Azure Monitor workspace ingestion limits work, how to enable autoscaling, how to monitor scaling activity, and what developers and cloud administrators should consider before using it.
Understanding Azure Monitor Ingestion Limits
An Azure Monitor workspace stores metrics collected from monitored environments. These metrics can come from Kubernetes clusters, applications, infrastructure components, and Prometheus-compatible exporters.
Two important limits determine how much metric data a workspace can accept:
Events per minute
This limit controls the number of metric events that can be ingested during a minute. An event represents an individual metric data point received by the workspace.
For example, suppose a Kubernetes cluster contains several hundred containers. Each container may expose CPU usage, memory consumption, network activity, and application-specific metrics. As the number of containers increases, the total number of metric events also increases.
If the incoming event rate exceeds the workspace limit, ingestion throttling can occur.
Active time series
A time series represents a metric identified by its name and associated label values.
Consider a metric named http_requests_total. If the metric contains labels such as service, region, instance, and status, different combinations of those labels create separate time series.
For example:
http_requests_total{
service="orders",
region="east",
status="200"
}
Adding more services, instances, regions, or label combinations can significantly increase the number of active time series.
This is particularly important in Kubernetes environments, where dynamically created pods and containers can increase metric cardinality.
Azure Monitor workspaces have default ingestion limits of one million events per minute and one million active time series. These limits can be increased through supported mechanisms, including autoscaling where available.
What Is Autoscaling for Azure Monitor Ingestion Limits?
Autoscaling for Azure Monitor workspace ingestion limits automatically adjusts the workspace's ingestion quota based on actual metric usage.
Previously, administrators generally had to monitor their ingestion capacity and request a higher limit when workloads approached the existing quota. This manual process could become difficult when applications experienced frequent traffic changes or infrastructure expanded regularly.
With autoscaling enabled, Azure Monitor can increase the ingestion limit when usage approaches an upper utilization threshold. When usage remains low for a sustained period, the service can reduce the unused capacity.
The feature provides two important behaviors:
Automatic scale-up
When metric ingestion approaches the configured capacity threshold, Azure Monitor increases the workspace's ingestion limit.
For example, suppose a workspace currently has an ingestion limit of one million events per minute. If the workload grows and approaches that limit, autoscaling can increase the allowed capacity.
This helps reduce the risk of throttling during periods of increased metric activity.
Automatic scale-down
Autoscaling also considers periods of reduced ingestion.
Suppose a development environment generates a large volume of metrics during testing but remains relatively quiet overnight. When usage stays low for a sustained period, Azure Monitor can reduce the unused ingestion capacity.
The reduction applies to the quota limit, not to the metrics already stored in the workspace.
This approach helps organizations avoid maintaining unnecessarily high ingestion limits.
Enabling Autoscaling in an Azure Monitor Workspace
Autoscaling is an opt-in capability. Administrators must explicitly enable it for the Azure Monitor workspace.
The feature can be configured through the Azure portal or by updating the workspace resource through the Azure Resource Manager API.
Enabling autoscaling with Azure CLI
The following example uses Azure CLI to update the metrics container resource associated with an Azure Monitor workspace.
$subscriptionId = "<subscription-id>"
$resourceGroupName = "<resource-group>"
$workspaceName = "<azure-monitor-workspace>"
$resourceId = "/subscriptions/$subscriptionId/resourceGroups/$resourceGroupName/providers/Microsoft.Monitor/accounts/$workspaceName/metricsContainers/default"
az resource update `
--ids $resourceId `
--api-version 2026-09-03-preview `
--set properties.limits.enableAutoScale=true `
--force-string
Replace the placeholder values with the actual subscription, resource group, and workspace details.
The important setting is:
properties.limits.enableAutoScale=true
This enables autoscaling for the workspace's ingestion limits.
The example uses a preview API version. Preview APIs can change, so verify the supported API version and configuration requirements in the current Azure documentation before using this command in an automated deployment.
Disabling autoscaling
If an organization needs to return to manually managed ingestion limits, it can disable autoscaling by updating the same property.
az resource update `
--ids $resourceId `
--api-version 2026-09-03-preview `
--set properties.limits.enableAutoScale=false `
--force-string
When autoscaling is disabled, the workspace returns to manual limit management. Administrators must monitor capacity and request or configure supported increases when required.
Monitoring Ingestion Limits and Scaling Activity
Enabling autoscaling does not remove the need for monitoring. Administrators should understand how much metric data applications generate and whether the workspace is approaching its available capacity.
Azure Monitor provides workspace metrics and Activity Log records that help track ingestion behavior.
Monitor events per minute
Events per minute indicates the volume of metric events entering the workspace.
A sustained increase can indicate that an application is generating more metrics, a Kubernetes cluster has expanded, or a new monitoring integration has been enabled.
Administrators should compare the current ingestion rate with the workspace's configured limit.
Monitor active time series
Active time series helps identify changes in metric cardinality.
A sudden increase may indicate that an application has started attaching additional labels to metrics or that infrastructure has created many new instances.
High cardinality can increase monitoring complexity and consume ingestion capacity even when the number of metric names remains unchanged.
Review Activity Log entries
When autoscaling changes the ingestion limits, Azure Monitor records the change in the workspace's Activity Log.
Administrators can review these entries to understand when the limit increased or decreased.
Activity Log information is also useful for auditing and operational troubleshooting. Organizations can create Activity Log alerts to receive notifications when a scaling event occurs.
A scaling event does not necessarily indicate a problem. It provides visibility into how the workspace's allowed ingestion capacity changes over time.
Creating Alerts for Ingestion Usage
Autoscaling helps adjust capacity, but alerts remain important for identifying unusual ingestion behavior.
Organizations should monitor at least three conditions:
- Ingestion usage approaching the current limit.
- Dropped metric events or time series.
- Autoscaling activity recorded in the Activity Log.
The first two conditions help identify ingestion pressure, while the third provides visibility into automatic quota changes.
For example, an alert can notify the operations team when the workspace approaches its ingestion threshold.
A separate alert can detect dropped metric events. This is especially important because a higher ingestion limit does not guarantee that every metric will always be accepted.
For Kubernetes environments, administrators should also investigate sudden increases in metric cardinality. Reducing unnecessary labels can improve monitoring efficiency and prevent avoidable ingestion pressure.
Autoscaling Does Not Change Billing
One important consideration is the difference between ingestion limits and billing.
Autoscaling changes the maximum ingestion capacity allowed for the workspace. It does not change the amount of metric data being generated or automatically increase the price of the service.
Billing continues to follow the applicable Azure Monitor pricing model and actual usage.
For example, increasing a workspace's allowed ingestion limit from one million to a higher value does not mean the organization automatically pays for that higher limit.
However, if the application begins generating and ingesting more data, the actual usage and associated charges may increase according to the pricing model.
Teams should therefore monitor both ingestion capacity and consumption costs.
Azure Monitor Workspace Autoscaling vs. Log Analytics Ingestion Limits
Azure Monitor includes different workspace types and ingestion mechanisms. It is important not to confuse their limits.
Azure Monitor workspaces primarily store Prometheus and OpenTelemetry metrics. Log Analytics workspaces store log data from applications, Azure resources, and other sources.
Area | Azure Monitor workspace | Log Analytics workspace |
|---|
Primary data | Prometheus and OpenTelemetry metrics | Logs and diagnostic data |
Main ingestion considerations | Events per minute and active time series | Data volume, API requests, and workspace limits |
Autoscaling capability | Ingestion-limit autoscaling is available in preview | Separate ingestion management mechanisms |
Capacity management | Autoscaling or supported limit increases | Monitoring, transformations, daily caps, and support requests |
Common use cases | Kubernetes and metrics monitoring | Application logs, diagnostics, and operational analysis |
The Logs Ingestion API has separate service limits. For example, its documented limits include a maximum request size of 1 MB, up to 2 GB of data per minute per data collection rule, and up to 12,000 requests per minute per data collection rule. Requests that exceed applicable limits can receive HTTP 429 responses.
These limits should not be confused with the ingestion limits of an Azure Monitor workspace.
For Log Analytics workspaces, administrators should use the appropriate ingestion monitoring and quota-management mechanisms rather than assuming that enabling Azure Monitor workspace autoscaling will increase log ingestion capacity.
Common Mistakes to Avoid
Assuming autoscaling is enabled automatically
Autoscaling is an opt-in setting. Creating an Azure Monitor workspace does not automatically enable it.
Administrators should verify the setting before depending on automatic capacity adjustments.
Treating autoscaling as unlimited ingestion
Autoscaling does not mean that a workspace can accept unlimited metric data.
Service limits and other platform constraints still apply. Workloads with unusually high ingestion requirements should be reviewed against the current Azure Monitor service limits.
Ignoring metric cardinality
Increasing the number of allowed events does not solve every metric ingestion problem.
Unnecessary labels can create large numbers of active time series. Developers should avoid adding highly variable values, such as request IDs or user identifiers, as metric labels.
Assuming autoscaling changes costs
The feature adjusts ingestion limits, not the pricing model. Actual data consumption can still affect billing.
Teams should continue monitoring usage and reviewing Azure Monitor costs.
Enabling autoscaling without alerts
Autoscaling reduces manual quota management, but it does not replace operational monitoring.
Alerts for ingestion usage, dropped metrics, and scaling activity help teams identify issues before they affect monitoring visibility.
Best Practices for Production Environments
Organizations should follow a few practices when implementing autoscaling.
First, understand the metrics generated by each application and infrastructure component. Monitor both events per minute and active time series instead of relying on a single ingestion measurement.
Second, review metric labels regularly. Avoid unnecessary high-cardinality labels, particularly those containing unique identifiers that create a separate time series for every request or user.
Third, enable autoscaling for workspaces with changing or growing metric workloads when the preview feature is appropriate for the organization's operational requirements.
Fourth, configure alerts for ingestion usage, dropped metrics, and Activity Log scaling events. These alerts provide visibility into both capacity pressure and automatic changes.
Finally, test the configuration in a non-production environment before applying it to critical monitoring infrastructure. Preview features can change, and production environments may have operational or compliance requirements that favor manually managed limits.
Advantages and Disadvantages
Advantages | Disadvantages |
|---|
Automatically adjusts supported ingestion limits | Currently available as a preview feature |
Reduces manual quota increase requests | Requires explicit configuration |
Helps reduce throttling risk during workload growth | Does not provide unlimited ingestion capacity |
Reduces unused quota when usage remains low | Does not replace ingestion monitoring |
Scaling activity is recorded in the Activity Log | Does not automatically manage Log Analytics ingestion limits |
Conclusion
Automatically scaling Azure Monitor ingestion limits helps organizations manage growing and changing metric workloads without depending entirely on manual quota increases.
By adjusting supported ingestion limits according to actual usage, the feature can reduce throttling risk and help maintain monitoring visibility as applications and infrastructure expand.
However, autoscaling should be combined with metric cardinality management, ingestion alerts, Activity Log monitoring, and cost reviews. Developers and administrators should also understand the difference between Azure Monitor workspaces and Log Analytics workspaces because their ingestion limits and management mechanisms are different.
For production environments, the best approach is to enable autoscaling where appropriate, monitor ingestion behavior continuously, and validate the feature's preview limitations before making it part of a critical observability strategy.
Join the conversation! Your thoughts help the community grow.