Skip to content

Commit f3cd2ee

Browse files
authored
Merge pull request #275438 from AbhinavTrips/main
Python SDK Query Metrics
2 parents 2e6d16c + cceed23 commit f3cd2ee

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

articles/cosmos-db/nosql/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,8 @@
625625
items:
626626
- name: Get query execution metrics
627627
href: query-metrics-performance.md
628+
- name: Get query execution metrics (Python SDK)
629+
href: query-metrics-performance-python.md
628630
- name: Tune query performance
629631
href: query-metrics.md
630632
- name: Optimize query performance when using SDK

articles/cosmos-db/nosql/query-metrics-performance-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: Get NoSQL query performance & execution metrics in Azure Cosmos DB using Python SDK
2+
title: Get NoSQL query performance and execution metrics in Azure Cosmos DB using Python SDK
33
description: Learn how to retrieve NoSQL query execution metrics and profile NoSQL query performance of Azure Cosmos DB requests.
44
author: abhinavtrips
55
ms.service: cosmos-db
66
ms.subservice: nosql
77
ms.topic: how-to
8-
ms.date: 1/5/2023
8+
ms.date: 05/15/2023
99
ms.author: abtripathi
1010
ms.custom: devx-track-python, devx-track-python-sdk
1111
---
@@ -28,7 +28,7 @@ results = container.query_items(
2828
```
2929

3030

31-
### Get Query Execution Metrics
31+
### Get query execution metrics
3232
In python SDK, you can read the ```x-ms-documentdb-query-metrics``` header values from the container client to get the query execution metrics. The following code snippet shows how to read the query execution metrics:
3333

3434
```python

0 commit comments

Comments
 (0)