Skip to content

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

chore: reduce startTime missing logs to create events (#4044)

Steffen Schmitz55c626d62749
diff --git a/worker/src/services/IngestionService/index.ts b/worker/src/services/IngestionService/index.ts
index 965c52d9a3..b291103436 100644
--- a/worker/src/services/IngestionService/index.ts
+++ b/worker/src/services/IngestionService/index.ts
@@ -820,7 +820,7 @@ export class IngestionService {
if (totalCost != null) provided_cost_details.total = totalCost;
}
- if (!obs.body?.startTime) {
+ if (obs.type?.endsWith("-create") && !obs.body?.startTime) {
logger.warn(
`Observation ${entityId} in project ${projectId} does not have a startTime, using event time`,
);