🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: disable write of eventRaw column in new events table (#9595)
Steffen Schmitz1d7c0ae9ab24
diff --git a/packages/shared/src/server/otel/OtelIngestionProcessor.ts b/packages/shared/src/server/otel/OtelIngestionProcessor.tsindex 9a96aa8cbc..7a21111805 100644--- a/packages/shared/src/server/otel/OtelIngestionProcessor.ts+++ b/packages/shared/src/server/otel/OtelIngestionProcessor.ts@@ -247,6 +247,8 @@ export class OtelIngestionProcessor {const scopeName = scopeSpan?.scope?.name;const scopeVersion = scopeSpan?.scope?.version;+ const stringifiedSpan = JSON.stringify(span);+events.push({projectId: this.projectId,traceId,@@ -336,8 +338,8 @@ export class OtelIngestionProcessor {telemetrySdkVersion,// Source data- eventRaw: JSON.stringify(span),- eventBytes: Buffer.byteLength(JSON.stringify(span), "utf8"),+ // eventRaw: stringifiedSpan,+ eventBytes: Buffer.byteLength(stringifiedSpan, "utf8"),});}}diff --git a/worker/src/services/IngestionService/index.ts b/worker/src/services/IngestionService/index.tsindex deda690465..35c55bd327 100644--- a/worker/src/services/IngestionService/index.ts+++ b/worker/src/services/IngestionService/index.ts@@ -353,7 +353,7 @@ export class IngestionService {// Storageblob_storage_file_path: fileKey,- event_raw: eventData.eventRaw ?? "",+ // event_raw: eventData.eventRaw ?? "",event_bytes: eventData.eventBytes ?? 0,// System timestamps