Documentation forSolarWinds Observability SaaS

Cosmos DB metrics

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. Use the Azure Resource Manager to gather metrics for this resource, then ensure your cloud platform is configured in SolarWinds Observability SaaS to collect this resource type's data. See Add an Azure cloud account.

Depending on the subscription pricing tier of your Azure account or its resources, additional metrics may be available for this entity. To collect additional Azure metrics, select the premium pricing tier when configuring your Azure namespaces.

Many of the collected metrics from Azure Cosmos DB entities are displayed as widgets in SolarWinds Observability explorers; additional metrics may be collected and available in the Metrics Explorer. You can also create an alert for when an entity's metric value moves out of a specific range. See Entities in SolarWinds Observability SaaS for information about entity types in SolarWinds Observability SaaS.

The following table lists some of the metrics collected for these entities. To see the Azure Cosmos DB metrics in the Metrics Explorer, type azure.cosmos in the search box.

MetricUnitsDescription
sw.metrics.healthscore Percent (%)

Health score. A health score provides real-time insight into the overall health and performance of your monitored entities. The health score is calculated based on anomalies detected for the entity, alerts triggered for the entity's metrics, and the status of the entity. The health score is displayed as a single numerical value that ranges from a Good (70-100) to Moderate (40-69) to Bad (0-39) distinction.

To view the health score for Azure Cosmos DB entities in the Metrics Explorer, filter the sw.metrics.healthscore metric by entity_types and select azurecosmosdb.

azure.cosmos.autoscale_max_throughput Count

AutoscaleMaxThroughput. The maximum throughput the autoscale will scale to.

azure.cosmos.available_storagebytes

AvailableStorage. The total amount of available storage reported at 5-minute granularity per region.

azure.cosmos.cassandra.connection.avg_replication_latencymilliseconds (ms)

CassandraConnectorAvgReplicationLatency. The average replication latency of the Cassandra Connector.

azure.cosmos.cassandra.connection.replication_health_status

CassandraConnectorReplicationHealthStatus. The replication health status of the Cassandra Connector.

azure.cosmos.cassandra.connection_closures Count

CassandraConnectionClosures. The total number of Cassandra Connections closed.

azure.cosmos.cassandra.request_charges Count

CassandraRequestCharges. The total number of request units consumed by the API for Cassandra.

azure.cosmos.cassandra.requestsCount

CassandraRequests. The total number of Cassandra API requests made.

azure.cosmos.data.usage bytes

DataUsage. The total data usage reported at 5-minute granularity per region.

azure.cosmos.document.count Count

DocumentCount. The total document count reported at 5-minute granularity per region.

azure.cosmos.document.quotabytes

DocumentQuota. The total storage quota reported at 5-minute granularity per region.

azure.cosmos.gremlin.request_chargeCount

GremlinRequestCharges. The total number of request units consumed by Gremlin queries.

azure.cosmos.gremlin.requests Count

GremlinRequests. The total number of requests made by Gremlin queries.

azure.cosmos.index_usagebytes

IndexUsage. The total Index usage reported at 5-minute granularity per region.

azure.cosmos.mongo.request_chargeCount

MongoRequestCharge. The total number of Mongo request units consumed.

azure.cosmos.mongo.requestsCount

MongoRequests. The total number of Mongo requests made.

azure.cosmos.normalized_ru_consumptionPercent (%)

NormalizedRUConsumption. The maximum request unit consumption percentage per minute.

azure.cosmos.provisioned_throughputCount

ProvisionedThroughput. The maximum provisioned throughput at container granularity.

azure.cosmos.replication_latency.p99 milliseconds (ms)

ReplicationLatency. The average replication latency across the source and target regions for a geo-enabled account.

azure.cosmos.requests.metadataCount

MetadataRequests. The total number of metadata requests.

azure.cosmos.requests.totalCount

TotalRequests. The total number of requests made.

azure.cosmos.requests.total_unitsCount

TotalRequestUnits. The total number of request units consumed.

azure.cosmos.server_side_latencymilliseconds (ms)

ServerSideLatency. The average amount of time taken by the server to process a request.

azure.cosmos.service_availabilityPercent (%)

ServiceAvailability. The average account request availability at one-hour granularity.