QueryMetrics Class

Definition

Query metrics in the Azure Cosmos DB service.

public sealed class QueryMetrics
type QueryMetrics = class
Public NotInheritable Class QueryMetrics
Inheritance
System.Object
QueryMetrics

Properties

IndexHitRatio

Gets the index hit ratio by query in the Azure Cosmos DB 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 DB service.

QueryPreparationTimes

Gets the QueryPreparationTimes instance in the Azure Cosmos DB service.

Retries

Gets the number of reties in the Azure Cosmos DB service.

RetrievedDocumentCount

Gets the number of documents retrieved during query in the Azure Cosmos DB 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 DB service.

Methods

ToString()

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

Operators

Addition(QueryMetrics, QueryMetrics)

Add two specified QueryMetrics instances

Applies to