Help Cosmos DB

Azure Cosmos DB Monitoring Integration

Azure Cosmos DB is a thoroughly managed NoSQL database that takes care of database administration, including automatic management, updates, and patching. It also manages capacity using cost-effective serverless and autonomous scaling options.

With Site24x7's integration, you can now monitor your Cosmos DB, configure thresholds, and receive alerts about critical issues.

Table of contents

Setup and configuration

You can add Azure Cosmos DB while adding a new monitor or you can add it to an existing Azure monitor. Follow these steps to add the service.

Supported metrics

The following metrics are collected:

Metric nameDescriptionStatisticUnit
Available Storage The total available storage Total Bytes
Cassandra Connection Closures The number of Cassandra connections that were closed, reported at a one minute granularity Total Count
Cassandra Request Charges The number of request units consumed for the Cassandra requests made Total Count
Cassandra Requests The number of Cassandra requests made Total Count
Data Usage The total data usage Total Bytes
Document Count The total document count Total Count
Document Quota The total storage quota reported Total Bytes
Index Usage The total index usage reported Total Bytes
Metadata Requests The number of metadata requests Count Count
Mongo Request Charge The number of Mongo request units consumed Total Count
Mongo Requests The number of Mongo requests made Count Count
Provisioned Throughput The amount of provisioned throughput Maximum Count
P99 Replication Latency The P99 Replication Latency across the source and the target regions for geo-enabled accounts Average Milliseconds
Service Availability The account requests availability Average Percent
Total Requests The number of requests made Count Count
Total Request Units The number of request units consumed Total Count

Threshold configuration

Global configuration

  1. Go to the Admin section in the left navigation pane.
  2. Select Configuration Profiles from the left pane and choose the Threshold and Availability (+) tab from the drop-down menu. Click Add Threshold Profile in the top-right corner.
  3. Set the monitor type as Azure Cosmos DB. You can now set the threshold values for all the metrics mentioned above.

Monitor-level configuration

  1. Go to Cloud > Azure and select Azure Cosmos DB from the drop-down menu.
  2. Choose a resource for which you would like to set a threshold, then click the hamburger icon . Select Edit, which will direct you to the Edit Azure Cosmos DB Monitor page.
  3. You can set the threshold values for the metrics by selecting Threshold and Availability. You can also configure IT Automation at the attribute level.

IT Automation

Site24x7 offers a set of exclusive IT Automation tools to auto-resolve performance degradation issues. These tools react to events proactively rather than waiting for manual intervention.

How to configure IT Automation for a monitor

Configuration Rules

With Site24x7's Configuration Rules, you can set parameters like Threshold Profile, Notification Profile, Tags, and Monitor Group for multiple monitors.

How to add Configuration Rules

Related links:

How to add an Azure monitor.
How to integrate an Azure App Service monitor.
How to integrate Azure Virtual Machine monitor.
How to configure IT Automations for a monitor.
How to add a Configuration Rule.

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Cosmos DB