An Azure NoSQL database service for app development.
Cosmos DB: Physical Partition Count shows 0 after Nov 14 — Possible Monitoring Issue
Problem description
I am experiencing an issue where the 'Physical Partition Count' metric for my Cosmos DB SQL container shows 0 after November 14, 2026, despite my understanding that the container has at least 4 physical partitions. I am trying to determine whether this indicates a problem with the metric publication or a misunderstanding on my part.
Environment
Azure Cosmos DB account using the SQL API in the South Central US region, with a partitioned SQL container.
What I've already tried
I checked the Azure Portal Metrics without filters and observed that the 'Physical Partition Count' shows '--' for shorter time ranges and '4' until about Nov 14, then '0' afterward in the 30-day view. I also verified that 'Physical Partition Size' continues to publish data across time ranges. Using the .NET SDK, I called container.GetFeedRangesAsync() and received a count of 4, which does not match the metric's behavior. I reviewed direct Azure Monitor metrics queries for 'PhysicalPartitionCount' with maximum aggregation over the same period, which show 4 until Nov 14 and 0 afterward. I suspect a possible issue with how the metric is published or rendered in the portal.
Current status
Currently, I believe there might be a monitoring publication or portal rendering issue affecting the 'Physical Partition Count' metric after November 14, rather than an actual change in the container's physical partitioning. I am seeking guidance on verifying whether the metric publication is correct and understanding the discrepancy between different data sources.