Trace

A Trace represents the complete lifecycle of a workflow, spanning all components and systems involved.

Core Features:

  • End-to-End Visibility: Tracks model calls, tools across the entire workflow.

  • Multi Agent Ready: Perfect for workflows that involve multiple services, APIs, or tools.

  • Error Diagnosis: Quickly identify bottlenecks, failures, or inefficiencies in complex workflows.

Parent-Trace:

For workflows with nested operations (e.g., a workflow that triggers multiple sub-workflows), LangDB introduces the concept of a Parent-Trace, which links the parent workflow to its dependent sub-workflows. This hierarchical structure ensures you can analyze workflows at both macro and micro levels.

Headers for Trace:

  • trace-id: Tracks the parent workflow.

  • parent-trace-id: Links sub-workflows to the main workflow for hierarchical tracing.

Updated on