Skip to content

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

chore: extend invalid observation logging errors (#11200)

Steffen Schmitz0330e56abba0
diff --git a/worker/src/queues/otelIngestionQueue.ts b/worker/src/queues/otelIngestionQueue.ts
index 09899c3cff..0842a25b8a 100644
--- a/worker/src/queues/otelIngestionQueue.ts
+++ b/worker/src/queues/otelIngestionQueue.ts
@@ -170,7 +170,10 @@ export const otelIngestionQueueProcessor: Processor = async (
.map((o) => ingestionSchema.safeParse(o))
.flatMap((o) => {
if (!o.success) {
- logger.warn(`Failed to parse otel observation: ${o.error}`, o.error);
+ logger.warn(
+ `Failed to parse otel observation for project ${projectId} in ${fileKey}: ${o.error}`,
+ o.error,
+ );
return [];
}
return [o.data];