Skip to content

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

chore: add orgid and projectid to ingestion event metric (#3654)

Max Deichmann0c2e6a5b5d48
diff --git a/web/src/pages/api/public/ingestion.ts b/web/src/pages/api/public/ingestion.ts
index 7c60557bcf..7d5adb22f7 100644
--- a/web/src/pages/api/public/ingestion.ts
+++ b/web/src/pages/api/public/ingestion.ts
@@ -123,6 +123,10 @@ export default async function handler(
recordIncrement(
"langfuse.ingestion.event",
parsedSchema.success ? parsedSchema.data.batch.length : 0,
+ {
+ orgId: authCheck.scope.orgId,
+ projectId: authCheck.scope.projectId,
+ },
);
// add context of api call to the span