Skip to content

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

logging

Max Deichmann7f228ded783a
diff --git a/src/pages/api/public/spans.ts b/src/pages/api/public/spans.ts
index 15f97a106e..7813158d63 100644
--- a/src/pages/api/public/spans.ts
+++ b/src/pages/api/public/spans.ts
@@ -55,6 +55,7 @@ export default async function handler(
if (req.method === "POST") {
try {
+ console.log("Trying to generate span: ", req.body);
const obj = SpanPostSchema.parse(req.body);
const {
id,
@@ -144,6 +145,7 @@ export default async function handler(
}
} else if (req.method === "PATCH") {
try {
+ console.log("Trying to update span: ", req.body);
const { spanId, endTime, ...fields } = SpanPatchSchema.parse(req.body);
// CHECK ACCESS SCOPE