Add tracing events for tracking query execution and upload documents (#2100)

* Add tracing for Execute (submit) query and Upload documents

* Trace query closer to iterator operation

* Add warnings to values used in Fabric

* Fix format

* Don't trace execute queries for filtering calls

* Remove tracing call for documents tab filtering

* Fix failing unit test.

---------

Co-authored-by: Jade Welton <jawelton@microsoft.com>
Co-authored-by: Sevo Kukol <sevoku@microsoft.com>
This commit is contained in:
Laurent Nguyen
2025-04-16 19:31:43 +02:00
committed by GitHub
parent d5fe2d9e9f
commit 27c9ea7ab6
3 changed files with 27 additions and 7 deletions

View File

@@ -1,17 +1,18 @@
// Data Explorer specific actions. No need to keep this in sync with the one in Portal.
// Some of the enums names are used in Fabric. Please do not rename them.
export enum Action {
CollapseTreeNode,
CreateCollection,
CreateCollection, // Used in Fabric. Please do not rename.
CreateGlobalSecondaryIndex,
CreateDocument,
CreateDocument, // Used in Fabric. Please do not rename.
CreateStoredProcedure,
CreateTrigger,
CreateUDF,
DeleteCollection,
DeleteCollection, // Used in Fabric. Please do not rename.
DeleteDatabase,
DeleteDocument,
ExpandTreeNode,
ExecuteQuery,
ExecuteQuery, // Used in Fabric. Please do not rename.
HasFeature,
GetVNETServices,
InitializeAccountLocationFromResourceGroup,
@@ -144,6 +145,7 @@ export enum Action {
ReadPersistedTabState,
SavePersistedTabState,
DeletePersistedTabState,
UploadDocuments, // Used in Fabric. Please do not rename.
}
export const ActionModifiers = {