CosmosDB Metric Autoscaled RU not returning any data, per partition per region is enabled

Howard, Melora 0 Reputation points
2025-03-07T16:41:13.67+00:00

CosmosDB Metric Autoscaled RU not returning any data, it has in the past. Per partition per region scaling/feature is enabled.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,786 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mahesh Kurva 2,920 Reputation points Microsoft External Staff
    2025-03-07T17:47:03.4833333+00:00

    Hi Howard, Melora,

    Welcome to Microsoft Q&A forum.

    As I understand, you're encountering an issue with Azure Cosmos DB's autoscale feature, specifically with metrics not returning data when per-partition, per-region scaling is enabled. Here are a few things you can check:

    1. Ensure that the enablePerRegionPerPartitionAutoscale property is correctly set to true in your Cosmos DB account configuration.
    2. Sometimes, metrics might not be immediately available due to delays in data processing. Check if the metrics appear after some time.
    3. Use Azure Monitor to verify if the metrics are being collected correctly. You can set up alerts and dashboards to monitor the autoscale metrics.
    4. Since per partition per region is enabled, ensure that there are no region-specific issues affecting the reporting of metrics. Check the Azure status page for any ongoing incidents in the relevant regions.

    For more information, please refer the documents:

    https://learn.microsoft.com/en-us/azure/cosmos-db/autoscale-faq?tabs=azure-powerShell#how-quickly-does-autoscale-scale-up-based-on-increases-in-traffic-

    https://learn.microsoft.com/en-us/azure/cosmos-db/provision-throughput-autoscale#monitoring-metrics

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.