🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
refactor: revert sending trace events from web via redis (#2744)
Max Deichmanna78bf26bd43e
diff --git a/web/src/pages/api/public/ingestion.ts b/web/src/pages/api/public/ingestion.tsindex 497c4d7c68..7a40b1d86b 100644--- a/web/src/pages/api/public/ingestion.ts+++ b/web/src/pages/api/public/ingestion.ts@@ -40,10 +40,6 @@ import {ForbiddenError,UnauthorizedError,} from "@langfuse/shared";-import {- convertTraceUpsertEventsToRedisEvents,- traceUpsertQueue,-} from "@langfuse/shared/src/server";import { isSigtermReceived } from "@/src/utils/shutdown";@@ -528,20 +524,6 @@ export const sendToWorkerIfEnvironmentConfigured = async (try {if (- (env.REDIS_CONNECTION_STRING || env.REDIS_HOST) &&- env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION- ) {- console.log("Sending events to worker via redis", traceEvents);- const jobs = convertTraceUpsertEventsToRedisEvents(traceEvents);- await traceUpsertQueue?.addBulk(jobs);-- if (traceUpsertQueue) {- console.log(- `Added ${jobs.length} trace upsert jobs to the queue`,- jobs,- );- }- } else if (env.LANGFUSE_WORKER_HOST &&env.LANGFUSE_WORKER_PASSWORD &&env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION