Azure Cosmos DB Account (GlobalDocumentDB) monitoring

  • How-to guide
  • 9-min read

For information about differences between classic services and other services, see Migrate from Azure classic (formerly "built-in") services to cloud services.

Dynatrace ingests metrics from Azure Metrics API for Azure Cosmos DB Account (GlobalDocumentDB). You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

  • Dynatrace version 1.199+
  • Environment ActiveGate version 1.195+

Enable monitoring

To learn how to enable service monitoring, see Enable service monitoring.

View service metrics

You can view the service metrics in your Dynatrace environment either on the custom device overview page or on your Dashboards page.

View metrics on the custom device overview page

To access the custom device overview page

  1. Go to Technologies & Processes Classic.
  2. Filter by service name and select the relevant custom device group.
  3. Once you select the custom device group, you're on the custom device group overview page.
  4. The custom device group overview page lists all instances (custom devices) belonging to the group. Select an instance to view the custom device overview page.

View metrics on your dashboard

Once you add a service to monitoring, a preset dashboard for the respective service containing all recommended metrics is automatically created on your Dashboards page. You can look for specific dashboards by filtering by Preset and then by Name.

For existing monitored services, you might need to resave your credentials for the preset dashboard to appear on the Dashboards page. To resave your credentials, go to Settings > Cloud and virtualization > Azure, select the desired Azure instance, then select Save.

You can't make changes on a preset dashboard directly, but you can clone and edit it. To clone a dashboard, open the browse menu () and select Clone.
To remove a dashboard from the dashboards list, you can hide it. To hide a dashboard, open the browse menu () and select Hide.

Hiding a dashboard doesn't affect other users.

Clone hide azure

Available metrics

This service monitors a part of Azure Cosmos DB Account (Microsoft.DocumentDB/databaseAccounts). While you have this service configured, you can't have Azure Cosmos Database (built-in) service turned on.

NameDescriptionDimensionsUnitRecommended
Region addedRegion AddedRegionCount
Autoscale max throughputAutoscale Max ThroughputCollection name, Database nameCountApplicable
Cassandra connection closuresNumber of Cassandra connections that were closed, reported at a 1 minute granularityClosure reason, RegionCount
Cassandra connector average replication latencyCassandra Connector Average ReplicationLatencyMilliSecond
Cassandra connector replication health statusCassandra Connector Replication Health StatusReplication in error, Replication not started, Replication in progressCount
Cassandra keyspace createdCassandra Keyspace CreatedKeyspace nameCount
Cassandra keyspace deletedCassandra Keyspace DeletedKeyspace nameCount
Cassandra keyspace throughput updatedCassandra Keyspace Throughput UpdatedKeyspace nameCount
Cassandra keyspace updatedCassandra Keyspace UpdatedKeyspace nameCount
Cassandra request chargesRUs consumed for Cassandra requests madeCollection name, Database name, Operation type, Region, Resource typeCount
Cassandra requestsNumber of Cassandra requests madeCollection name, Database name, Error code, Operation type, Region, Resource typeCount
Cassandra table createdCassandra Table CreatedTable name, Keyspace nameCount
Cassandra table deletedCassandra Table DeletedTable name, Keyspace nameCount
Cassandra table throughput updatedCassandra Table Throughput UpdatedTable name, Keyspace nameCount
Cassandra table updatedCassandra Table UpdatedTable name, Keyspace nameCount
Account createdAccount CreatedCount
Data usageTotal data usage reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
Dedicated gateway average CPU usageAverage CPU usage across dedicated gateway instancesRegionPercent
Dedicated gateway average memory usageAverage memory usage across dedicated gateway instances, which is used for both routing requests and caching dataRegionByte
Dedicated gateway CPU usageCPU usage across dedicated gateway instancesRegionPercent
Dedicated gateway maximum CPU usageAverage Maximum CPU usage across dedicated gateway instancesRegionPercent
Dedicated gateway memory usageMemory usage across dedicated gateway instancesRegionByte
Dedicated gateway requestsRequests at the dedicated gatewayCache exercised, Cache hit, Collection name, Database name, Operation name, RegionCount
Account deletedAccount DeletedCount
Document countTotal document count reported at 5 minutes, 1 hour and 1 day granularityCollection name, Database name, RegionCountApplicable
Document quotaTotal storage quota reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
Gremlin database createdGremlin Database CreatedDatabase nameCount
Gremlin database deletedGremlin Database DeletedDatabase nameCount
Gremlin database throughput updatedGremlin Database Throughput UpdatedDatabase nameCount
Gremlin database updatedGremlin Database UpdatedDatabase nameCount
Gremlin graph createdGremlin Graph CreatedGraph name, Database nameCount
Gremlin graph deletedGremlin Graph DeletedGraph name, Database nameCount
Gremlin graph throughput updatedGremlin Graph Throughput UpdatedGraph name, Database nameCount
Gremlin graph updatedGremlin Graph UpdatedGraph name, Database nameCount
Gremlin request chargesRequest Units consumed for Gremlin requests madeCollection name, Database name, RegionCount
Gremlin requestsNumber of Gremlin requests madeCollection name, Database name, Error code, RegionCount
Index usageTotal index usage reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
Integrated cache evicted entries sizeSize of the entries evicted from the integrated cacheRegionByte
Integrated cache item expiration countNumber of items evicted from the integrated cache due to TTL expirationRegionCount
Integrated cache item hit rateNumber of point reads that used the integrated cache divided by number of point reads routed through the dedicated gateway with eventual consistencyRegionPercent
Integrated cache query expiration countNumber of queries evicted from the integrated cache due to TTL expirationRegionCount
Integrated cache query hit rateNumber of queries that used the integrated cache divided by number of queries routed through the dedicated gateway with eventual consistencyRegionPercent
Materialized view catchup gap in minutesMaximum time difference in minutes between data in source container and data propagated to materialized viewRegion, Materialized view nameCount
Materialized views builder average CPU usageAverage CPU usage across materialized view builder instances, which are used for populating data in materialized viewsRegionPercent
Materialized views builder average memory usageAverage memory usage across materialized view builder instances, which are used for populating data in materialized viewsRegionByte
Materialized views builder maximum CPU usageAverage Maximum CPU usage across materialized view builder instances, which are used for populating data in materialized viewsRegionPercent
Metadata requestsCount of metadata requests. Cosmos DB maintains system metadata collection for each account, that allows you to enumerate collections, databases, etc, and their configurations, free of charge.Collection name, Database name, Region, Status codeCountApplicable
Normalized ru consumptionMax RU consumption percentage per minuteCollection name, Collection rid, Database name, Partition key range ID, Physical partition ID, RegionPercentApplicable
Region offlinedRegion OfflinedRegion, Status codeCount
Region onlinedRegion OnlinedRegion, Status codeCount
Physical partition sizePhysical Partition Size in bytesCollection name, Database name, Resource ID, Physical partition ID, RegionByte
Physical partition throughputPhysical Partition ThroughputCollection name, Database name, Resource ID, Physical partition ID, RegionCount
Provisioned throughputProvisioned ThroughputCollection name, Database nameCountApplicable
Region failed overRegion Failed OverCount
Region removedRegion RemovedRegionCount
P99 replication latencyP99 Replication Latency across source and target regions for geo-enabled accountSource region, Target regionMilliSecond
Server side latencyServer Side LatencyCollection name, Connection mode, Database name, Operation type, Publicapi type, RegionMilliSecondApplicable
Server side latency directServer Side Latency in Direct Connection ModeCollection name, Database name, Operation type, Publicapi type, RegionMilliSecond
Server side latency gatewayServer Side Latency in Gateway Connection ModeCollection name, Database name, Operation type, Publicapi type, RegionMilliSecond
Service availabilityAccount requests availability at one hour, day or month granularityPercentApplicable
SQL container createdSql Container CreatedContainer name, Database nameCount
SQL container deletedSql Container DeletedContainer name, Database nameCount
SQL container throughput updatedSql Container Throughput UpdatedContainer name, Database nameCount
SQL container updatedSql Container UpdatedContainer name, Database nameCount
SQL database createdSql Database CreatedDatabase nameCount
SQL database deletedSql Database DeletedDatabase nameCount
SQL database throughput updatedSql Database Throughput UpdatedDatabase nameCount
SQL database updatedSql Database UpdatedDatabase nameCount
Azure table table createdAzureTable Table CreatedTable nameCount
Azure table table deletedAzureTable Table DeletedTable nameCount
Azure table table throughput updatedAzureTable Table Throughput UpdatedTable nameCount
Azure table table updatedAzureTable Table UpdatedTable nameCount
Total requestsNumber of requests madeCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCountApplicable
Total requests (preview)Number of SQL requestsCollection name, Database name, Operation type, Region, Status, Status codeCount
Total request unitsSQL Request Units consumedCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCountApplicable
Total request units (preview)Request Units consumed with CapacityTypeCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCount
Account keys updatedAccount Keys UpdatedKey typeCount
Account network settings updatedAccount Network Settings UpdatedCount
Account replication settings updatedAccount Replication Settings UpdatedCount
Account diagnostic settings updatedAccount Diagnostic Settings UpdatedDiagnostic settings name, Resource group nameCount
Related tags
Infrastructure Observability