Skip to content

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

fix(public-api): add trace_id to observations query filter (#11867)

Steffen Schmitz3d3bbf770333
diff --git a/package.json b/package.json
index 94ac05026f..a3fd83764a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "langfuse",
- "version": "3.150.0",
+ "version": "3.150.1-0",
"author": "[email protected]",
"license": "MIT",
"private": true,
diff --git a/web/package.json b/web/package.json
index 552ece3165..dc160a84a8 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,6 +1,6 @@
{
"name": "web",
- "version": "3.150.0",
+ "version": "3.150.1-0",
"private": true,
"license": "MIT",
"engines": {
diff --git a/web/src/constants/VERSION.ts b/web/src/constants/VERSION.ts
index f153504c8f..2cc76d5d26 100644
--- a/web/src/constants/VERSION.ts
+++ b/web/src/constants/VERSION.ts
@@ -1 +1 @@
-export const VERSION = "v3.150.0";
+export const VERSION = "v3.150.1-0";
diff --git a/web/src/features/public-api/server/observations.ts b/web/src/features/public-api/server/observations.ts
index 67339670a8..2df246087c 100644
--- a/web/src/features/public-api/server/observations.ts
+++ b/web/src/features/public-api/server/observations.ts
@@ -40,6 +40,7 @@ export const generateObservationsForPublicApi = async (props: QueryType) => {
with clickhouse_keys as (
SELECT DISTINCT
id,
+ trace_id,
project_id,
type,
toDate(start_time)
@@ -84,7 +85,7 @@ export const generateObservationsForPublicApi = async (props: QueryType) => {
event_ts
FROM observations o ${disableObservationsFinal ? "" : "FINAL"}
WHERE o.project_id = {projectId: String}
- AND (id, project_id, type, toDate(start_time)) in (select * from clickhouse_keys)
+ AND (id, trace_id, project_id, type, toDate(start_time)) in (select * from clickhouse_keys)
ORDER BY start_time DESC
`;
diff --git a/worker/package.json b/worker/package.json
index ae1a7436c8..06a23ce1bf 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -1,6 +1,6 @@
{
"name": "worker",
- "version": "3.150.0",
+ "version": "3.150.1-0",
"description": "",
"license": "MIT",
"private": true,
diff --git a/worker/src/constants/VERSION.ts b/worker/src/constants/VERSION.ts
index f153504c8f..2cc76d5d26 100644
--- a/worker/src/constants/VERSION.ts
+++ b/worker/src/constants/VERSION.ts
@@ -1 +1 @@
-export const VERSION = "v3.150.0";
+export const VERSION = "v3.150.1-0";