Skip to content

Commit 50782b3

Browse files
Merge pull request #253550 from StefArroyo/patch-20
Update diagnostic-queries.md
2 parents db57937 + 4bc4a4e commit 50782b3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

articles/cosmos-db/gremlin/diagnostic-queries.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
2929
#### [Resource-specific](#tab/resource-specific)
3030

3131
```Kusto
32-
let topRequestsByRUcharge = CDBDataPlaneRequests
33-
| where TimeGenerated > ago(24h)
34-
| project RequestCharge , TimeGenerated, ActivityId;
3532
CDBGremlinRequests
3633
| project PIICommandText, ActivityId, DatabaseName , CollectionName
3734
| join kind=inner topRequestsByRUcharge on ActivityId
@@ -43,9 +40,6 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
4340
#### [Azure Diagnostics](#tab/azure-diagnostics)
4441

4542
```Kusto
46-
let topRequestsByRUcharge = AzureDiagnostics
47-
| where Category == "DataPlaneRequests" and TimeGenerated > ago(1h)
48-
| project requestCharge_s , TimeGenerated, activityId_g;
4943
AzureDiagnostics
5044
| where Category == "GremlinRequests"
5145
| project piiCommandText_s, activityId_g, databasename_s , collectionname_s
@@ -62,9 +56,6 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
6256
#### [Resource-specific](#tab/resource-specific)
6357

6458
```Kusto
65-
let throttledRequests = CDBDataPlaneRequests
66-
| where StatusCode == "429"
67-
| project OperationName , TimeGenerated, ActivityId;
6859
CDBGremlinRequests
6960
| project PIICommandText, ActivityId, DatabaseName , CollectionName
7061
| join kind=inner throttledRequests on ActivityId
@@ -74,10 +65,6 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
7465
#### [Azure Diagnostics](#tab/azure-diagnostics)
7566

7667
```Kusto
77-
let throttledRequests = AzureDiagnostics
78-
| where Category == "DataPlaneRequests"
79-
| where statusCode_s == "429"
80-
| project OperationName , TimeGenerated, activityId_g;
8168
AzureDiagnostics
8269
| where Category == "GremlinRequests"
8370
| project piiCommandText_s, activityId_g, databasename_s , collectionname_s
@@ -92,8 +79,6 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
9279
#### [Resource-specific](#tab/resource-specific)
9380

9481
```Kusto
95-
let operationsbyUserAgent = CDBDataPlaneRequests
96-
| project OperationName, DurationMs, RequestCharge, ResponseLength, ActivityId;
9782
CDBGremlinRequests
9883
//specify collection and database
9984
//| where DatabaseName == "DB NAME" and CollectionName == "COLLECTIONNAME"
@@ -105,9 +90,6 @@ Common queries are shown in the resource-specific and Azure Diagnostics tables.
10590
#### [Azure Diagnostics](#tab/azure-diagnostics)
10691

10792
```Kusto
108-
let operationsbyUserAgent = AzureDiagnostics
109-
| where Category=="DataPlaneRequests"
110-
| project OperationName, duration_s, requestCharge_s, responseLength_s, activityId_g;
11193
AzureDiagnostics
11294
| where Category == "GremlinRequests"
11395
//| where databasename_s == "DB NAME" and collectioname_s == "COLLECTIONNAME"

0 commit comments

Comments
 (0)