You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Langfuse tracing across RAG ingestion pipeline with datapack-scoped project resolution
Instrument the RAG agent pipeline end-to-end with Langfuse spans/observations so ingestion,
chunking, embedding generation, vector writes, and pipeline state updates are traceable in a
single observability flow. This adds method-level @observe coverage to core pipeline layers
(, , , , ,
, , and active pipeline tracking DB methods), and introduces a
wrapped SQL executor in to capture query metadata and row counts for
database operations.
In , add datapack-aware Langfuse key resolution from document URI and
, then bind the active public key context so nested
observations are routed to the correct Langfuse project. Also wrap top-level task processing in
an observation span and ensure structured success/error output is emitted to tracing. Improve
failure handling by updating document status to FAILED only when is available.
Update dependencies by adding to support the new tracing instrumentation.
0 commit comments