-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial changes for webExtension telemetry #218
initial changes for webExtension telemetry #218
Conversation
|
||
export function activate(context: vscode.ExtensionContext): void { | ||
console.log("Activated web extension!"); // sample code for testing the webExtension | ||
// setup telemetry | ||
_telemetry = new TelemetryReporter(context.extension.id, context.extension.packageJSON.version, AI_KEY); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the AI key for development instance since this extension is not (hopefully) public yet.
…oints to align with the new folder structure
_telemetry = new TelemetryReporter(context.extension.id, context.extension.packageJSON.version, AI_KEY); | ||
context.subscriptions.push(_telemetry); | ||
_telemetry.sendTelemetryEvent("Start"); | ||
_telemetry.sendTelemetryEvent("activated"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line should be the last line of the function. as it is in the other extensions.ts
Setting up telemetry for the Portal WebExtension.