fix: Stop telemetry events to Posthog (#16788)

This commit is contained in:
Ricardo Espinoza
2025-06-30 09:08:47 -04:00
committed by GitHub
parent 913334005f
commit d76f05ba3d
30 changed files with 247 additions and 461 deletions

View File

@@ -59,13 +59,9 @@ export async function executionFinished(
const easyAiWorkflowJson = getEasyAiWorkflowJson();
const isEasyAIWorkflow = workflow.meta.templateId === easyAiWorkflowJson.meta.templateId;
if (isEasyAIWorkflow) {
telemetry.track(
'User executed test AI workflow',
{
status: data.status,
},
{ withPostHog: true },
);
telemetry.track('User executed test AI workflow', {
status: data.status,
});
}
}
@@ -313,9 +309,7 @@ export function handleExecutionFinishedWithErrorOrCanceled(
}
}
telemetry.track('Instance FE emitted paired item error', eventData, {
withPostHog: true,
});
telemetry.track('Instance FE emitted paired item error', eventData);
});
}