From cb1b76dd5b258b13623988b20cce2cfac40f49f7 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Thu, 10 Apr 2025 16:55:29 +0200 Subject: [PATCH] Don't trace execute queries for filtering calls --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 5661024a7..f676aa983 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -496,10 +496,7 @@ const _loadNextPageInternal = ( iterator: QueryIterator, ): Promise => { TelemetryProcessor.traceStart(Action.ExecuteQuery); - return iterator.fetchNext().then((response) => { - TelemetryProcessor.traceSuccess(Action.ExecuteQuery, { dataExplorerArea: Constants.Areas.Tab }); - return response.resources; - }); + return iterator.fetchNext().then((response) => response.resources); }; // Export to expose to unit tests