Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: add log comments ch write (#8758)

Max Deichmann21a16963e2cd
diff --git a/worker/src/services/ClickhouseWriter/index.ts b/worker/src/services/ClickhouseWriter/index.ts
index 69621e13e2..d352343b05 100644
--- a/worker/src/services/ClickhouseWriter/index.ts
+++ b/worker/src/services/ClickhouseWriter/index.ts
@@ -463,7 +463,12 @@ export class ClickhouseWriter {
format: "JSONEachRow",
values: params.records,
clickhouse_settings: {
- log_comment: JSON.stringify({ feature: "ingestion" }),
+ log_comment: JSON.stringify({
+ feature: "ingestion",
+ type: params.table,
+ operation_name: "writeToClickhouse",
+ projectId: params.records[0].project_id,
+ }),
},
})
.catch((err) => {