mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add telemetry for Python on Jupyter server startup (#19970)
* add telemetry for python on jupyter server startup * remove extra lines
This commit is contained in:
@@ -20,7 +20,7 @@ import { IconPathHelper } from './common/iconHelper';
|
||||
import { ExtensionContextHelper } from './common/extensionContextHelper';
|
||||
import { BookTreeItem } from './book/bookTreeItem';
|
||||
import Logger from './common/logger';
|
||||
import { TelemetryReporter, BookTelemetryView, NbTelemetryActions } from './telemetry';
|
||||
import { sendNotebookActionEvent, NbTelemetryView, NbTelemetryAction } from './telemetry';
|
||||
|
||||
const localize = nls.loadMessageBundle();
|
||||
|
||||
@@ -81,7 +81,7 @@ export async function activate(extensionContext: vscode.ExtensionContext): Promi
|
||||
|
||||
extensionContext.subscriptions.push(vscode.commands.registerCommand('notebook.command.openRemoteBook', async () => {
|
||||
let dialog = new RemoteBookDialog(remoteBookController);
|
||||
TelemetryReporter.sendActionEvent(BookTelemetryView, NbTelemetryActions.AddRemoteBook);
|
||||
sendNotebookActionEvent(NbTelemetryView.Book, NbTelemetryAction.AddRemoteBook);
|
||||
return dialog.createDialog();
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user