refactor: stop sending missing node data to Mixpanel

Missing node telemetry now goes to ClickHouse only. Strip
missing_node_count and missing_node_types from the Mixpanel
workflow_imported/workflow_opened events.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Deep Mehta
2026-03-16 21:07:27 -07:00
parent c99a13122f
commit 9a032e6261

View File

@@ -359,12 +359,14 @@ export class MixpanelTelemetryProvider implements TelemetryProvider {
}
trackWorkflowImported(metadata: WorkflowImportMetadata): void {
this.trackEvent(TelemetryEvents.WORKFLOW_IMPORTED, metadata)
const { missing_node_count, missing_node_types, ...rest } = metadata
this.trackEvent(TelemetryEvents.WORKFLOW_IMPORTED, rest)
this.reportMissingNodesToClickHouse(metadata)
}
trackWorkflowOpened(metadata: WorkflowImportMetadata): void {
this.trackEvent(TelemetryEvents.WORKFLOW_OPENED, metadata)
const { missing_node_count, missing_node_types, ...rest } = metadata
this.trackEvent(TelemetryEvents.WORKFLOW_OPENED, rest)
this.reportMissingNodesToClickHouse(metadata)
}