mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Filtering out some more high-frequency events (#6178)
This commit is contained in:
@@ -24,7 +24,7 @@ export class SqlTelemetryContribution extends Disposable implements IWorkbenchCo
|
|||||||
commandService.onWillExecuteCommand(
|
commandService.onWillExecuteCommand(
|
||||||
(e: ICommandEvent) => {
|
(e: ICommandEvent) => {
|
||||||
// Filter out high-frequency events
|
// Filter out high-frequency events
|
||||||
if (!['type'].find(id => id === e.commandId)) {
|
if (!['type', 'cursorUp', 'cursorDown', 'cursorRight', 'cursorLeft', 'deleteLeft', 'deleteRight'].find(id => id === e.commandId)) {
|
||||||
telemetryService.publicLog('adsCommandExecuted', { id: e.commandId });
|
telemetryService.publicLog('adsCommandExecuted', { id: e.commandId });
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user