feat(Merge Node): Add Telemetry for SQL query (no-changelog) (#13860)

This commit is contained in:
Dana
2025-03-17 15:07:26 +01:00
committed by GitHub
parent 3d872287fb
commit a031048b7f
2 changed files with 126 additions and 0 deletions

View File

@@ -250,6 +250,10 @@ export function generateNodesGraph(
nodeItem.agent = (node.parameters.agent as string) ?? 'conversationalAgent';
} else if (node.type === MERGE_NODE_TYPE) {
nodeItem.operation = node.parameters.mode as string;
if (options?.isCloudDeployment && node.parameters.mode === 'combineBySql') {
nodeItem.sql = node.parameters.query as string;
}
} else if (node.type === HTTP_REQUEST_NODE_TYPE && node.typeVersion === 1) {
try {
nodeItem.domain = new URL(node.parameters.url as string).hostname;