diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts index 85e80a3d..0e32fa62 100644 --- a/packages/server/src/index.ts +++ b/packages/server/src/index.ts @@ -436,7 +436,7 @@ export class App { await this.telemetry.sendTelemetry('chatflow_created', { version: await getAppVersion(), - chatlowId: results.id, + chatflowId: results.id, flowGraph: getTelemetryFlowObj(JSON.parse(results.flowData)?.nodes, JSON.parse(results.flowData)?.edges) }) @@ -2004,7 +2004,7 @@ export class App { await this.telemetry.sendTelemetry('vector_upserted', { version: await getAppVersion(), - chatlowId: chatflowid, + chatflowId: chatflowid, type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL, flowGraph: getTelemetryFlowObj(nodes, edges), stopNodeId @@ -2360,7 +2360,7 @@ export class App { logger.debug(`[server]: Finished running ${nodeToExecuteData.label} (${nodeToExecuteData.id})`) await this.telemetry.sendTelemetry('prediction_sent', { version: await getAppVersion(), - chatlowId: chatflowid, + chatflowId: chatflowid, chatId, type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL, flowGraph: getTelemetryFlowObj(nodes, edges)