mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
BugFix/Spelling correction in telemetry payload (#2001)
spelling correction
This commit is contained in:
@@ -436,7 +436,7 @@ export class App {
|
|||||||
|
|
||||||
await this.telemetry.sendTelemetry('chatflow_created', {
|
await this.telemetry.sendTelemetry('chatflow_created', {
|
||||||
version: await getAppVersion(),
|
version: await getAppVersion(),
|
||||||
chatlowId: results.id,
|
chatflowId: results.id,
|
||||||
flowGraph: getTelemetryFlowObj(JSON.parse(results.flowData)?.nodes, JSON.parse(results.flowData)?.edges)
|
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', {
|
await this.telemetry.sendTelemetry('vector_upserted', {
|
||||||
version: await getAppVersion(),
|
version: await getAppVersion(),
|
||||||
chatlowId: chatflowid,
|
chatflowId: chatflowid,
|
||||||
type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL,
|
type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL,
|
||||||
flowGraph: getTelemetryFlowObj(nodes, edges),
|
flowGraph: getTelemetryFlowObj(nodes, edges),
|
||||||
stopNodeId
|
stopNodeId
|
||||||
@@ -2360,7 +2360,7 @@ export class App {
|
|||||||
logger.debug(`[server]: Finished running ${nodeToExecuteData.label} (${nodeToExecuteData.id})`)
|
logger.debug(`[server]: Finished running ${nodeToExecuteData.label} (${nodeToExecuteData.id})`)
|
||||||
await this.telemetry.sendTelemetry('prediction_sent', {
|
await this.telemetry.sendTelemetry('prediction_sent', {
|
||||||
version: await getAppVersion(),
|
version: await getAppVersion(),
|
||||||
chatlowId: chatflowid,
|
chatflowId: chatflowid,
|
||||||
chatId,
|
chatId,
|
||||||
type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL,
|
type: isInternal ? chatType.INTERNAL : chatType.EXTERNAL,
|
||||||
flowGraph: getTelemetryFlowObj(nodes, edges)
|
flowGraph: getTelemetryFlowObj(nodes, edges)
|
||||||
|
|||||||
Reference in New Issue
Block a user