Introduction

Azure Cosmos DB is Microsoft’s 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.

Setup

To set up the OpsRamp 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.

Metrics

OpsRamp MetricMetric Display NameUnitAggregation TypeDescription
azure_total_requestsTotal RequestsCountCountNumber of requests made.
azure_mongo_requestsMongo RequestsCountCountNumber of Mongo requests made.
azure_cosmos_db_available_storageAvailable StorageBytesTotalTotal available storage reported at 5 minutes granularity.
azure_cosmos_db_cassandra_connection_closuresCassandra Connection ClosuresCountTotalNumber of Cassandra connections that were closed, reported at a one (1) minute granularity.
azure_cosmos_db_cassandra_request_chargesCassandra Request ChargesCountTotalRUs consumed for Cassandra requests made.
azure_cosmos_db_cassandra_requestsCassandra RequestsCountCountNumber of Cassandra requests made.
azure_cosmos_db_data_usageData UsageBytesTotalTotal data usage reported at 5 minutes granularity.
azure_cosmos_db_document_countDocument CountCountTotalTotal document count reported at 5 minutes granularity.
azure_cosmos_db_document_quotaDocument QuotaBytesTotalTotal storage quota reported at 5 minutes granularity.
azure_cosmos_db_index_usageIndex UsageBytesTotalTotal index usage reported at 5 minutes granularity.
azure_cosmos_db_metadata_requestsMetadata RequestsCountCountCount 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.
azure_cosmos_db_mongo_request_changeMongo Request ChargeCountTotalMongo request units consumed.
azure_cosmos_db_provisioned_throughputProvisioned ThroughputCountMaximumProvisioned throughput.
azure_cosmos_db_replication_latencyP99 Replication LatencyMilliSecondsAverageP99 Replication Latency across source and target regions for geo-enabled account.
azure_cosmos_db_service_availabilityService AvailabilityPercentAverageAccount requests availability at one hour, day or month granularity.
azure_cosmos_db_total_request_unitsTotal Requests UnitsCountTotalRequest Units consumed.

Event support

  • Supported
  • Configurable in OpsRamp Azure Integration Discovery Profile.

External reference