mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user