Azure Cosmos DB is a Microsoft globally distributed, multi-model database service.

Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure regions worldwide. You can elastically scale throughput and storage, and take advantage of fast, single-digit-millisecond data access using your favorite API including SQL, MongoDB, Cassandra, Tables, or Gremlin.

Cosmos DB provides comprehensive service level agreements for throughput, latency, availability, and consistency guarantees, something no other database service offers.

Use the Azure public cloud integration to discover and collect metrics against the Azure service.

External reference

Azure Monitor - Platform metrics

Setup

To set up the Azure integration and discover the Azure service, go to Azure Integration Discovery Profile and select Cosmos DB. Need to select in Azure Integration Discovery Profile to discover Azure Cosmos DB.

Event support

  • Supported
  • Configurable in OpsRamp Azure Integration Discovery Profile.

Supported metrics

OpsRamp MetricMetric Display NameUnitAggregation Type
azure_total_requests

Number of requests made.
Total RequestsCountCount
azure_mongo_requests

Number of Mongo requests made.
Mongo RequestsCountCount
azure_cosmos_db_available_storage

Total available storage reported at 5 minutes granularity.
Available StorageBytesTotal
azure_cosmos_db_cassandra_connection_closures

Number of Cassandra connections that were closed, reported at a one (1) minute granularity.
Cassandra Connection ClosuresCountTotal
azure_cosmos_db_cassandra_request_charges

RUs consumed for Cassandra requests made.
Cassandra Request ChargesCountTotal
azure_cosmos_db_cassandra_requests

Number of Cassandra requests made.
Cassandra RequestsCountCount
azure_cosmos_db_data_usage

Total data usage reported at 5 minutes granularity.
Data UsageBytesTotal
azure_cosmos_db_document_count

Total document count reported at 5 minutes granularity.
Document CountCountTotal
azure_cosmos_db_document_quota

Total storage quota reported at 5 minutes granularity.
Document QuotaBytesTotal
azure_cosmos_db_index_usage

Total index usage reported at 5 minutes granularity.
Index UsageBytesTotal
azure_cosmos_db_metadata_requests

Count of metadata requests. Cosmos DB maintains system metadata collection for each account, that allows you to enumerate collections, databases, and their configurations, free of charge.
Metadata RequestsCountCount
azure_cosmos_db_mongo_request_change

Mongo request units consumed.
Mongo Request ChargeCountTotal
azure_cosmos_db_provisioned_throughput

Provisioned throughput.
Provisioned ThroughputCountMaximum
azure_cosmos_db_replication_latency

P99 Replication Latency across source and target regions for geo-enabled account.
P99 Replication LatencyMilliSecondsAverage
azure_cosmos_db_service_availability

Account requests availability at one hour, day or month granularity.
Service AvailabilityPercentAverage
azure_cosmos_db_total_request_units

Request Units consumed.
Total Requests UnitsCountTotal