feat: complete Langfuse integration with propagate_attributes for user_id tracking
- Removed OpenTelemetry (TracerProvider, OTLPSpanExporter, LoggingInstrumentor, FastAPIInstrumentor) - Implemented Langfuse v3.11.0 with CallbackHandler for LLM tracing - Added langfuse_trace_context() with propagate_attributes() for proper user_id filtering - Fixed user_id to appear in Langfuse User ID filter (not just metadata) - Added session_id and tags propagation for trace organization - Updated controller.py to wrap graph execution in langfuse_trace_context - Verified traces send to self-hosted Langfuse at http://172.16.2.207:3009 - Configuration: LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASE_URL in .env GIAI_DOAN_1 COMPLETE: LLM observability via Langfuse SDK Next: GIAI_DOAN_2 - Container monitoring stack (cAdvisor + Prometheus + Grafana)
Showing
Dockerfile.k6
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
backend/common/jeager_log.py
0 → 100644
backend/logs/db_preview.txt
0 → 100644
This diff is collapsed.
This diff is collapsed.
backend/plan.md
0 → 100644
This diff is collapsed.
docker-compose.n8n.yml
0 → 100644
Please register or sign in to comment