Documentation forSolarWinds Observability

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 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 for information about entity types in SolarWinds Observability.

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.

MetricDescription
sw.metrics.healthscore

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

AutoscaleMaxThroughput. The maximum throughput the autoscale will scale to.

azure.cosmos.available_storage

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

azure.cosmos.cassandra.connection.avg_replication_latency

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

CassandraConnectionClosures. The total number of Cassandra Connections closed.

azure.cosmos.cassandra.request_charges

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

azure.cosmos.cassandra.requests

CassandraRequests. The total number of Cassandra API requests made.

azure.cosmos.data.usage

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

azure.cosmos.document.count

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

azure.cosmos.document.quota

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

azure.cosmos.gremlin.request_charge

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

azure.cosmos.gremlin.requests

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

azure.cosmos.index_usage

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

azure.cosmos.mongo.request_charge

MongoRequestCharge. The total number of Mongo request units consumed.

azure.cosmos.mongo.requests

MongoRequests. The total number of Mongo requests made.

azure.cosmos.normalized_ru_consumption

NormalizedRUConsumption. The maximum request unit consumption percentage per minute.

azure.cosmos.provisioned_throughput

ProvisionedThroughput. The maximum provisioned throughput at container granularity.

azure.cosmos.replication_latency.p99

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

azure.cosmos.requests.metadata

MetadataRequests. The total number of metadata requests.

azure.cosmos.requests.total

TotalRequests. The total number of requests made.

azure.cosmos.requests.total_units

TotalRequestUnits. The total number of request units consumed.

azure.cosmos.server_side_latency

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

azure.cosmos.service_availability

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