feat: Added Traceloop SDK for collecting traces and metrics from Langflow by 2getsandesh · Pull Request #9317 · langflow-ai/langflow (original) (raw)
changed the title
Added Traceloop SDK for colecting traces and metrics from Langflow feat: Added Traceloop SDK for colecting traces and metrics from Langflow
[](/apps/coderabbitai)
…pTracer
- Remove incorrect asyncio.wait_for usage on synchronous method
- Store active spans in _span_map to properly end them in end_trace
- Prevent duplicate unrelated spans for same component
- Use trace.get_tracer_provider().force_flush() for correct flushing
- Add explicit close() method for manual flush at shutdown
- Enforce HTTPS in TRACELOOP_BASE_URL validation
- Improve reliability of cleanup in del
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})