Skip to content

Commit 51b4616

Browse files
committed
feat: add telemetry to Maestro, extension activation (#1807)
Adds telemetry events: - on extension activation, with the editor type (vscode vs cursor vs windsurf) - on maestro tests starting/completing/failing, with the device family (iPhone/iPad simulator, physical/emulated Android) What? Internal
1 parent 4d9186f commit 51b4616

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/vscode-extension/src/extension.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import { DeviceRotationDirection, IDEPanelMoveTarget } from "./common/Project";
3939
import { AdminRestrictedFunctionalityError, PaywalledFunctionalityError } from "./common/Errors";
4040
import { registerRadonAI } from "./ai/mcp/RadonMcpController";
4141
import { removeLicense } from "./utilities/license";
42+
import { getTelemetryReporter } from "./utilities/telemetry";
43+
import { getEditorType } from "./utilities/editorType";
4244

4345
const CHAT_ONBOARDING_COMPLETED = "chat_onboarding_completed";
4446

@@ -99,6 +101,8 @@ export async function activate(context: ExtensionContext) {
99101
// after improper deactivation of the extension.
100102
commands.executeCommand("setContext", "RNIDE.panelIsOpen", false);
101103

104+
getTelemetryReporter().sendTelemetryEvent(`extension:activated:${getEditorType()}`);
105+
102106
context.subscriptions.push(
103107
window.registerWebviewPanelSerializer(TabPanel.viewType, new TabPanelSerializer())
104108
);

0 commit comments

Comments
 (0)