Azure Cosmos DB Account (MongoDB) monitoring

  • How-to guide
  • 5-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 (MongoDB). 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
Account createdAccount CreatedCount
Data usageTotal data usage reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
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
Index usageTotal index usage reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
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
Mongo collection createdMongo Collection CreatedCollection name, Database nameCount
Mongo collection deletedMongo Collection DeletedCollection name, Database nameCount
Mongo collection throughput updatedMongo Collection Throughput UpdatedCollection name, Database nameCount
Mongo collection updatedMongo Collection UpdatedCollection name, Database nameCount
Mongo database deletedMongo Database DeletedDatabase nameCount
Mongo database throughput updatedMongo Database Throughput UpdatedDatabase nameCount
Mongo database createdMongo Database CreatedDatabase nameCount
Mongo database updatedMongo Database UpdatedDatabase nameCount
Mongo request chargeMongo Request Units ConsumedCollection name, Command name, Database name, Error code, Region, StatusCount
Mongo requestsNumber of Mongo Requests MadeCollection name, Command name, Database name, Error code, Region, StatusCount
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
Total requestsNumber of requests madeCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCountApplicable
Total request unitsSQL Request Units consumedCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCountApplicable
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