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.
  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

If the service has a preset dashboard, you'll get a preset dashboard for the respective service containing all recommended metrics 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
AddRegionRegion AddedRegionCount
AutoscaleMaxThroughputAutoscale Max ThroughputCollection name, Database nameCountApplicable
CreateAccountAccount CreatedCount
DataUsageTotal data usage reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
DeleteAccountAccount DeletedCount
DocumentCountTotal document count reported at 5 minutes, 1 hour and 1 day granularityCollection name, Database name, RegionCountApplicable
DocumentQuotaTotal storage quota reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
IndexUsageTotal index usage reported at 5 minutes granularityCollection name, Database name, RegionByteApplicable
MetadataRequestsCount 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
MongoCollectionCreateMongo Collection CreatedCollection name, Database nameCount
MongoCollectionDeleteMongo Collection DeletedCollection name, Database nameCount
MongoCollectionThroughputUpdateMongo Collection Throughput UpdatedCollection name, Database nameCount
MongoCollectionUpdateMongo Collection UpdatedCollection name, Database nameCount
MongoDBDatabaseCreateMongo Database CreatedDatabase nameCount
MongoDBDatabaseUpdateMongo Database UpdatedDatabase nameCount
MongoDatabaseDeleteMongo Database DeletedDatabase nameCount
MongoDatabaseThroughputUpdateMongo Database Throughput UpdatedDatabase nameCount
MongoRequestChargeMongo Request Units ConsumedCollection name, Command name, Database name, Error code, Region, StatusCount
MongoRequestsNumber of Mongo Requests MadeCollection name, Command name, Database name, Error code, Region, StatusCount
NormalizedRUConsumptionMax RU consumption percentage per minuteCollection name, Collection rid, Database name, Partition key range ID, Physical partition ID, RegionPercentApplicable
OfflineRegionRegion OfflinedRegion, Status codeCount
OnlineRegionRegion OnlinedRegion, Status codeCount
PhysicalPartitionSizeInfoPhysical Partition Size in bytesCollection name, Database name, Physical partition ID, Region, Resource IDByte
PhysicalPartitionThroughputInfoPhysical Partition ThroughputCollection name, Database name, Physical partition ID, Region, Resource IDCount
ProvisionedThroughputProvisioned ThroughputCollection name, Database nameCountApplicable
RegionFailoverRegion Failed OverCount
RemoveRegionRegion RemovedRegionCount
ReplicationLatencyP99 Replication Latency across source and target regions for geo-enabled accountSource region, Target regionMilliSecond
ServerSideLatencyServer Side LatencyCollection name, Connection mode, Database name, Operation type, Publicapi type, RegionMilliSecondApplicable
ServerSideLatencyDirectServer Side Latency in Direct Connection ModeCollection name, Database name, Operation type, Publicapi type, RegionMilliSecond
ServerSideLatencyGatewayServer Side Latency in Gateway Connection ModeCollection name, Database name, Operation type, Publicapi type, RegionMilliSecond
ServiceAvailabilityAccount requests availability at one hour, day or month granularityPercentApplicable
TotalRequestUnitsSQL Request Units consumedCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCountApplicable
TotalRequestsNumber of requests madeCapacity type, Collection name, Database name, Operation type, Region, Status, Status codeCountApplicable
UpdateAccountKeysAccount Keys UpdatedKey typeCount
UpdateAccountNetworkSettingsAccount Network Settings UpdatedCount
UpdateAccountReplicationSettingsAccount Replication Settings UpdatedCount
UpdateDiagnosticsSettingsAccount Diagnostic Settings UpdatedDiagnostic settings name, Resource group nameCount
Related tags
Infrastructure Observability