QueryMetrics Class

Definition

Query metrics in the Azure Cosmos database service. This metric represents a moving average for a set of queries whose metrics have been aggregated together.

public sealed class QueryMetrics
type QueryMetrics = class
Public NotInheritable Class QueryMetrics
Inheritance
QueryMetrics

Properties

IndexHitRatio

Gets the index hit ratio by query in the Azure Cosmos database service.

OutputDocumentCount

Gets the number of documents returned by query in the Azure Cosmos DB service.

QueryEngineTimes

Gets the QueryEngineTimes instance in the Azure Cosmos database service.

QueryPreparationTimes

Gets the query QueryPreparationTimes in the Azure Cosmos database service.

Retries

Gets number of reties in the Azure Cosmos database service.

RetrievedDocumentCount

Gets the number of documents retrieved during query in the Azure Cosmos database service.

RetrievedDocumentSize

Gets the size of documents retrieved in bytes during query in the Azure Cosmos DB service.

TotalTime

Gets the total query time in the Azure Cosmos database service.

Methods

ToString()

Gets the stringified QueryMetrics instance in the Azure Cosmos database service.

Operators

Addition(QueryMetrics, QueryMetrics)

Add two specified QueryMetrics instances

Applies to