Azure Cosmos DB deprecated metrics

Metrics in this document have been deprecated and are no longer supported by Microsoft Azure. Refer to the Cosmos DB metrics currently supported by Microsoft. For current users, both the deprecated and currently supported events, metrics, and accompanying metadata are included.

Use this page as a reference to migrate your alert conditions and custom dashboards from the deprecated metrics to their supported counterparts, as the deprecated metrics may stop working without notice should Microsoft stop publishing them.

Metric (deprecated) Description Metric (supported)
availableStorageBytes

Total available storage capacity in bytes, per account.

availableStorageBytes
averageRequestsPerSecond

Average number of requests per second, per account.

metadataRequests.Average
consistencyLevelPercent

Percent of requests that meet the SLA, per collection.

N/A
dataSizeBytes

Total data size in bytes, per account.

dataUsageBytes
documentCount

Total number of documents, per account.

documentCount
http2xx

Total count of HTTP 2xx responses.

totalRequests, specifying statusCode metadata
http3xx

Total count of HTTP 3xx responses.

totalRequests, specifying statusCode metadata
http400

Total count of HTTP 400 responses.

totalRequests, specifying statusCode metadata
http401

Total count of HTTP 401 responses.

totalRequests, specifying statusCode metadata
indexSizeBytes

Total index size in bytes, per Account.

indexUsageBytes
internalServerError

Total count of internal server error codes.

totalRequests, specifying statusCode metadata
maxRequestUnitsPerSecond

Maximum RUs consumed per second, per account.

totalRequestUnits
mongoQueryRequestCharge

Total request units (RU) consumed on query operations (MongoDB only).

mongoRequestCharge, specifying commandName metadata
mongoUpdateRequestCharge

Total RU consumed on update operations (MongoDB only).

mongoRequestCharge, specifying commandName metadata
mongoDeleteRequestCharge

Total RU consumed on delete operations (MongoDB only).

mongoRequestCharge, specifying commandName metadata
mongoInsertRequestCharge

Total RU consumed on insert operations (MongoDB only).

mongoRequestCharge, specifying commandName metadata
mongoCountRequestCharge

Total RU consumed on count operations (MongoDB only).

mongoRequestCharge, specifying commandName metadata
mongoOtherRequestCharge

Total RU consumed on other operations (MongoDB only).

mongoRequestCharge, specifying commandName metadata
mongoQueryRequestRate

Total number of query operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName metadata
mongoUpdateRequestRate

Total number of update operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName metadata
mongoDeleteRequestRate

Total number of delete operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName metadata
mongoInsertRequestRate

Total number of insert operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName metadata
mongoCountRequestRate

Total number of count operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName metadata
mongoOtherRequestRate

Total number of other requests, per account or collection (MongoDB only).

mongoRequests, specifying commandName metadata
mongoQueryFailedRequests

Total number of failed query operations, per ]account or collection (MongoDB only).

mongoRequests, specifying commandName and errorCode metadata
mongoUpdateFailedRequests

Total number of failed query operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName and errorCode metadata
mongoDeleteFailedRequests

Total number of failed delete operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName and errorCode metadata
mongoInsertFailedRequests

Total number of failed Insert operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName and errorCode metadata
mongoCountFailedRequests

Total number of failed count operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName and errorCode metadata
mongoOtherFailedRequests

Total number of failed other operations, per account or collection (MongoDB only).

mongoRequests, specifying commandName and errorCode metadata
observedReadLatencyMilliseconds

99th percentile of the average observed latencies for document lookup operations, in milliseconds.

N/A
observedWriteLatencyMilliseconds

99th percentile of the average observed latencies for document write operations, in milliseconds.

N/A
serviceAvailabilityPercent

Average percentage of successful requests as defined in the SLA, per collection (or database).

serviceAvailabilityPercent
serviceUnavailable

Total count of service unavailable codes.

totalRequests, specifying statusCode metadata
storageCapacityBytes

Total storage capacity in bytes, per account.

documentQuotaBytes
throttledRequests

Total number of requests failed due to throttling (throughput or storage), per collection.

totalRequests, specifying statusCode metadata
totalRequests

Total number of requests, per account.

totalRequests
totalRequestUnits

Total RUs consumed, per account.

totalRequestUnits